Skip to content

NcSelect: selected option not announced to screen readers #8322

@pringelmann

Description

@pringelmann

Bug description

When using NcSelect with a screen reader:

  • The currently selected option is not announced when the dropdown receives focus
  • When navigating options inside the open dropdown, the screen reader does not
    re-announce the context (e.g. which question/label this dropdown belongs to)
  • There is no indication of which option is currently selected when browsing
    the list

Steps to reproduce

  1. Render an NcSelect with a label and a pre-selected option
  2. Navigate to it using keyboard + screen reader (tested with Orca on Firefox)
  3. Focus the select -> the selected value is not announced
  4. Open the dropdown -> screen reader reads list items but gives no context and
    does not indicate the selected item

Expected behavior

  • On focus: the selected value should be announced alongside the label
  • In the open list: the currently selected option should be announced as selected

Additional info

Metadata

Metadata

Assignees

Labels

1. to developAccepted and waiting to be taken care ofaccessibilityMaking sure we design for the widest range of people possible, including those who have disabilitiesbugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions