[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 #29 from Anne <annevk@annevk.nl> ---
(In reply to Alice Boxhall from comment #28)
> I see. I think `role` would be best simply reflecting the string "role"
> attribute verbatim, regardless of what is applied - this is why we need
> `computedRole` as, as you point out, this may be quite different to `role`
> or even return a value if `role` is not set.

That seems like a bogus design. Why have .role do that? That seems perfectly
serviced through getAttribute()/setAttribute(). When possible we make IDL
attributes useful and it seems we can make this one perfectly useful, just need
to fix the design of role="" a bit.

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

Received on Saturday, 20 December 2014 09:48:16 UTC