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

Notification form selects lack an accessible name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • 15.6-rc-1
    • 15.4
    • Notifications
    • Easy
    • N/A
    • N/A
    • 4.1.2 Name, Role, Value

    Description

      WCAG warnings in the test class [org.xwiki.platform.notifications.test.ui.AllIT]:
      Validation in the test method [null]
      Check for [org.xwiki.platform.notifications.test.po.NotificationsUserProfilePage] at http://xwikiweb:8080/xwiki/bin/view/XWiki/NotificationsEmailsITuser1?category=notifications.
      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.6/select-name?application=axeAPI
      Help: Select element must have an accessible name
      Impact: critical
      Tags: cat.forms, wcag2a, wcag412, section508, section508.22.n, ACT

      HTML element:
      <select class="notificationEmailInterval">
      <option value="HOURLY">Hourly</option>
      <option selected="selected" value="DAILY">Daily</option>
      <option value="WEEKLY">Weekly</option>
      <option value="LIVE">Live</option>
      </select>
      Selector: [.notificationEmailInterval]
      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"

      HTML element:
      <select class="notificationEmailDiffType">
      <option value="NOTHING">Nothing</option>
      <option selected="selected" value="STANDARD">Standard</option>
      </select>
      Selector: [.notificationEmailDiffType]
      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"

      HTML element:
      <select class="notificationAutoWatchMode" data-target="user" data-user="NotificationsEmailsITuser1">
      Selector: [.notificationAutoWatchMode]
      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

        Issue Links

          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: