This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-93db431f-10f1-43a8-aa75-f14e624eb127 XWIKI-22516 Open

Ckeditor inplace editing focus-unfocus ends up in an incorrect state for the editor accessibility

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-967553f0-6815-4866-bc23-6ce0b327afd5 Charpentier Lucas created this issue on 17/Sep/24 11:43
 
Summary: Ckeditor inplace editing focus-unfocus ends up in an incorrect state for the editor accessibility
Issue Type: cid:jira-generated-image-avatar-93db431f-10f1-43a8-aa75-f14e624eb127 Bug
Affects Versions: 16.7.1
Assignee: Unassigned
Components: CKEditor
Created: 17/Sep/24 11:43
Labels: wcag
Priority: cid:jira-generated-image-static-major-467a3bbd-6d42-4c53-ab06-5ae92a622dd8 Major
Reporter: Charpentier Lucas
Description:

Similarly to XWIKI-21005, the update of the inline CKEditor adds non correct attributes:

 

MySQL 9.0, Tomcat 9-jdk21, Chrome - Docker tests for xwiki-platform-realtime-wysiwyg / Build for MySQL 9.0, Tomcat 9-jdk21, Chrome - Docker tests for xwiki-platform-realtime-wysiwyg / org.xwiki.realtime.wysiwyg.test.ui.AllIT.help_16.png

WCAG fails in the test class [org.xwiki.realtime.wysiwyg.test.ui.AllIT]: __________ Validation in the test method [editPageTranslations] Check for [org.xwiki.test.ui.po.ViewPage] at http://xwikiweb:8080/xwiki/bin/view/NestedRealtimeWYSIWYGEditorIT/editPageTranslations/WebHome?language=de#. Found [1] items 1: Elements must only use supported ARIA attributes Description: Ensures an element's role supports its ARIA attributes Help URL: https://dequeuniversity.com/rules/axe/4.9/aria-allowed-attr?application=axeAPI Help: Elements must only use supported ARIA attributes Impact: critical Tags: cat.aria, wcag2a, wcag412, EN-301-549, EN-9.4.1.2 HTML element: <div id="xwikicontent" class="col-xs-12" data-sourcedocumentreference="xwiki:NestedRealtimeWYSIWYGEditorIT.editPageTranslations.WebHome" data-syntax="xwiki/2.1" style="position: relative;" aria-readonly="false" aria-controls="cke_297" aria-activedescendant="" aria-autocomplete="list" aria-expanded="false"> Selector: xwikicontent Fix all of the following: ARIA attributes are not allowed: aria-readonly="false", aria-activedescendant="", aria-autocomplete="list", aria-expanded="false" ==> expected: <false> but was: <true>

 
 

2 updates

 
cid:jira-generated-image-avatar-967553f0-6815-4866-bc23-6ce0b327afd5 Changes by Charpentier Lucas on 17/Sep/24 11:46
 
Fix Version: 16.8.0
Assignee: Marius Dumitru Florea