- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Decorative images with a plain alt attribute without empty strings or double quotes
I have a decorative image with an alt text but without an empty string or double quotes as below -
<img src="sample.jpg" alt/>
This is being highlighted as a11y issue within crownpeak. I have tested the image behavior in screen readers, which is working as expected on images since its decorative.
As per the HTML5 specification and few responses in stackoverflow. alt="" and alt are equally same.
https://stackoverflow.com/questions/75256822/accessibility-alt-or-alt-for-decorative-images
Is this a false positive within crown peak ? Is there a way to make crownpeak hide these kind of errors or any workaround to hide these errors ?
We have thousands of pages with decorative and non-decorative images, so having an answer to this issue will comply with our a11y standards. So any inputs is much appreciated.
Thanks In advance,
Praveen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
Any updates on this query ?
Thanks,
Praveen

