-
Notifications
You must be signed in to change notification settings - Fork 776
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use virtualNode in title-only check
Closes #388
- Loading branch information
Marcy Sutton
committed
Jun 30, 2017
1 parent
dbbc544
commit 5fb06e3
Showing
2 changed files
with
10 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
var labelText = axe.commons.text.label(node); | ||
var labelText = axe.commons.text.label(virtualNode); | ||
return !labelText && !!(node.getAttribute('title') || node.getAttribute('aria-describedby')); |
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