Skip to content

add role="alert" to various alerts - #3089

Merged
pstaabp merged 1 commit into
openwebwork:WeBWorK-2.21from
Alex-Jordan:announce-errors
Jul 27, 2026
Merged

add role="alert" to various alerts#3089
pstaabp merged 1 commit into
openwebwork:WeBWorK-2.21from
Alex-Jordan:announce-errors

Conversation

@Alex-Jordan

Copy link
Copy Markdown
Contributor

This is a "medium" level accessibility issue identified by Claude. Adds role="alert" to several alerts so they will be announced.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@drgrice1 drgrice1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I can confirm that these elements with the alert role added are now announced when they appear, and that they were not announce previously. I tested with Gnome Orca.

@pstaabp
pstaabp merged commit 620243b into openwebwork:WeBWorK-2.21 Jul 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants