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

Abierto Apto para principiantes
#21,897 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
75/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, playwright
Área
frontend, testing

Línea de trabajo

Lee la suite de Playwright de la documentación e inspecciona el ancla de encabezado de Starlight a.sl-anchor-link::after, que el informe identifica como la causa de un desbordamiento horizontal de 4px a 360px en Chrome. Empieza por reproducir el problema con una comprobación en Chrome a 360px; el informe recomienda añadir esta comprobación de regresión. Se considera terminado cuando la página ya no se desplaza lateralmente con ese ancho y la comprobación de regresión pasa.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
JavaScript
Estrellas
23
Forks
8
Merge medio
7 h 2 min
PR fusionados (30 d)
416

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de githubnext/gh-cao

Todos los issues de githubnext/gh-cao

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.