W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2016

Re: Using WAI-ARIA for code folding?

From: Rich Morin <rdm@cfcl.com>
Date: Thu, 4 Aug 2016 16:38:07 -0700
Message-Id: <0C324243-4AF3-45A6-98C7-4C88D415FAAA@cfcl.com>
To: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
> 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


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?.


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
Received on Thursday, 4 August 2016 23:38:43 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 4 August 2016 23:38:43 UTC