-
Bug
-
Resolution: Fixed
-
Minor
-
2.3.3
-
None
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
MDL-375668-master
-
(Problem reported during routine accessibility testing.)
When you select a Help popup with the keyboard, it is more difficult than it should be to close the popup. The keyboard focus remains on the link you clicked to open the popup, and when you press Tab, you have to tab through all the other links in the page before you get to the Close button.
One possibility would be to focus the Close button. However, this might cause problems for screenreader users because the Close button is after the content of the box, so they might find the screenreader does not read the box. I am not certain because the body text is marked with Aria role='alert' so it might work OK anyway... Hmm....
Another solution is to focus the top of the box, such as the heading (which we can make focusable in JavaScript).
That way, the keyboard sequence to open and then close the help popup should be Return (popup opens), Tab (focus now on close button), Return. As opposed to Return (popup opens), Tab x n where n = very large number, Return.
I will investigate how to fix this.
- has been marked as being related by
-
MDL-41177 help popup + keyboard + screen reader is inaccessible
-
- Closed
-