- From: Shane McCarron <shane@aptest.com>
- Date: Fri, 17 Apr 2015 09:22:33 -0500
- To: Joseph Scheuhammer <clown@alum.mit.edu>
- Cc: "W3C WAI Protocols & Formats" <public-pfwg@w3.org>
- Message-ID: <CAOk_reEcK+Z6-Mr2w5gNpBVTntsRjr+uQKaGpjQx9JU1vhMLwA@mail.gmail.com>
FWIW^2 ReSpec does this because I assumed a role of directory was appropriate there. Not because anyone told me that was the correct role to use. If it is wrong. someone should let me know! On Fri, Apr 17, 2015 at 9:16 AM, Joseph Scheuhammer <clown@alum.mit.edu> wrote: > FWIW, all the ARIA documents use this role for their table of contents. > For example, the main <ul> under the "Table of Contents" heading in the > ARIA 1.1 editors' draft [1] is: > > <ul id="respecContents" class="toc" role="directory> ... > > The AAPI role given in the the core mapping specification is a "list" role > [2] since their is no specific "directory" role in any platform a11y API. > However, the aria role string is available in the accessible as well (how > depends on the AAPI itself). > > Thus, the IA2 and ATK/AT-SPI accessible in the a11y tree looks roughly > like this, leaving out irrelevant details: > { > role: list, > name: "", > description: "", > ..., > xml-roles: "directory" > } > > The AXAPI accessible is: > { > AXRole: AXList, > AXSubrole: AXContentList, > AXRoleDescription: "content list", > AXTitle: "", > AXDescription: "", > ..., > } > > The result is a declaration that this is a list, specifically a directory > (a list of references). > > [1] http://w3c.github.io/aria/aria/aria.html#respecContents > [2] http://w3c.github.io/aria/core-aam/core-aam.html#role-map-directory > > -- > ;;;;joseph. > > 'Array(16).join("wat" - 1) + " Batman!"' > - G. Bernhardt - > > > -- Shane McCarron Managing Director, Applied Testing and Technology, Inc.
Received on Friday, 17 April 2015 14:23:16 UTC