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

Localization preference select has no accessible name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 15.9-rc-1
    • 15.8-rc-1
    • Localization
    • Unknown
    • N/A
    • N/A
    • 3.3.2 Labels or Instructions

    Description

      Detected with automated testing:

      WCAG warnings in the test class [org.xwiki.localization.test.ui.AllIT]:
      __________
      Validation in the test method [changeLanguageInMonolingualModeUsingTheAdministrationPreference]
      Check for [org.xwiki.administration.test.po.LocalizationAdministrationSectionPage] at [http://xwikiweb:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Localization].
      Found [2] items
      
      [...]
      
      2: Select element must have an accessible name
      Description: Ensures select element has an accessible name
      Help URL: https://dequeuniversity.com/rules/axe/4.7/select-name?application=axeAPI
      Help: Select element must have an accessible name
      Impact: critical
      Tags: cat.forms, wcag2a, wcag412, section508, section508.22.n, ACT, TTv5, TT5.c
      
      HTML element: 
      	<select multiple="multiple" class="form-control">
      Selector: [select[multiple="multiple"]]
      Fix any of the following:
        Form element does not have an implicit (wrapped) <label>
        Form element does not have an explicit <label>
        aria-label attribute does not exist or is empty
        aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
        Element has no title attribute
        Element's default semantics were not overridden with role="none" or role="presentation"
      

      For reference, here is the node that triggered this error:

      Attachments

        Activity

          People

            Lucas C Charpentier Lucas
            Lucas C Charpentier Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: