Breadcrumb is cut off at narrow widths and high zoom

Aperta Adatta ai principianti
#280 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
82/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
css, html

Direzione di ricerca

Inizia dal markup del breadcrumb in scripts/build-html.js e dai relativi stili in html/styles/custom.css, poi riproduci il problema con un viewport di 320 pixel CSS. Modifica il layout dell’intestazione in modo che il breadcrumb completo rimanga visibile senza sovrapposizioni alle larghezze ridotte. Il lavoro è completato quando il link Home e il resto del breadcrumb sono visibili a 320 pixel CSS.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

accessibility

Found during the manual visual check of core tasks 1 to 4 on 29 October 2026, recorded in admin/ACCESSIBILITY_CORE_FLOWS.md.

Where: the header of every site page, for example Chapter 05. The breadcrumb is nav.breadcrumb in scripts/build-html.js, styled in html/styles/custom.css.

What: the breadcrumb ("Home > Working with Issues") shares one row with the Wiki link and the search box. It is set to white-space: nowrap; overflow: hidden; text-overflow: ellipsis, so as the window narrows it is squeezed rather than wrapped. Measured widths of the breadcrumb, which needs 172 CSS pixels:

  • 640 pixels wide (200% zoom on a 1280 pixel window): 328 pixels, shown in full.
  • 480 pixels: 168 pixels, just cut.
  • 400 pixels: 88 pixels.
  • 320 pixels (400% zoom): 8 pixels; only the "H" of "Home" shows, and the rest of the link is hidden behind the Wiki button.

At 320 CSS pixels this loses information, which WCAG 2.2 success criterion 1.4.10 Reflow does not allow. There is no horizontal page scroll, so the page-level reflow check in the 28 October agent run did not catch it.

Workaround: the same Home link is in the sidebar as "Workshop Home", and the page title and heading name the current page.

Severity: medium for people who use high zoom or a narrow window; nothing is blocked.

Done when: at a 320 CSS pixel wide window the whole breadcrumb is visible, for example by letting the header row wrap, or moving the breadcrumb onto its own line below a breakpoint, with the Home link fully visible and not overlapped.

Lingua principale
HTML
Stelle
18
Fork
10
Merge medio
1m
PR unite (30g)
17

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Community-Access/git-going-with-github

Tutte le issue di Community-Access/git-going-with-github

Issue simili

Altre issue su Accessibility

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.