W3C home > Mailing lists > Public > public-html@w3.org > December 2014

RE: use cases 'DOM needs a way to get element's computed ARIA role and computed label string'

From: Gunderson, Jon R <jongund@illinois.edu>
Date: Thu, 18 Dec 2014 17:44:12 +0000
To: Steve Faulkner <faulkner.steve@gmail.com>, HTMLWG WG <public-html@w3.org>
CC: Alice Boxhall <aboxhall@google.com>, David Bolter <dbolter@mozilla.com>, Dominic Mazzoni <dmazzoni@chromium.org>, Richard Schwerdtfeger <schwer@us.ibm.com>, Domenic Denicola <domenic@domenicdenicola.com>, Alexander Surkov <surkov.alexander@gmail.com>, W3C WAI Protocols & Formats <public-pfwg@w3.org>, James Craig <jcraig@apple.com>
Message-ID: <46739F12637CC94E82F75FF874E4A1473664DB9B@CITESMBX6.ad.uillinois.edu>
Steve,

Where do you want the use cases defined?  In the bug trackers or some wiki?

Use Case #1: Accessibility Evaluation Tools
Accessibility evaluation tools like AInspector Sidebar for Firefox and FAE 2.0 that are based on the OpenAjax Accessibility Evaluation Library can use this API as part of the analysis of the web resources for accessibility information.  Currently these tools must implement their own algorithms to compute the label and role values.  The computed values can be compared to markup to identify coding errors when labeling information like aria-labelledby reference invalid or duplicate ids.

References:
OpenAjax Web Accessibility Evaluation Library
http://www.openajax.org/member/wiki/Accessibility


Use Case #2: “SkipTo” Javascript Utility
“SkipTo” is a javascript utility to provide keyboard navigation  to a list of headings and landmarks for use in navigating the structured content of a web page.  The ability to search the DOM for role (e.g. heading, landmark) and get accessible names through computed label values would make this code immensely simpler (e.g. do not need to replicate code already in the browser for computing these values, similar to get computedStyle).  I am currently working on updating this code to include HTML5 section elements with labels.

Reference:
https://github.com/paypal/skipto


Jon





From: Steve Faulkner [mailto:faulkner.steve@gmail.com]
Sent: Thursday, December 18, 2014 10:25 AM
To: HTMLWG WG
Cc: Alice Boxhall; David Bolter; Dominic Mazzoni; Richard Schwerdtfeger; Domenic Denicola; Alexander Surkov; W3C WAI Protocols & Formats; James Craig
Subject: use cases 'DOM needs a way to get element's computed ARIA role and computed label string'

Can people who are interested in getting this[1] stuff defined and implemented[2] provide use cases?

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=27294

[2] https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/WToTEn4lveY

--

Regards

SteveF

Received on Thursday, 18 December 2014 17:45:17 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:11 UTC