Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22516

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 16.8.0
    • 16.7.1
    • CKEditor
    • Unknown

    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.

      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>

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              Lucas C Charpentier Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: