-
Notifications
You must be signed in to change notification settings - Fork 784
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rule): add additional elements to check for incomplete with requ…
…ired children (#1547)
- Loading branch information
Showing
6 changed files
with
93 additions
and
17 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
19 changes: 15 additions & 4 deletions
19
test/integration/rules/aria-required-children/aria-required-children.html
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,10 +1,21 @@ | ||
<div role="list" id="pass1"><div role="listitem" id="pass2">Item 1</div></div> | ||
<div role="list" id="pass3" aria-owns="pass4"></div> | ||
<div role="listitem" id="pass4"></div> | ||
<div role="list" id="fail1"></div> | ||
<div role="list" id="fail2"><div role="menuitem" id="pass5"></div></div> | ||
<div role="list" id="fail3" aria-owns="pass6"></div> | ||
<div role="list" id="fail1"><div role="menuitem" id="pass5"></div></div> | ||
<div role="list" id="fail2" aria-owns="pass6"></div> | ||
<div role="menu" id="fail3"></div> | ||
<div role="menubar" id="fail4"></div> | ||
<div role="row" id="fail5"></div> | ||
<div role="menuitem" id="pass6"></div> | ||
<div role="list" id="pass7" aria-owns="parent"></div> | ||
<div id="parent"><div role="listitem" id="pass8"></div></div> | ||
<div role="listbox" id="incomplete1"></div> | ||
<div role="grid" id="incomplete1"></div> | ||
<div role="list" id="incomplete2"></div> | ||
<div role="listbox" id="incomplete3"></div> | ||
<div role="table" id="incomplete4"></div> | ||
<div role="tablist" id="incomplete5"></div> | ||
<div role="tree" id="incomplete6"></div> | ||
<div role="treegrid" id="incomplete7"></div> | ||
<div role="rowgroup" id="incomplete8"></div> | ||
<div role="doc-bibliography" id="incomplete9"></div> | ||
<div role="doc-endnotes" id="incomplete10"></div> |
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