Skip to content

File Association dropdowns are unnamed for screen readers #591

Closed

Description

@nickhamze

The File Associations rows look labeled, but the actual dropdowns are unnamed in the accessibility tree. A screen-reader or voice-control user encounters eleven indistinguishable comboboxes and cannot tell whether a control changes Posts, Media, Users, Web links, or another file type.

How to reproduce

  1. Open Preferences → File Associations.
  2. Inspect the controls with a screen reader or browser accessibility tree.
  3. Move through the dropdowns.

What should happen

Each dropdown should expose a distinct name such as Default app for Posts.

What is happening

The tab sets aria-label on the <os-select> host. The component builds the real focusable <select> inside its shadow root from its label property, removes a host aria-label when that property is empty, and never forwards this caller’s value to the native control.

Where I would look

  • src/desktop-files/settings-tab.ts
  • src/ui/components/os-select/os-select.ts

PR #581 now includes the small follow-up that sends the label through the component's supported label property, so the real native select receives the name. This issue can close with that PR.

File Association rows have visible context but unnamed controls

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions