W3C home > Mailing lists > Public > public-pfwg@w3.org > February 2015

Re: name computation for role="checkbox"

From: Dominic Mazzoni <dmazzoni@google.com>
Date: Thu, 26 Feb 2015 09:30:34 -0800
Message-ID: <CAFz-FYw=nxCEnzHbOaKeTqFX3GC5LwUF-U=zPaYHHiLF-ST_UQ@mail.gmail.com>
To: Alexander Surkov <surkov.alexander@gmail.com>
Cc: "W3C WAI Protocols & Formats" <public-pfwg@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:45:23 UTC