From ed2445c7bf72941907bb2bf279ff7f40e253d31c Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Thu, 19 Jan 2023 18:44:48 +0100 Subject: [PATCH] fix(scrollable-region-focusable): skip native controls --- lib/rules/scrollable-region-focusable.json | 1 + .../scrollable-region-focusable.html | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/lib/rules/scrollable-region-focusable.json b/lib/rules/scrollable-region-focusable.json index 5b8601298d..2394107759 100644 --- a/lib/rules/scrollable-region-focusable.json +++ b/lib/rules/scrollable-region-focusable.json @@ -1,5 +1,6 @@ { "id": "scrollable-region-focusable", + "selector": "*:not(select,textarea)", "matches": "scrollable-region-focusable-matches", "tags": ["cat.keyboard", "wcag2a", "wcag211"], "actIds": ["0ssw9k"], diff --git a/test/integration/rules/scrollable-region-focusable/scrollable-region-focusable.html b/test/integration/rules/scrollable-region-focusable/scrollable-region-focusable.html index d25dbf0648..750785c2be 100644 --- a/test/integration/rules/scrollable-region-focusable/scrollable-region-focusable.html +++ b/test/integration/rules/scrollable-region-focusable/scrollable-region-focusable.html @@ -132,3 +132,15 @@

Content

+ + + +