shuding/nextra

a11y keyboard navigation and screen reader improvements

Open

#3.721 geöffnet am 20. Nov. 2024

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (1.413 Forks)user submission
enhancementhelp wanted

Repository-Metriken

Stars
 (13.807 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 16h) (3 gemergte PRs in 30 T)

Beschreibung

Some accessibility fixes I'm planning on patching when I've got some time, jotting it down as a start...

  • Skip to content for keyboard navigation (something like GDS) WONT FIX : this is avaliable in v4
  • Missing aria-label
    • Search box input
    • Breadcrumb (follow NHS / APG) -- also change div to nav
  • SVGs add role="presentation" when pre-described by other content
    • Top nav grouped dropdown, chevron icon
    • Light/dark mode icon
    • Sidebar collapse icon (more investigation needed to see if this is actually required)
  • ARIA hidden element must not be focusable or contain focusable elements
    • "Scroll to top"

Contributor Guide