WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Validator.nu: "Attribute role not allowed on element h2 at this point."

Re: Validator.nu: "Attribute role not allowed on element h2 at this point."

by Charles Pritchard-2 :: Rate this Message:

| View in Thread

Ignore the error, the HTML5 spec does not reflect implementations in
this section about ARIA.
The warning is not helpful to authors nor does it accurately describe
the means in which ATs work with ARIA.

-Charles

On 3/12/2012 4:27 PM, Hugh Guiney wrote:

> Why not?
>
> I have this in an otherwise-valid HTML5 + SVG 1.1 + MathML 2.0 + RDFa
> Lite 1.1 document:
>
> <hgroup>
>    <h1>Company Name</h1>
>    <h2 role="presentation">Tagline</h2>
> </hgroup>
>
> Spec says:
>
>> Authors must not set the ARIA role and aria-* attributes in a manner that conflicts with the
>> semantics described in the following table, except that the presentation role may always be used.

 « Return to Thread: Validator.nu: "Attribute role not allowed on element h2 at this point."