Non-empty img alt
used with role=none
or role=presentation
Web Standard
Description
An img
with non-empty alt
cannot have role=none
or role=presentation
.
Help
Either remove the role
attribute or set alt=''
if the image is purely decorative.
Applicable standards
Change history
- 5.37 May 2020 Added.
This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.
Rule ID: W3cHtml5AriaProhibitedRoleForType-img-alt