Skip to content

Commit

Permalink
docs(material/list): update a11y documention on radio indicators
Browse files Browse the repository at this point in the history
Update the accessibility section on radio indicators for
single-selection. Add instructions to always communicate selection with
icon indicators. Fulfill documentation needs as follow-up for #25933 and
 #26283.
  • Loading branch information
zarend committed Jan 5, 2023
1 parent 8c71026 commit 088818a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/material/list/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ these options, including buttons and anchors.
Always provide an accessible label for the `<mat-selection-list>` element via `aria-label` or
`aria-labelledby` that describes the selection being made.

`MatSelectionList` visually communicates selected state with both change of color and icon
indicators. By default, single-selection displays radio icon indicators. Always shows icon
indicators for selection.

#### Custom scenarios

By default, the list assumes that it will be used in a purely decorative fashion and thus it sets no
Expand Down

0 comments on commit 088818a

Please sign in to comment.