Skip to content

Commit 9cd2f47

Browse files
macjohnnymmalerba
authored andcommitted
docs(material/select): update accessibility information on roles (#21372)
(cherry picked from commit 98f6fd9)
1 parent a18e1b5 commit 9cd2f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/select/select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ globally cause input errors to show when the input is dirty and invalid.
145145
The `<mat-select>` component without text or label should be given a meaningful label via
146146
`aria-label` or `aria-labelledby`.
147147

148-
The `<mat-select>` component has `role="listbox"` and options inside select have `role="option"`.
148+
The `<mat-select>` component has `role="combobox"`, the dropdown panel has `role="listbox"` and options inside select panel have `role="option"`.
149149

150150
The native `<select>` offers the best accessibility because it is supported directly by screen-readers.
151151

0 commit comments

Comments
 (0)