This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-4d9dcfd5-2144-4ac7-bd1e-08d6b42e4a20 XWIKI-22987 Open

Avatar edition modal does not have the proper modal markup

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-4c551442-dbbb-40cf-93b5-09a96b4caf7a Charpentier Lucas created this issue on 17/Mar/25 17:54
 
Summary: Avatar edition modal does not have the proper modal markup
Issue Type: cid:jira-generated-image-avatar-4d9dcfd5-2144-4ac7-bd1e-08d6b42e4a20 Bug
Affects Versions: 17.1.0
Assignee: Unassigned
Components: User - User Profile
Created: 17/Mar/25 17:54
Labels: wcag
Priority: cid:jira-generated-image-static-major-ab1d3e9e-8a1d-4bf2-bfd5-50f838c8cfde Major
Reporter: Charpentier Lucas
Description:

When changing the avatar of the user with a keyboard, we can open the modal but then two problems happen:
1. The focus is outside the modal, in the background content.
2. The user is not notified that the modal is shown.

We need to make sure the focus is brought into the modal and locked in here while it's open.

In order to do that, a possible solution is to use the ARIA markup: `role=modal`.