This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(aria): $mdAria should not use texts from aria-hidden nodes
* $mdAria is currently just using `textContent` for retrieving the `aria-label`. This is not valid, since some child-texts can be hidden in aria (`aria-hidden="true") * Using a TreeWalker is super elegant and performant. The current use of the TreeWalker is supported by all browser we support. Fixes #7376 Closes #7957
- Loading branch information
1 parent
1fc2939
commit b3cb84d
Showing
2 changed files
with
57 additions
and
6 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