Skip to content

Commit 281d92f

Browse files
macjohnnywagnermaciel
authored andcommitted
docs(material/select): update accessibility information on roles (angular#21372)
1 parent 7e50b4b commit 281d92f

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)