W3C home > Mailing lists > Public > wai-xtech@w3.org > September 2008

Re: Tree sample code

From: Aaron M Leventhal <aleventh@us.ibm.com>
Date: Mon, 8 Sep 2008 23:12:13 +0200
To: James Craig <jcraig@apple.com>
Cc: Cynthia Shelly <cyns@exchange.microsoft.com>, George Young <gcyoung@microsoft.com>, Jon Gunderson <jongund@illinois.edu>, W3C WAI-XTECH <wai-xtech@w3.org>
Message-ID: <OF2AABFDBA.CB804A52-ONC12574BE.00742AAB-C12574BE.00747936@us.ibm.com>
Why do you do the aria-labelledby pointing into the span?
Otherwise the accessible name for the top level items encompasses all the 
subitems too, right?

I didn't realize that we need to do that. I'm not sure if this is a better 
way anymore -- it's confusing for authors to have to do that.

Sigh :/

- Aaron



From:
James Craig <jcraig@apple.com>
To:
Aaron M Leventhal/Cambridge/IBM@IBMUS
Cc:
Jon Gunderson <jongund@illinois.edu>, Cynthia Shelly 
<cyns@exchange.microsoft.com>, George Young <gcyoung@microsoft.com>, W3C 
WAI-XTECH <wai-xtech@w3.org>
Date:
09/08/2008 08:24 PM
Subject:
Re: Tree sample code



Aaron M Leventhal wrote:

Cynthia, what do you think about having your tree widget have the keyboard 
UI of a tree?

I think the one I created serves that request, doesn't it? If it's missing 
something, please advise.

http://cookiecrook.com/test/aria/tree/ariatree.html

You could still have it gracefully degrade into nested lists of links in 
screen reader virtual buffers. 

That's a good recommendation to make, but I don't think it's necessary to 
do that amount of browser checking and rewriting for the example code, do 
you? One caveat though. Instead of maintaining a list of user agents that 
support ARIA, maintain a list of old user agents that are known to not 
support ARIA. Assume the best of unknown user agent strings, and serve up 
the full ARIA support.

James
Received on Monday, 8 September 2008 21:12:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:48:43 GMT