- From: <bugzilla@jessica.w3.org>
- Date: Thu, 18 Dec 2014 23:17:14 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27294 --- Comment #17 from Philip Jägenstedt <philipj@opera.com> --- (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. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 18 December 2014 23:17:16 UTC