shuding/nextra

a11y keyboard navigation and screen reader improvements

Open

#3,721 opened on 2024年11月20日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)TypeScript (13,807 stars) (1,413 forks)user submission
enhancementhelp wanted

説明

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"

コントリビューターガイド