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

Label "Type" is not connected to input while creating article

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.8-rc-1
    • 12.10.5, 13.1
    • None
    • Unknown
    • N/A
    • N/A
    • 3.3.2 Labels or Instructions

    Description

      We faced an a11y issue while BITV examination (german wcag). When you create a new page you can choose a template. Clicking the label "Type" won't let jump cursor into it's dedicated input. That's because that input has no id and the label lacks the for-attribute.

      Input missing id:

      document.querySelector("#create > div.row > div:nth-child(2) > dl > dd:nth-child(2) > div > p > input")
      

      label missing for-attribute:

      document.querySelector("#create > div.row > div:nth-child(2) > dl > dt:nth-child(1) > label")

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: