You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated "Scrollable content can be reached with sequential focus navigation" [0ssw9k]: scrollable regions pass when there is an open modal (#2219)
* scrollable regions should pass when there is an open modal
- updated expectation to exclude inert elements from sequential focus
- added passing example
* Update _rules/scrollable-element-keyboard-accessible-0ssw9k.md
Co-authored-by: Jean-Yves Moyen <[email protected]>
* Update scrollable-element-keyboard-accessible-0ssw9k.md
---------
Co-authored-by: Jean-Yves Moyen <[email protected]>
Co-authored-by: Wilco Fiers <[email protected]>
Copy file name to clipboardexpand all lines: _rules/scrollable-element-keyboard-accessible-0ssw9k.md
+45-1
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,10 @@ This rule applies to any [HTML element][] that has [visible][] [children][] in t
39
39
40
40
## Expectation
41
41
42
-
Each test target is either included in [sequential focus navigation][] or has a [descendant][] in the [flat tree][] that is included in [sequential focus navigation][].
42
+
For each target element, at least one of the following is true:
43
+
- the element is included in [sequential focus navigation][]; or
44
+
- the element has a [descendant][] in the [flat tree][] that is included in [sequential focus navigation][]; or
45
+
- the element is [inert][].
43
46
44
47
## Assumptions
45
48
@@ -108,6 +111,46 @@ This [scrollable][] `section` element contains a link that is included in [seque
108
111
</section>
109
112
```
110
113
114
+
#### Passed Example 3
115
+
116
+
This [scrollable][]`section` element is [inert][] because of the modal dialog, so neither the `section` nor its [descendant][] elements are included in [sequential focus navigation][].
0 commit comments