img with no alt cannot have aria- attributes Web Standard

Description

An img without an alt attribute cannot have any aria- attributes except aria-hidden=true.

Applicable standards

Change history

  • 6.41 Jul 2021 Added.

This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.

Rule ID: W3cHtml5AriaProhibitedAttrsForType-img-no-alt