From b0bdefa34b85363e742ff04e319c014fe95f31f7 Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Fri, 20 Jan 2023 11:11:59 +0100 Subject: [PATCH] fix(scrollable-region-focusable): skip native controls (#3862) --- 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

+ + + +