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

LiveData image alt with silk icons

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.10.1
    • 15.2
    • Live Data
    • Hard
    • N/A
    • N/A
    • Hide
      1.1.1 Non-text Content

      Show
      1.1.1 Non-text Content

    Description

      Error found when validating WCAG on the XClass module:

      WCAG warnings in the test class [org.xwiki.xclass.test.ui.AllITs]:
      Validation in the test method [createClass]
      Check for [org.xwiki.test.ui.po.ViewPage] at http://xwikiweb:8080/xwiki/bin/view/XWiki/XWikiClasses
      Images must have alternate text
      Description: Ensures <img> elements have alternate text or a role of none or presentation
      Help URL: https://dequeuniversity.com/rules/axe/4.6/image-alt?application=axeAPI
      Help: Images must have alternate text
      Impact: critical
      Tags: cat.text-alternatives, wcag2a, wcag111, section508, section508.22.a, ACT

      HTML element: 
          <img src="http://xwikiweb:8080/xwiki/resources/icons/silk/control_start.png?cache-version=1680725980000">
      Selector: [a[title="Previous page"] > img]
      Fix any of the following:
        Element does not have an alt attribute
        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"

      A lot of similar errors are reported for all icons in the livedata.
      The WCAG errors in context (video):
      https://up1.xwikisas.com/#5i73wpturJlvIluImDQBDQ

      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: