Skip to content

Accessibility: Sort by select option names are not available to assistive technologies #741

Closed
@evelynhathaway

Description

@evelynhathaway

On the uwu branch (PR #497), the "Sort by" select field cannot be operated using a screen reader as the aria-labelledby overrides the accessible name of the option and the aria-describedby provides unrelated verbosity.

To replicate, use a screen reader (I used NVDA) and trigger the sort by select field. Once you pseudo focus the non-selected options, you'll hear the entire field accessible name ("Sort by: Relevance"), the state ("not selected"), then the description of seemingly unrelated control ("Content to display[,] All[,] All articles[,] Collections", commas added to show where these names are coming from in the DOM), and lastly its position in the option list (e.g. "2 of 3"). Nowhere does it say the option "Newest", and it's hard to process this level of verbosity.

Screenshot of the sort by select box opened and the option "Newest" focused but not selected, with the NVDA speech output described above

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinguwuUwU

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions