-
Notifications
You must be signed in to change notification settings - Fork 903
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(list,menu): restrict type to only supported aria roles
## Why? Because currently `md-list` and `md-menu` can accept any aria role as a `type` property. However this can result in invalid roles being added, e.g. `progressbar` is allowed as a valid `type`. Instead this change scopes the `type` to the following: - `<md-list>` `type` can be any of: `'menu'|'menubar'|'listbox'|'list'|''`. - `<md-menu>` `type` can be any of: `'menu'|'menubar'|'listbox'|'list'`. PiperOrigin-RevId: 560180446
- Loading branch information
1 parent
13690a3
commit 32a8c44
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters