- From: <bugzilla@jessica.w3.org>
- Date: Fri, 19 Dec 2014 22:26:42 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27294 --- Comment #27 from Alice Boxhall <aboxhall@chromium.org> --- (In reply to Philip Jägenstedt from comment #26) > (In reply to Alice Boxhall from comment #18) > > (In reply to Philip Jägenstedt from comment #17) > > > (In reply to Dominic Mazzoni from comment #16) > > > > The main use-case I have in mind is feature/capability detection. As new > > > > ARIA roles are added, and more generally as the ARIA spec improves, web > > > > authors need a way to determine whether a particular user agent supports > > > > those features, and provide a polyfill if not. > > > > > > > > In the case of ARIA roles, a computedRole() interface would allow a web app > > > > to determine whether a particular role is recognized, and if not provide an > > > > appropriate substitute. While there's existing support for listing multiple > > > > roles, the interaction between ARIA roles in the DOM hierarchy is pretty > > > > important and web authors might want more control over them. > > > > > > Would a static boolean isRoleSupported(DOMString role) suffice for this > > > purpose? That seems like the simplest possible API for detecting support for > > > a role, and seems trivial to implement. > > > > This > > Not sure if this was copypasta or if your reply was truncated :) It was a reply I didn't mean to send; I was blindsided by Bugzilla! -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Friday, 19 December 2014 22:26:44 UTC