HTML Checking for Large Sites

Rocket Validator automatically scans your sites for accessibility issues using the W3C Validator, hosted on our own servers and integrated into our web crawler.

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.

Element “div” is missing one or more of the following attributes: “role”.

A <div> element is using ARIA attributes, but its role has not been defined. ARIA defines semantics that can be applied to elements, with these divided into roles (defining a type of user interface element) and states and properties that are supported by a role. Authors must assign an ARIA role and the appropriate states and properties to an element during its life-cycle, unless the element already has appropriate ARIA semantics (via use of an appropriate HTML element). Examples:

<!-- This div uses ARIA but its role is not clear, so it's invalid. -->
<div aria-expanded="true">...</div>

<!-- This div defines clearly its role, so it's valid. -->
<div role="navigation" aria-expanded="true">...</div>

<!-- Nav elements have an implicit navigation role so we don't need the role attribute. -->
<nav aria-expanded="true">...</nav>

Read about Using ARIA: Roles, states and properties.

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.