This issue has been created
There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-62779bbd-eb7f-4366-86fc-5cb5f38b3520 XWIKI-22709 Open

XNotifications should have the alert role

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-8435a0ab-4616-42a2-99b6-0efa1bc5cd2a Charpentier Lucas created this issue on 02/Dec/24 15:28
 
Summary: XNotifications should have the alert role
Issue Type: cid:jira-generated-image-avatar-62779bbd-eb7f-4366-86fc-5cb5f38b3520 Bug
Affects Versions: 16.10.0
Assignee: Unassigned
Components: Web - Templates & Resources
Created: 02/Dec/24 15:28
Labels: wcag
Priority: cid:jira-generated-image-static-major-b1eabdc0-1de7-4944-aa9a-feb024e5c580 Major
Reporter: Charpentier Lucas
Description:

Similarly to messages with XWIKI-22168, xnotifications should have an `alert` ARIA role. This way, they are used by assistive techs. Typically, when a xnotification pops up, thanks to this role it will be read out immediately by screen readers.

 
 

1 update

 
cid:jira-generated-image-avatar-8435a0ab-4616-42a2-99b6-0efa1bc5cd2a Changes by Charpentier Lucas on 02/Dec/24 15:33
 
Assignee: Charpentier Lucas
 
 

1 comment

 
cid:jira-generated-image-avatar-8435a0ab-4616-42a2-99b6-0efa1bc5cd2a Charpentier Lucas on 02/Dec/24 15:33
 

Check out https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/alert_role and https://www.w3.org/WAI/ARIA/apg/patterns/alert/examples/alert/ to get examples of why this is useful.