There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-8b462a71-dd29-4ec7-aa93-53d3a55c4ccf XWIKI-24398 Open

Location pickers on new page or move page should have aria-label

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-898785bc-01a0-4e43-aee3-8e12ee340e0b Charpentier Lucas on 10/Jun/26 13:51
 

According to https://www.w3.org/WAI/ARIA/apg/practices/names-and-descriptions/#accessiblenameguidancebyrole it's ideal to use visible content to avoid text alternative for links. For design purpose, here it's impossible so I'd go with `sr-only` text.

But...
It seems like those links act just like buttons. What we ask of them is to do an action that is different from navigation (not going to a new page or a part of the current page). This is highlighted by the fact that we don't ever use their href.

I'll try to propose a solution where both of those are updated to be actual buttons.

 
cid:jira-generated-image-avatar-898785bc-01a0-4e43-aee3-8e12ee340e0b Charpentier Lucas on 10/Jun/26 13:52
 
According to https://www.w3.org/WAI/ARIA/apg/practices/names-and-descriptions/#accessiblenameguidancebyrole it's ideal to use visible content to avoid text alternative for links. For design purpose, here it's impossible so I'd go with `sr-only` text.

But...
It seems like those links act just like buttons. What we ask of them is to do an action that is different from navigation (not going to a new page or a part of the current page). This is highlighted by the fact that we don't ever use their href.

I'll try to propose a solution where both of those are updated to be actual buttons.


PS : I think the underlining here (only on hover) looked odd, that would be a good fix :)