-
Notifications
You must be signed in to change notification settings - Fork 788
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(aria-allowed-attr): report violation for non-global ARIA attrs o…
…n element without role (#3342) * feat(aria-allowed-attr): report violation for non-global ARIA attrs on element without role * Update lib/checks/aria/aria-allowed-attr.json Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com> * no role or focusable * ignore button/button_idl.html error * if * Update lib/checks/aria/aria-allowed-attr.json Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com> Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
- Loading branch information
1 parent
53a6684
commit fb5d990
Showing
9 changed files
with
96 additions
and
37 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ | |
["#fail27"], | ||
["#fail28"], | ||
["#fail29"], | ||
["#fail30"], | ||
["#fail31"], | ||
["#fail32"], | ||
["#fail33"], | ||
|
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,3 @@ | ||
<div id="incomplete0" aria-label="foo">Foo</div> | ||
<div id="incomplete1" aria-labelledby="missing">Foo</div> | ||
<my-custom-elm id="incomplete2" aria-expanded="true">Foo</my-custom-elm> |
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,5 +1,5 @@ | ||
{ | ||
"description": "aria-allowed-attr incomplete tests", | ||
"rule": "aria-allowed-attr", | ||
"incomplete": [["#incomplete0"], ["#incomplete1"]] | ||
"incomplete": [["#incomplete0"], ["#incomplete1"], ["#incomplete2"]] | ||
} |
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