[multi-device-docs] Documentation device compatibility requires attention

オープン 初心者向け
#21,897 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, playwright
領域
frontend, testing

調査の方向性

docs の 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分
マージ済み PR(30日)
416

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

githubnext/gh-cao のほかの issue

githubnext/gh-cao の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。