This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27576 - Generic UI control role is required
Summary: Generic UI control role is required
Status: RESOLVED FIXED
Alias: None
Product: ARIA
Classification: Unclassified
Component: Spec (show other bugs)
Version: 1.1
Hardware: PC All
: P2 enhancement
Target Milestone: ---
Assignee: James Craig
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 20:09 UTC by Dylan Barrell
Modified: 2018-05-11 22:10 UTC (History)
2 users (show)

See Also:


Attachments

Description Dylan Barrell 2014-12-11 20:09:40 UTC
The current specification for ARIA defines a bunch of widget roles with explicit semantics that are commonly used across the Web but does not allow for the definition of a widget that is totally custom.

An example of such a widget is a "pan" control on a map.

In order to implement a pan control and allow the keyboard events to be delivered by default to the JavaScript handlers, implementors are forced to choose from the following imperfect solutions:

1) Use the application role
2) Use one of the other widget roles that provide for automatic switching between document browsing mode and application browsing mode

I propose either one of the following:

1) Changing the widget role from an abstract role to a widget role (preferred)
2) Creation a generic "control" role

In both instances, the aim would be that this would allow for the automatic switching from document browsing mode to application browsing mode and back again as focus moves to-and-from the element allowing implementors to then provide the required functionality.
Comment 1 Dominic Mazzoni 2015-01-20 16:43:40 UTC
I think this is an important use case. I proposed bug 27866 as a different potential solution.
Comment 2 James Nurthen 2018-05-11 22:10:52 UTC
Any reason we can't use role=application and aria-roledescription for this?