diff --git a/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md b/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md index 9626c5c43d..5c8fc3767b 100755 --- a/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md +++ b/_rules/sequentially-focusable-element-has-visible-focus-oj04fd.md @@ -132,6 +132,43 @@ 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 +180,117 @@ 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