Re: Aria-required fails validation

Steve,
I get aria-required not allowed at this point for
<input type="text" aria-required="true" title="User name" />
I am using following declaration:
<!DOCTYPE html>
<html lang="en">
<head>
...

Should I be using a different declaration or is this a validation error?
Thanks,
Sailesh




On 7/9/13, Steve Faulkner <faulkner.steve@gmail.com> wrote:
> 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 Monday, 15 July 2013 18:18:26 UTC