Skip to content

Catalog accessibility gaps: unlabeled search, no aria-pressed/expanded, unannounced results, unguarded localStorage #116

Closed

Description

@TMHSDigital

Why it matters

Screen-reader and keyboard users get an incomplete experience on the main public page. Separately, unguarded localStorage access can throw in privacy modes and break the theme script.

Evidence

  • docs/index.html:258: the search input has a placeholder but no <label> or aria-label.
  • Filter buttons have no aria-pressed.
  • docs/index.html:223: .nav-toggle has no aria-expanded or aria-controls.
  • #searchMeta has no aria-live, so result count changes are not announced.
  • docs/index.html:21 and the getState helper call localStorage without try/catch. Access throws when storage is blocked, for example in Safari private mode with some settings or with sandboxed iframes.

Suggested approach

Add the ARIA attributes, set aria-live="polite" on the result meta, and wrap storage access in try/catch with an in-memory fallback. Then run Lighthouse or axe and attach the score.

Done when

axe reports no serious or critical issues on the catalog page, and the theme toggle works with storage blocked.

Activity

  1. added
    bug
    priority: low
    catalog-site
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcatalog-sitepriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions