Breadcrumb is cut off at narrow widths and high zoom

Đang mở Phù hợp với người mới
#280 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
82/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
css, html
Lĩnh vực
accessibility, frontend

Hướng nghiên cứu

Bắt đầu với phần đánh dấu breadcrumb trong scripts/build-html.js và các kiểu tương ứng trong html/styles/custom.css, sau đó tái hiện sự cố ở viewport rộng 320 pixel CSS. Điều chỉnh bố cục header để toàn bộ breadcrumb vẫn hiển thị mà không bị chồng lấp ở chiều rộng hẹp. Hoàn thành khi liên kết Home và phần còn lại của breadcrumb hiển thị ở 320 pixel CSS.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
HTML
Star
18
Fork
10
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Community-Access/git-going-with-github

Tất cả issue của Community-Access/git-going-with-github

Issue tương tự

Thêm issue về Accessibility

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.