Details
-
Bug
-
Resolution: Unresolved
-
Low
-
5.2.0
-
Severity 3 - Minor
-
Description
Issue Summary
The "alt" attribute has not been provided for the decorative image.
Steps to Reproduce
- Open the "Audit log" page.
- Navigate and activate the "Time" filter.
- Select a time period where no data is found.
- 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