HTML Checking for Large Sites

Rocket Validator automatically checks your pages on the W3C Validator.

Bad value “button” for attribute “role” on element “li”.

A <li> element, used to define a list item, does not accept the button role.

This HTML code is invalid because the <li> elements can’t have role="button":

  <li role="button">One</li>
  <li role="button">Two</li>

Learn more:

* MDN: ARIA button role

Related W3C validator issues

50,000 Accessibility and HTML checks per month. Fully automated.

Let our automated scanner check your large sites using Axe Core and W3C Validator.