ic-ui-kit icon indicating copy to clipboard operation
ic-ui-kit copied to clipboard

Screen reader incorrectly says you can type inside a select (single + multi)

Open GCHQ-Developer-847 opened this issue 2 months ago • 2 comments

Summary of the bug

Raised on behalf of a customer

When focusing on a select (single-select or multi), the screen reader says "Type text or, to display a list of choices, press Control-Option-Space". The "type text" bit is misleading because you can't actually type anything in it.

🪜 How to reproduce

  1. With a screen reader turned on, go to single- or multi-select component e.g. Storybook.
  2. Focus on the select.
  3. See / hear that it says you can type in it.

📸 Screenshots or code

Image

🖥 📱 Device

Tested using VoiceOver on Chrome

🧐 Expected behaviour

The screen reader should not say that you can type in it.

🚨 Urgency (low, medium or high)

This is medium urgency for the customer. This needs to be resolved by 10th February at the latest (alongside their other issue, #4078) but it should ideally be done well before then, particularly with it being accessibility-related.

GCHQ-Developer-847 avatar Nov 16 '25 16:11 GCHQ-Developer-847

I believe this is due to having role="combobox" on our select component.


It's true you cannot type into a single / multi-select in the same way you can with a searchable select. However, the select does still actually respond to typing characters, e.g. if you're focused on the select and type the letter C, it selects the first option beginning with a C (just like a native select).

Maybe a potential solution would be to keep role="combobox" and just make sure that screen reader actually announces that an option has been selected. (At the moment, if you select "Cappuccino" for example, by pressing "c", the screen reader doesn't say anything to indicate that "Cappuccino" is now selected).

Would this count as "typing text" like the screen reader says? This would be very similar to the behaviour of the WCAG combobox example.

GCHQ-Developer-847 avatar Nov 16 '25 16:11 GCHQ-Developer-847

This work might be affected by #666 and #3757 - as we hew closer to native combobox functionality

GCHQ-Developer-299 avatar Nov 19 '25 10:11 GCHQ-Developer-299