W3C home > Mailing lists > Public > public-aria@w3.org > February 2016

Re: Why is aria-expanded invalid with a checkbox?

From: Rich Schwerdtfeger <richschwer@gmail.com>
Date: Wed, 3 Feb 2016 05:57:22 -0600
Cc: public-aria@w3.org
Message-Id: <5D78B99F-FC16-4ADC-94F3-928FFE69FB5C@gmail.com>
To: James Nurthen <james.nurthen@oracle.com>
Expanded is applied to areas like tree items that are expandable and collapsible. A checkbox is not. It may control something that is. 

Making a checkbox itself expandable is intentionally not allowed.

Rich

Sent from my iPad

> On Feb 2, 2016, at 5:05 PM, James Nurthen <james.nurthen@oracle.com> wrote:
> 
> I'd have thought that checked in combination with aria-controls was enough here. 
> Unless the checked and expanded state can be different (which I don't believe they could be) I would just use checked and aria-controls.
> 
>> On 2/2/2016 2:58 PM, Birkir Gunnarsson wrote:
>> Oh wise ones.
>> 
>> I am working with a team that is implementing a form where checking a
>> check box expands a section further down the page.
>> They actually thought of putting aria-expanded and aria-controls on
>> the check box to communicate this info to assistive technologies.
>> I had to stop the because checkbox role is not one of the 40 or so
>> roles that allow the aria-expanded property.
>> 
>> 
>> I find this curious.
>> The situation I described, where sections of a dynamic form or webpage
>> are displayed or hidden in response to user checking or unchecking a
>> check box is quite common.
>> Sure, if the section of the page is, in content order, after the
>> checkbox that controls it, users do not necessarily need to be aware
>> of the change, but it is a very smart usability decision to inform the
>> user that checking a checkbox affects contents elsewhere on the
>> webpage.
>> My questions are:
>> 1. Why was aria-expanded not considered a valid attribute with check boxes and,
>> 2. Can this case be revisited? If so I'd be happy to create an issue
>> ticket if necessary.
>> Thanks
>> -Birkir
>> 
>> 
> 
> -- 
> Regards, James
> <oracle_sig_logo.gif>
> James Nurthen | Principal Engineer, Accessibility
> Phone: +1 650 506 6781 | Mobile: +1 415 987 1918 | Video: james.nurthen@oracle.com 
> Oracle Corporate Architecture
> 500 Oracle Parkway | Redwood Cty, CA 94065 
> <green-for-email-sig_0.gif> Oracle is committed to developing practices and products that help protect the environment

Received on Wednesday, 3 February 2016 11:57:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:58:20 UTC