| id | 9au0ou | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| name | Focus returns to trigger | ||||||||||||||||||||
| rule_type | atomic | ||||||||||||||||||||
| description | This rule checks that when a modal closes the focus returns to the trigger that opened the modal. | ||||||||||||||||||||
| accessibility_requirements |
|
||||||||||||||||||||
| input_aspects |
|
||||||||||||||||||||
| acknowledgments |
|
This rule applies to any modal that when closed the focus returns to the trigger.
On closing the modal, the assistive technology focus will return to the item in the owning document that triggered the modal.
There are no assumptions.
There are no accessibility support issues known.
- Understanding Success Criterion 2.4.3: Focus Order
- G59: Placing the interactive elements in an order that follows sequences and relationships within the content
The button that is activated to open the modal gets the focus returned to it when the modal is dismissed using the close button in the modal.
Code needed!The button that is activated to open the modal gets the focus returned to it when the modal is dismissed using the escape key.
Code needed!The button that is activated to open the modal gets the focus returned to it when the modal is dismissed using the cancel button.
Code needed!The link that is activated to open the modal gets the focus returned to it when the modal is dismissed using the close button in the modal.
Code needed!The link that is activated to open the modal gets the focus returned to it when the modal is dismissed using the escape key.
Code needed!The link that is activated to open the modal gets the focus returned to it when the modal is dismissed using the cancel button.
Code needed!The button that is activated to open the modal gets the focus returned to the item after it when the modal is dismissed.
Code needed!The button that is activated to open the modal gets the focus returned to the start of the page when the modal is dismissed.
Code needed!The link that is activated to open the modal gets the focus returned to the item after it when the modal is dismissed.
Code needed!The link that is activated to open the modal gets the focus returned to the start of the page when the modal is dismissed.
Code needed!TBC
Code needed!