There is 1 update, 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-5722bf6f-0c2a-44cf-b257-bb2f06d0e140 XWIKI-22473 Open

Missing semantics in the structure of the option groups in the slash-dropdown

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-8b04de6c-5d35-4466-b717-8c91588cde4a Changes by Charpentier Lucas on 30/Aug/24 15:45
 
Summary: CKEditor plugin xwiki- Missing semantics in the structure of the option groups in the slash - dropdown structure is invalid HTML
 
 

2 comments

 
cid:jira-generated-image-avatar-3771671d-a8d0-4890-9127-c80f36dfd02d Marius Dumitru Florea on 30/Aug/24 15:40
 

I partially fixed the problem with https://github.com/xwiki/xwiki-platform/commit/85de21b322b1c50572d41b93a057ec880af4d779 but on the semantic level the slash options should be inside the groups. ATM all groups are empty (the groups are on the same level as the options, acting more as separators). Fixing this breaks the keyboard navigation that we "inherit" from the CKEditor's Autocomplete feature (when you press Down key it looks for the next sibling option, it doesn't go recursively inside the groups). We'll have to overwrite this behavior.

 
cid:jira-generated-image-avatar-8b04de6c-5d35-4466-b717-8c91588cde4a Charpentier Lucas on 30/Aug/24 15:48
 

Note that the HAN accessibility audit highlighted that the dropdown is not properly read out by screen readers when navigated. This poor structure might be the cause of this.