Details
-
Bug
-
Resolution: Fixed
-
Major
-
15.4
-
Medium
-
N/A
-
N/A
-
-
4.1.2 Name, Role, Value
Description
The aria-expanded attribute is not authorized on elements with `role = "textbox"`.
See the correct elements to use it on MDN Web docs https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded .
WCAG warnings in the test class [org.xwiki.edit.test.ui.AllIT]:
Validation in the test method [translateInplace]
Check for [org.xwiki.edit.test.po.InplaceEditablePage] at http://xwikiweb:8080/xwiki/bin/view/NestedInplaceTranslateIT/translateInplace/?language=fr#translate.
Found [2] items1: Elements must only use allowed ARIA attributes
Description: Ensures ARIA attributes are allowed for an element's role
Help URL: https://dequeuniversity.com/rules/axe/4.6/aria-allowed-attr?application=axeAPI
Help: Elements must only use allowed ARIA attributes
Impact: critical
Tags: cat.aria, wcag2a, wcag412HTML element:
<div id="xwikicontent" class="col-xs-12 cke_editable cke_editable_inline cke_contents_ltr cke_show_borders" data-sourcedocumentreference="xwiki:NestedInplaceTranslateIT.translateInplace.WebHome" data-syntax="xwiki/2.1" style="position: relative;" contenteditable="true" aria-readonly="false" tabindex="0" spellcheck="true" role="textbox" aria-multiline="true" aria-label="Editor, xwikicontent" title="Editor, xwikicontent" aria-describedby="cke_55" aria-controls="cke_60" aria-activedescendant="" aria-autocomplete="list" aria-expanded="false">
Selector: xwikicontent
Fix any of the following:
ARIA attribute is not allowed: aria-expanded="false"
Attachments
Issue Links
- is related to
-
XWIKI-22516 CKEditor inplace editing focus-unfocus ends up in an incorrect state for the editor accessibility
- Closed