browser-validate-ui
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese

Browser Validate UI
浏览器UI验证
-
UI integrity checks for your PR pipeline.
-
Measures what the browser shows users, not just what the code says.
-
为你的PR流水线提供UI完整性检查。
-
检测浏览器实际展示给用户的内容,而非仅检查代码层面的信息。
Usage
使用方法
bash
npx llynt check <url>No install. No account. Returns structured findings with rule IDs, measurements, and thresholds your agent can read and fix.
Catch what code reviews miss
— before your users do.
bash
npx llynt check <url>无需安装,无需注册账号。返回包含规则ID、测量数据及阈值的结构化检测结果,供你的Agent读取并修复。
捕获代码评审遗漏的问题
—— 在用户发现之前。
Go deeper
深入了解
- These 7 checks are single-element spot checks.
- For 26 more free rules and access to PR gates and SARIF reports, sign up at llynt.dev
- 这7项检查为单元素定点检查。
- 如需额外26项免费规则,以及PR门禁和SARIF报告权限,请前往llynt.dev注册。
What it checks
检测范围
| Check | Rule ID | What it catches |
|---|---|---|
| Page rendered | | Blank pages, failed hydration, empty body |
| Contrast | | Text failing WCAG AA (4.5:1 normal, 3:1 large) |
| Hit targets | | Interactive elements smaller than 44x44px |
| Horizontal overflow | | Page scrolls sideways (common mobile regression) |
| Broken images | | Images that failed to load |
| Text overflow | | Text clipped by overflow:hidden containers |
| Element overlap | | Interactive elements occluding each other |
| 检查项 | 规则ID | 检测内容 |
|---|---|---|
| 页面渲染状态 | | 空白页面、 hydration失败、空body |
| 对比度 | | 不符合WCAG AA标准的文本(普通文本4.5:1,大文本3:1) |
| 点击目标 | | 小于44x44px的交互元素 |
| 水平溢出 | | 页面可横向滚动(常见移动端回归问题) |
| 损坏图片 | | 加载失败的图片 |
| 文本溢出 | | 被overflow:hidden容器截断的文本 |
| 元素重叠 | | 相互遮挡的交互元素 |