Skip to content

A11y: accessible names for the icon-only mode switcher #67

Description

@Eiluviann

From the independent review of PR #54. The Select/Insert/Pan segmented control is now icon-only (src/views/EditorView.tsx), with aria-label on an inner <span class="seg-icon"> and the mode name + shortcut in a Tooltip.

Accessible-name computation likely picks up the descendant aria-label for each radio, but it's not guaranteed across screen readers, and tooltips are not an accessible-name substitute.

Acceptance

  • Each mode option exposes a reliable accessible name ("Select"/"Insert"/"Pan"), e.g. a visually-hidden text label inside the option or a per-option aria-label on the control itself.
  • Verify with an accessibility tree snapshot (the radios announce their names).

Severity: minor a11y polish; ties into the WCAG-AA bar in docs/BRAND.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions