Re: name computation for role="checkbox"

What's wrong with something like this, assuming it has css to make it look
like a checkbox and js to make it behave like one?

<div tabIndex=0 role="checkbox" aria-checked="false">I agree to the license
terms</div>



On Thu, Feb 26, 2015 at 4:48 AM, Alexander Surkov <
surkov.alexander@gmail.com> wrote:

> Hi, the spec says [1] that role="checkbox" name is computed from
> "contents". Is there an use case for ARIA checkbox name computed from
> subtree?
>
>
> Thanks.
> Alexander.
>
>
> [1] http://www.w3.org/WAI/PF/aria/roles#checkbox
>

Received on Thursday, 26 February 2015 17:31:06 UTC