Skip to content

Selectable cards are not announced with screen reader #6798

@nicolethoen

Description

@nicolethoen

Currently, there is nothing about selectable cards that indicates to screen readers that they are selectable or interactable.

Selectable cards likely need an aria role=option and need to be placed in a parent container with an aria role=listbox
If multiple cards are selectable, then the parents container with the listbox role should also have aria-multiselectable=true and aria-activedescendant set up to contain the id of the card which currently has focus.
The parent will also need an aria-label if the list of cards does not have a title, or can reference a visual title using aria-labelledby.

When a card is selected, the card should use the aria-selected=true

this fix needs to be applied to the card/Selectable and selected example, the card/Legacy selectable and selected example, the Card view demo, the Tabs/modal tabs demo, Primary-detail card view demo.

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions