-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessibility Fixes for Assessment Updates #1942
Accessibility Fixes for Assessment Updates #1942
Conversation
110d67b
to
9f2b29a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked this with Chromevox. It looks like it addresses the shortcomings mentioned in the ticket - the screen reader indicates when an answer is saved and when a submission has finished. Well done!
I did notice while testing this that using the keyboard to navigate multiple choice questions with only a single correct answer is extremely difficult, but since that also appears to be happening on the current dev branch I'm going to say it isn't due to your changes. I'll open a separate issue.
The base branch was changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could see making tweaks to what specifically is read out in the future, but this does a good job of addressing the problem for now.
Fixes #1788
aria-live
to the modal component so the screenreader will read any text updates inside, this affects the response dialog after submitting an assessmentaria-live
toQuestionResponseStatus
to keep track of statuses already read + avoid repeating announcements. Whenever a new status is received, text inside a hidden div is updated and read by the screenreader