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

.notifications-toggles inputs are missing labels

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • Pull Request accepted
    • 3.3.2 Labels or Instructions

    Description

      AFFECTS:

      • All pages
      • xwiki:XWiki.WatchListRss
      • xwiki:Main.WebHome
      • etc.

      ERROR:

      • org.xwiki.test.webstandards.CustomDutchWebGuidelinesValidationTest.Validating HTML5 Dutch Web Guidelines validity for: xwiki:XWiki.WatchListRss executed with credentials Admin:admin (from org.xwiki.test.webstandards.AllTests)
      • ERROR: An input field has been found with no label association.

      INVALIDATES:

      EXPLANATION:

      • Missing labels for #notificationPageOnly, #notificationPageAndChildren and #notificationWiki input@type='checkbox'

      FIXES:

      • Add hidden labels for the inputs
        • Add a label element that surrounds the control's label. Set the for attribute on the label element to the same value as the id attribute of the control. And/or add a title attribute to the input element. And/or create a label element that contains the input element.

      Attachments

        1. notifications-toggles.png
          550 kB
          Ecaterina Moraru (Valica)

        Issue Links

          Activity

            People

              atallahade Adel Atallah
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: