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 - Media - "Alert" on aria label [RDI 2.33] #73

Closed LIT-EIA-OWNER closed 3 years ago

LIT-EIA-OWNER commented 3 years ago

The text with the instructions before the video is an alert widget (A11yInsights #9.1). I’m not sure why this is an alert. To me it seems odd, especially that there is no accessible name.

Note that this “alert” is only announced by JAWS when we use arrow keys to navigate the page. It is announced when we get to it and not because it was triggered by the learner actions.

We feel that the alert role is not being programmed as it is meant to be used. The most important thing to know about the alert role is that it is for dynamic content.

The alert role can be used to tell the user an element has been dynamically updated. Screen readers will instantly start reading out the updated content when the role is added. If the user is expected to close the alert, then the alert dialog role should be used instead.

LIT-EIA-OWNER commented 3 years ago

Made sure Alert was only applied to question type components

LIT-EIA-OWNER commented 3 years ago

Still adding the Alert on components that aren't questions - need some examples, was only able to find it on Components which were questions

LIT-EIA-OWNER commented 3 years ago

Found on Accordions and others, fixed!