HTML Checking for Large Sites

Rocket Validator automatically checks your pages on the W3C Validator.

The “img” role is unnecessary for element “img”.

A single <img> element is used to embed an image, so adding the img role to it is redundant.

The ARIA img role can be used to identify multiple elements inside page content that should be considered as a single image. These elements could be images, code snippets, text, emojis, or other content that can be combined to deliver information in a visual manner, for example:

<div role="img" aria-label="Description of the overall image">
  <img src="graphic1.png" alt="">
  <img src="graphic2.png">
</div>

Learn more:

Related W3C validator issues

25,000 HTML checks per month. Is that enough for your site?

Save time using our automated web checker. Let our crawler check your web pages on the W3C Validator.