Create a HTML toolbar widget
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
People
(Reporter: henry-x, Unassigned)
References
Details
We should create a HTML role="toolbar"
widget with focus management as specified here:
https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/
A basic toolbar would just be a list of buttons, but we will need additional flexibility for:
- Using plain
div
elements for styling purposes. - Using
role="group"
to group buttons. - Managing focus when buttons are added or removed (see the addon buttons and overflow button in the Spaces toolbar).
The Spaces toolbar handles a lot of this for itself, but it could be moved into a more abstract widget. Or if we find we want different implementations, we could use a controller class for the focus management (similar to SelectionWidgetController
in bug 1752532).
We might also want to look at the WAI example: https://www.w3.org/WAI/ARIA/apg/example-index/toolbar/toolbar.html
We could then replace some of the xul:toolbar elements with our HTML widget. This can be used to finally bring keyboard controls to these areas. I'll set this as blocking for any existing bugs in this area since this seems like a good solution for them.
We could also use it for the address book contact actions bar ("Write", "Event", "Search", "Edit").
Comment 2•2 years ago
•
|
||
This might also be adjacent to bug 1737361.
We will need a pretty in depth discussion and action plan for this.
Great initiative in opening this bug and with the overview!
Description
•