- From: Beranek, Nicholas <Nicholas.Beranek@capitalone.com>
- Date: Fri, 5 Aug 2016 15:54:35 +0000
- To: Rich Morin <rdm@cfcl.com>, "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
Looks good, Rich. Each are reading out as a "collapsed button" that switches to "expanded" once the state changes. One minor issue for your document: Ensure that <dt> and <dd> are the only children of <dl>. You have a <tt> element in there as a child that's not valid HTML. Nick Beranek Capital One -----Original Message----- From: Rich Morin [mailto:rdm@cfcl.com] Sent: Thursday, August 04, 2016 7:38 PM To: w3c-wai-ig@w3.org Subject: Re: Using WAI-ARIA for code folding? > On Aug 4, 2016, at 12:34, Bryan Garaventa wrote: > If you use a Tree widget, it will enforce a form field type effect for > screen reader users, which will make it nearly impossible to review > and copy code if that is what you want. Ideally, the user would be able to review, edit, copy and paste, etc. However, being able to efficiently review code would be a good start. > The simple Accordion pattern would work best for this, as suggested by > others earlier. I can't find those suggestions; can you point me to a specific posting? > Here is some code recently built for the W3C that demonstrates this, > with configuration settings within the file setup.js for changing the > functionality as needed. Thanks! I hacked up the example and got it to display two alternating functions: http://cfcl.com/rdm/Projects/ARIA_Accord/t1.htm I suspect there's a simple way to display combinations of functions (toggling them individually), but my web-fu is a bit sketchy. Help? For extra credit, it would be great to be able to hide and show parts of functions (e.g, the body of the case construct). Suggestions?. -r -- http://www.cfcl.com/rdm Rich Morin rdm@cfcl.com http://www.cfcl.com/rdm/resume San Bruno, CA, USA +1 650-873-7841 Software system design, development, and documentation ________________________________________________________ The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
Received on Friday, 5 August 2016 15:55:11 UTC