[Bug 27294] DOM needs a way to get element's computed ARIA role and computed label string

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

--- Comment #14 from steve faulkner <faulkner.steve@gmail.com> ---
(In reply to Philip Jägenstedt from comment #11)
> What should computedRole do that would require spinning up additional
> accessibility code? Isn't it simply the first recognized token in the role
> attribute, or the default role of the element failing that?
> 
> Is falling back to the default role of the element important? That detail
> increases the amount of testing required by a lot, as it brings in
> https://html.spec.whatwg.org/#wai-aria and any other vocabulary-specific
> mapping tables.

wondering whether getComputedrole will return ARIA abstract of elements
accessibility API mapping? If so what is done in cases where there is no ARIA
equivalent (of which there are many).

Also currently role mappings are only represented in acc APIs as ARIA role
values , when the ARIA role value is used by the APIs because their is not an
acc API equivalent, most landmark roles, for example.

Note https://html.spec.whatwg.org/#wai-aria is not used as an implementation
reference by any implementers as far as I know (blink/Firefox/IE/webkit),
because it is stale and does not match actual implementations in some cases and
only provides a limited subset of implementation information which has to be
then mapped back to the ARIA spec

For HTML acc layer implementation this is the spec that is used
http://rawgit.com/w3c/aria/master/html-aam/html-aam.html

Mapping to Existing WAI-ARIA Role Semantics
http://rawgit.com/w3c/aria/master/html-aam/html-aam.html#mapping-to-existing-wai-aria-role-semantics

HTML Element Role Mappings
http://rawgit.com/w3c/aria/master/html-aam/html-aam.html#html-element-role-mappings

for conformance checker stuff the requirements are being defined here:
https://specs.webplatform.org/html-aria/webspecs/master/

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 18 December 2014 14:51:20 UTC