Re: Aria-expanded on anchor: W3C validator error

its a bug, file a bug on the validator
https://www.w3.org/Bugs/Public/enter_bug.cgi?product=Validator%20%28Nu%29

--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>


On 8 July 2013 14:39, Sailesh Panchang <sailesh.panchang@deque.com> wrote:

> I am trying to use aria-expanded on an anchor element but the W3C
> validator gives an error. It expects an attribute role.
> I do not understand why. I am using the attribute on an allowed element.
> Even if I used role=link or role=button, it fails.
>
> <a id="l1" href="javascript:myscript1('l1')" aria-
>
> expanded="false" aria-controls="block1">Review Techniques</a>
> I am using <!DOCTYPE html>
> I appreciate your Tips / suggestions.
> Thanks,
> Sailesh Panchang
>
>

Received on Monday, 8 July 2013 14:05:52 UTC