Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-6166

Audit log: Missing alt attribute for decorative image

    XMLWordPrintable

Details

    Description

      Issue Summary

      The "alt" attribute has not been provided for the decorative image.

      Steps to Reproduce

      1. Open the "Audit log" page.
      2. Navigate and activate the "Time" filter.
      3. Select a time period where no data is found.
      4. A decorative image will appear; inspect the code and observe that no "alt" attribute is provided.

      Screenshot

      Actual Results

      The "alt" attribute is not provided in the source code of the "no data found" decorative image.
      As a result, screen reader users were able to access the decorative image and it was communicated as unlabelled.

      Expected Results

      Decorative image should be hidden from screen readers.
      Provide an empty "alt" attribute i.e., (alt="") for decorative image.

      Code Snippet:

      <img alt=" " class="changesets-table-message-image" src="/console/images/empty-search/search-error.png" srcset="/console/images/empty-search/search-error@2x.png 2x, /console/images/empty-search/search-error@3x.png 3x">

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

      Environment

      MacBook Pro (16-inch, 2021)
      macOs Sonoma 14.0
      Chrome - Version 118.0.5993.70 (Official Build) (arm64)
      Firefox- Version 92.0 (64-bit) 
      Safari- Version 17.0 (19616.1.27.211.1)
      JAWS- Version 2023 
      NVDA- Version 2021.2 
      Voiceover - Version Latest

      Attachments

        Activity

          People

            Unassigned Unassigned
            1833d2e1842a Rahul Patil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: