From 4be4a9444a8a5f88961455f3b59f4cd4a363124e Mon Sep 17 00:00:00 2001 From: Giacomo Petri Date: Thu, 30 Oct 2025 11:18:12 +0100 Subject: [PATCH 1/4] Update sequentially-focusable-element-has-visible-focus-oj04fd.md --- ...usable-element-has-visible-focus-oj04fd.md | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) diff --git a/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md b/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md index 9626c5c43d..937558fa08 100755 --- a/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md +++ b/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md @@ -132,6 +132,44 @@ Each of these three [focusable][] elements has a blue square in front of it when ``` +#### Passed Example 5 + +Each of these three [focusable][] elements uses a `::before` pseudo-element with a black arrow as its `content`, which appears in front of the element when it is [focused][]. The arrow's `hsl` value (`hsl(0, 0%, 0%)`) is different to the `hsl` value of the background (`hsl(0, 0%, 100%)`) over which the arrow appears. + + +```html + + +``` + ### Failed #### Failed Example 1 @@ -143,6 +181,113 @@ The [focusable][] element does not have any pixel changing color when it is [foc ACT rules ``` +#### Failed Example 2 + +The [focusable][] element does not have any pixel changing color when it is [focused][] because the focus indicator's color matches the background's color, making the outline imperceptible. + +```html + +ACT rules +``` + +#### Failed Example 3 + +The [focusable][] element does not have any pixel changing color when it is [focused][] because the focus indicator's is covered by another element. + +```html + + + +``` + +#### Failed Example 4 + +The [focusable][] element does not have any pixel changing color when it is [focused][] because the element size is equal to the [scrolling area][] of the [viewport][]. + +```html +
ACT rules
+``` + ### Inapplicable #### Inapplicable Example 1 From b9be9d6e97999c7bdee6720f3730051de36d2fea Mon Sep 17 00:00:00 2001 From: Giacomo Petri Date: Thu, 30 Oct 2025 11:26:37 +0100 Subject: [PATCH 2/4] Update sequentially-focusable-element-has-visible-focus-oj04fd.md --- .../sequentially-focusable-element-has-visible-focus-oj04fd.md | 1 - 1 file changed, 1 deletion(-) diff --git a/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md b/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md index 937558fa08..a4618b03b0 100755 --- a/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md +++ b/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md @@ -135,7 +135,6 @@ Each of these three [focusable][] elements has a blue square in front of it when #### Passed Example 5 Each of these three [focusable][] elements uses a `::before` pseudo-element with a black arrow as its `content`, which appears in front of the element when it is [focused][]. The arrow's `hsl` value (`hsl(0, 0%, 0%)`) is different to the `hsl` value of the background (`hsl(0, 0%, 100%)`) over which the arrow appears. - ```html -ACT rules +ACT rules ``` #### Failed Example 3 @@ -247,7 +247,7 @@ The [focusable][] element does not have any pixel changing color when it is [foc