LIT-EIA / adapt-esdc-accessibilityfixes

Extension to load and run a .js file when a course loads
GNU General Public License v3.0
5 stars 2 forks source link

Component - Multiple Choice Question - No focus to error #11

Closed LIT-EIA-OWNER closed 3 years ago

LIT-EIA-OWNER commented 3 years ago

If Submit no answer, no focus to the error message. Only identified with a color

LIT-EIA-OWNER commented 3 years ago

Added Aria-live = "assertive" and role="alert" to the instructions but no way to know if a screen reader will be able to detect class changed

(When being highlighted, the instructions gain the "validation-error" class.

Note that another tag changes when the error is triggered - the aria-label a few tags above the component-instructions tag gains the attribute "data-a11y-force-focus = 'true'" - however based on the accessibility report this change doesn't work or does nothing?

LIT-EIA-OWNER commented 3 years ago

NEW BUG

All questions have an issue with error messages when they select submit but haven't selected an answer.

Note that this was also an issue for my iPhone that the only change was the colour of the “instructions”. Another issue was at 400%. When I select Submit without selecting an answer the focus/screen stays where I am and I do not know that the text changed colour or that there was an error.

Note that this is not an issue for a screen reader since everything is announced by JAWS to the user and the focus went back to the “warning/instructions”.

LIT-EIA-OWNER commented 3 years ago

New bug was duplicate of #76