跳到正文
Skillpedia
网站与界面(前端)75k · #3093

zoom-reflow

它能做什么

这个技能检查页面内容在放大到 400% 时是否仍保持为单列且易于阅读。它面向希望布局无障碍的开发者和设计师。

适用场景

  • ✓页面在高缩放下需要左右滚动的时候。
  • ✓固定宽度的布局在浏览器缩放为 400% 时失效的时候。
  • ✓无障碍审查要求进行重排测试的时候。

技能链接

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/zoom-reflow/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/zoom-reflow/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我把网站放大到 400% 时,必须左右滚动才能读内容。请帮我修复布局吗?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会查找固定的像素宽度和僵硬的布局。然后它会改用相对单位和流式布局,使内容在窄屏幕上堆叠为单列。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Support content reflow at 400% zoom

Users with low vision zoom to 400% to read content—horizontal scrolling at that level makes it impossible to track lines of text and navigate effectively.

Quick Reference

  • Content must reflow to single column at 400% zoom (1280px width at 320px equivalent)
  • No horizontal scrolling required to read content
  • All functionality must remain accessible at high zoom levels
  • Use relative units and fluid layouts that adapt to viewport

Check

Zoom the browser to 400% and verify content reflows to a single column without horizontal scrolling, truncation, or overlapping elements. Test all interactive features remain functional at this zoom level.

Fix

Use responsive CSS with relative units (rem, em, %) instead of fixed pixels. Implement fluid layouts that adapt to viewport width. Test with CSS media queries to ensure layouts reflow gracefully.

Explain

Explain how users with low vision rely on browser zoom up to 400% to read content, and why horizontal scrolling creates significant barriers for users who can only see a small portion of the screen at once.

Code Review

Review the rendered markup and interactive states that affect Support content reflow at 400% zoom. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/zoom-reflow

常见问题

为什么 400% 缩放很重要?

低视力用户会放大到这个程度来阅读,而左右滚动会让文字行难以跟随。

放大后所有功能都应该正常工作吗?

应该。这个技能说,在高缩放级别下,所有功能都必须保持可访问。

这个技能建议使用哪些单位?

rem、em 和百分比等相对单位,而不是固定像素。

详情

作者的原始描述

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Support content reflow at 400% zoom. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#3093
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能