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

BlockNote's editing area fails accessibility tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 17.10.1
    • 17.6.0-rc-1
    • Blocknote
    • Unknown

    Description

      We get the following failure:

      Validation in the test method [minimal]
      Check for [org.xwiki.test.ui.po.editor.WYSIWYGEditPage] at [http://xwikiweb:8080/xwiki/bin/edit/NestedBlockNoteIT/minimal/WebHome].
      Found [1] items
      
      1: Elements must only use supported ARIA attributes
      Description: Ensure an element's role supports its ARIA attributes
      Help URL: https://dequeuniversity.com/rules/axe/4.11/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, RGAAv4, RGAA-7.1.1
      
      HTML element: 
       <div aria-autocomplete="list" aria-haspopup="listbox" contenteditable="true" tabindex="0" translate="no" class="ProseMirror bn-editor placeholder-selector-91fdfda5-98a2-4b41-9f0e-250e0c49369b ProseMirror-focused">
      Selector: [.ProseMirror]
      Fix all of the following:
        ARIA attribute is not allowed: aria-autocomplete="list"
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: