[multi-device-docs] Documentation device compatibility requires attention
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 75/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript, playwright
调研方向
阅读文档的 Playwright 套件,并检查 Starlight 标题锚点 a.sl-anchor-link::after。报告指出,它是 Chrome 中宽度为 360px 时出现 4px 水平溢出的原因。先在 Chrome 中以 360px 宽度复现问题;报告建议添加这项回归检查。完成标准是页面在该宽度下不再横向滚动,且回归检查通过。
由索引模型根据 Issue 内容生成。
描述
Test Summary
- Triggered by:
@pelikhan - Workflow run: 46295504870
- Devices tested: 10 viewports across mobile (iPhone 12, iPhone 12 Pro Max, Pixel 5, Galaxy S21), tablet (iPad, iPad Pro 11, iPad Pro 12.9), and desktop (HD, FHD, 4K)
- Browser engines tested: 2 (Chrome and WebKit; WebKit is a Safari compatibility signal, not physical iOS evidence)
- Color schemes tested: 2 (light and dark)
- Matrix: 40 browser, color-scheme, and device combinations
- Test date: 2026-11-29
Results Overview
- Passed: 38
- Warnings: 2
- Critical: 0
Critical Issues
None found. No browser, color-scheme, or device combination blocked content or navigation.
Accessibility Findings
- Every viewport has one main region and one H1, with no heading-level skips on the home page.
- The first Tab press focuses the Skip to content link with a visible 3px outline in all 40 combinations.
- No unnamed links or buttons were found on the home page.
- The search dialog opens in all 40 combinations.
- The mobile Menu toggle opens and closes (aria-expanded false to true) at phone and tablet widths in both engines, and is absent at desktop widths.
- Contrast is only partially verified. Home-page text on 29 light and 44 dark elements passed WCAG AA, but 72 to 91 elements per run used colors the probe could not parse.
- Mermaid diagram text contrast on /intelligence/ is unverified because the probe found no text nodes. Diagram colors do switch with the color scheme.
Recommendations
- Keep the Starlight heading anchor hit area inside the viewport at 360px. For example, clip it with overflow hidden on the heading wrapper, or reduce the negative inset on narrow screens.
- Add a 360px Chrome regression check to the docs Playwright suite.
- Measure Mermaid text contrast with a selector that matches the rendered diagram text, and add it to the matrix.
View All Warnings
- Horizontal overflow at 360px (Galaxy S21, 360x800), Chrome, light and dark. Document scrollWidth is 364 against clientWidth 360, so the page scrolls sideways by 4px and the scroll position reaches 4px. Bisection shows the source is the Starlight heading anchor hit area
a.sl-anchor-link::after(inset -.25rem -.5rem) on the home-page h2 Start locally, without a cloud deployment. Hiding that pseudo-element returns scrollWidth to 360. WebKit reports 360 at the same width, so the overflow is Chrome-specific.
View Detailed Compatibility Matrix
| Engine | Scheme | Result | Notes |
|---|---|---|---|
| Chrome | light | 9 pass, 1 warning | Galaxy S21 (360x800) scrolls sideways by 4px |
| Chrome | dark | 9 pass, 1 warning | Galaxy S21 (360x800) scrolls sideways by 4px |
| WebKit | light | 10 pass | No overflow at any width |
| WebKit | dark | 10 pass | No overflow at any width |
Checks per combination on the home page: page title, one visible main region, horizontal overflow, theme-aware picture selection, heading structure, unnamed controls, broken images, focus visibility, search dialog, mobile menu, console errors, and same-origin navigation to /architecture-at-a-glance/. Mermaid diagram and logo checks ran on /intelligence/ in all 40 combinations. The clipped-text check ran for the light scheme in Chrome only.
Infrastructure notes (not documentation defects)
- GitHub-hosted image assets (github.com/user-attachments) fail with ERR_CERT_AUTHORITY_INVALID in the sandbox. Treated as infrastructure.
- upload_artifact rejected the screenshot directory as outside the allowed source roots, so the 81 captured full-page screenshots and Mermaid crops are not attached.
- The Playwright preflight logs for Chrome and WebKit were clean.
Generated by 📝 Multi-Device Docs Tester · copilot · routed: haiku55 xhigh · ~48 AIC · ⌖ ~1 AIC · ⊞ 5K · history
- expires on Dec 2, 2026, 6:52 PM UTC
- 主要语言
- JavaScript
- 星标
- 23
- 派生
- 8
- 平均合并
- 7 小时 2 分钟
- 30 天内合并 PR
- 416
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
githubnext/gh-cao 的其他 Issue
-
agentic-workflows self-care self-care:dashboard-debug-logging
难度 2/5 1-3 小时 新手友好度 88/100
githubnext/gh-cao#21781 ·
维护者通常 1 天内回复
-
agentic-workflows self-care self-care:dashboard-debug-logging
难度 2/5 1-3 小时 新手友好度 90/100
githubnext/gh-cao#21768 ·
维护者通常 1 天内回复
-
repo-assist repo-assist:maintenance
难度 1/5 1 小时以内 新手友好度 90/100
githubnext/gh-cao#21758 ·
维护者通常 1 天内回复
-
agentic-workflows pull-request-fallback self-care self-care:reactive-ui-expert
难度 2/5 1-3 小时 新手友好度 72/100
githubnext/gh-cao#21740 ·
维护者通常 1 天内回复
-
agentic-workflows pull-request-fallback self-care self-care:reactive-ui-expert
难度 2/5 1-3 小时 新手友好度 78/100
githubnext/gh-cao#21728 ·
维护者通常 1 天内回复
查看 githubnext/gh-cao 的全部 Issue
相似的 Issue
-
bug repro-ready
难度 1/5 1 小时以内 新手友好度 84/100
mksglu/context-mode#1435 · 1 条评论 ·
-
contribution Linux 主机 macOS 主机 Windows 主机
难度 2/5 1-3 小时 新手友好度 79/100
Lee-xeo/Claude-Cage#1383 ·
维护者通常 1 天内回复
-
Correct Ente entry可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
bitwarden/passkeys-index#168 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 72/100