Skip to content

Commit

Permalink
docs(material/select): update accessibility information on roles (ang…
Browse files Browse the repository at this point in the history
  • Loading branch information
macjohnny authored Dec 17, 2020
1 parent d2aa751 commit 98f6fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/select/select.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ globally cause input errors to show when the input is dirty and invalid.
The `<mat-select>` component without text or label should be given a meaningful label via
`aria-label` or `aria-labelledby`.

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

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

Expand Down

0 comments on commit 98f6fd9

Please sign in to comment.