You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
fix(autocomplete): improve implementation of aria-activedescendant
- allow screen readers to do more and us to do less
- remove extra calls to announce the item that is visually focused
- remove tests for these extra live announcements
- give every option an id for use with `aria-activedescendant`
- use the `selected` class for styling and finding the active option
- implement recommendations from a11y guides
- add the clear button to the tab order
- change input type to `text`
- always define a `name` attribute
- when the popup isn't expanded
- `aria-owns` and `aria-activedescendant` shouldn't be defined
- when the autocomplete is disabled
- `aria-autocomplete` and `aria-role` shouldn't be defined
- `aria-haspopup` should be false
- add md-autocomplete-suggestion class for styling instead of using `li`
- add `md-autoselect` to the dialog demo for help w/ manual testing
- remove overly verbose `aria-describedby` from basic demo
- mark `md-icons` in `md-item-templates` of autocomplete demos as hidden
- update demos to use `md-escape-options="clear"` for better a11y
- fix docs css to not interfere with autocomplete suggestion styling
Fixes#11742
0 commit comments