Skip to content

Commit

Permalink
fix(scrollable-region-focusable): skip native controls (#3862)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers authored and straker committed Jan 23, 2023
1 parent eadaaa5 commit aaf44e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/rules/scrollable-region-focusable.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"id": "scrollable-region-focusable",
"selector": "*:not(select,textarea)",
"matches": "scrollable-region-focusable-matches",
"tags": ["cat.keyboard", "wcag2a", "wcag211"],
"actIds": ["0ssw9k"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,15 @@
<p>Content</p>
</div>
</div>

<select size="2" id="inapplicable11">
<option value="First">First</option>
<option value="Second">Second</option>
<option value="Third">Third</option>
</select>

<textarea rows="2" cols="20" id="inapplicable12">
test
test
test
</textarea>

0 comments on commit aaf44e9

Please sign in to comment.