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

Select tour step order has no name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 16.4.0-rc-1, 15.10.9
    • 16.2.0
    • Tour
    • Unknown
    • N/A
    • N/A
    • 4.1.2 Name, Role, Value

    Description

      Looks like an Admin level violation caught in the automated tests (env tests -> master -> #506):
      ```
      Validation in the test method [verifyTourFeatures]
      Check for [org.xwiki.tour.test.po.StepEditModal] at http://xwikiweb:8080/xwiki/bin/edit/Tour/Test/WebHome?form_token=Fq5m5adIcA3TSSLObuoxyQ&template=TourCode.TourTemplate&title=Test&parent=Tour.WebHome&editor=inline#.
      Found [1] items

      1: Select element must have an accessible name
      Description: Ensures select element has an accessible name
      Help URL: https://dequeuniversity.com/rules/axe/4.8/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

      HTML element:
      <select id="stepOrderSelect">
      <option selected="selected" value="0">1</option>
      </select>
      Selector: stepOrderSelect
      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"
      ```
      &&
      ```
      Validation in the test method [verifyTourFeatures]
      Check for [org.xwiki.tour.test.po.StepEditModal] at http://xwikiweb:8080/xwiki/bin/edit/Tour/NewTest/WebHome?form_token=Fq5m5adIcA3TSSLObuoxyQ&template=TourCode.TourTemplate&title=NewTest&parent=Tour.WebHome&editor=inline#.
      Found [1] items

      1: Select element must have an accessible name
      Description: Ensures select element has an accessible name
      Help URL: https://dequeuniversity.com/rules/axe/4.8/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

      HTML element:
      <select id="stepOrderSelect">
      <option selected="selected" value="0">1</option>
      </select>
      Selector: stepOrderSelect
      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"
      ```

      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: