Skip to content

Commit e8fdf97

Browse files
authored
Update focus-returns-trigger-9au0ou.md
1 parent 541961b commit e8fdf97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_rules/focus-returns-trigger-9au0ou.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ acknowledgments:
2626

2727
## Applicability
2828

29-
This rule applies to any element with a semantic role of modal dialog or alertdialog that is not visible.
29+
This rule applies when focus is trapped within a region activated by a trigger control that is dismissible.
3030

3131
## Expectation
3232

33-
The element that triggers the target element to become visible is the same element that receives focus when the target element stops being visible.
33+
The element that triggers the target element to become visible, is still present in the screen behind the triggered content and is the same element that receives focus when the target element stops being visible.
3434

3535
## Background
3636

@@ -40,7 +40,7 @@ There are no assumptions.
4040

4141
### Accessibility Support
4242

43-
There are no accessibility support issues known.
43+
Some assistive technologies on known browsers still exhibit inconsistencies. Specifically, if an element is removed from the accessibility tree after being activated (e.g., a close button), and focus is moved via JavaScript to an element that is not inherently operable (e.g., a button works, but a div with tabindex="-1" may not), the assistive technology might automatically shift focus to the closest visible element, regardless of the intended JavaScript behavior.
4444

4545
### Bibliography
4646

0 commit comments

Comments
 (0)