HTML Checking for Large Sites

Rocket Validator automatically checks your pages on the W3C Validator.

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

The main landmark role is used to indicate the primary content of a document. It can be added to an element by using role="main", but instead it’s preferable to just use the <main> element. In that case, it’s unnecessary to make the main role explicit. Examples:

<div role="main">
  <!-- this is a valid way to define a main role -->

   <!-- but this is shorter and uses correct semantic HTML  -->

Read 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.