adobe / adobe/react-spectrum

LiveAnnouncer announces number of suggestions available before announcing ComboBox role

Open
#4,941 1 comment 0 reactions 0 assignees View on GitHub
accessibility enhancement
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### Discussed in https://github.com/adobe/react-spectrum/discussions/4909

Originally posted by **heisand** August 14, 2023
I have a little question about the LiveAnnouncer, here related to the comboBox. When I have an input field which triggers opening of the list box on focus, the announcer then reads "X suggestions found" before there is time to announce what kind of element we are in. (I my case I have a list which already has a set of options that show before I write anything in the input). In other words, it first reads how many suggestions we have, then that we are in a combobox with a list.

This sounds a little bit weird (and would in my mind make more sense the other way around). Have you made any thoughts on the level of this announcement, and perhaps setting it as `polite` instead of `assertive`? Or at least doing it somewhat configurable?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.