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

Administration user images must have an alternate text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 15.5-rc-1
    • 15.2
    • Administration
    • Easy
    • N/A
    • N/A
    • 1.1.1 Non-text Content

    Description

      WCAG warnings in the test class [org.xwiki.administration.test.ui.AllITs]:
      __________

      Validation in the test method [registerJohnSmith]
      Check for [org.xwiki.administration.test.po.AdministrationSectionPage] at http://xwikiweb:8080/xwiki/bin/admin/XWiki/XWikiPreferences?form_token=VJJEvajnPexyqoSxcoXyQQ&section=Users.

      2: 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 class="user-avatar" src="/xwiki/bin/skin/resources/icons/xwiki/noavatar.png?cache-version=1680811190000">
      Selector: [.user-avatar]
      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"

       

      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: