axe-android
axe-android copied to clipboard
Modal Dialogue Transitions
Focus management during Modal Dialog/Alert transitions is important. Returning focus back to elements that originated dialogs is crucial.
Affected Technology: TalkBack Type: WCAG Success Criteria: I can't find it?
User Story
As a TalkBack user, I'm using an application that involves providing a password.
Inaccessible
- I enter my password into the
Password EditText
- An alert pops up saying I did not meet the minimum password requirements.
- I dismiss the alert.
- Accessibility Focus moves to the start of the page.
Accessible
In step 4, Accessibility Focus should move back to the Password EditText
View.
The success criteria for this would be 2.4.3 Focus Order. Part of the criteria is making sure focus from a modal goes back to its original trigger point
@chriscm2006 @jldailey13 are you just specifically looking to make this for EditText field, or are you looking to include any other interactions (i.e. buttons, links) that bring up a modal/dialog interaction as well? Because in those cases you would still want the focus to return to the trigger point as well.