Re: Aria-expanded on anchor: W3C validator error

I have filed a bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=22603

--

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 Tuesday, 9 July 2013 09:45:07 UTC