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

The level select in the logging administration misses a label

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Go to the Administration -> Other -> Logging
      2. Inspect one of the level selects / perform an automated accessibility test

      Expected result:

      The select element has a an accessible name, there are no errors in the accessibility test.

      Actual result:

      The select misses a label.

      1: Select element must have an accessible name
      Description: Ensure select element has an accessible name
      Help URL: https://dequeuniversity.com/rules/axe/4.11/select-name?application=axeAPI
      Help: Select element must have an accessible name
      Impact: critical
      Tags: cat.forms, wcag2a, wcag412, section508, section508.22.n, TTv5, TT5.c, EN-301-549, EN-9.4.1.2, ACT, RGAAv4, RGAA-11.1.1
      
      HTML element: 
       <select name="logger_level">
       <option label="TRACE" value="TRACE">TRACE</option>
       <option label="DEBUG" value="DEBUG">DEBUG</option>
       <option label="INFO" value="INFO">INFO</option>
       <option label="WARN" value="WARN">WARN</option>
       <option label="ERROR" value="ERROR">ERROR</option>
       </select>
      Selector: [tr[data-livedata-entry-index="0"] > td[data-title="Actions"] > .displayer-html[data-livedata-property-id="actions"][data-v-68681628=""] > .view > div > .html-wrapper[data-v-68681628=""] > form > fieldset > select[name="logger_level"]]
      Fix any of the following:
        Element does not have an implicit (wrapped) <label>
        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"
      

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: