W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2013

Re: Aria-expanded on anchor: W3C validator error

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Tue, 9 Jul 2013 10:44:00 +0100
Message-ID: <CA+ri+V=dJ-4SrB2ODa0HfcB087kigQhRcoq01BtLq0LXU8ZiQA@mail.gmail.com>
To: Sailesh Panchang <sailesh.panchang@deque.com>
Cc: WAI Interest Group <w3c-wai-ig@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 9 July 2013 09:45:08 UTC