Create combobox accessibles for customizable select elements
Categories
(Core :: Disability Access APIs, task)
Tracking
()
People
(Reporter: eeejay, Assigned: eeejay)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
Attachments
(3 external files)
Add support for customizable select and make them work similar to regular selects with the exception of adding a new calculated value that uses the embedded button's contents.
| Assignee | ||
Comment 1•6 months ago
|
||
Updated•2 months ago
|
| Assignee | ||
Comment 2•2 months ago
|
||
A picker dropdown that does not loosely conform to a listbox (options,
or groups of options) should be considered a dialog instead of a
listbox.
In this implementation the determination of conformance happens when the
picker's a11y tree is created. If the content model changes because of a
mutation (eg. removal of a non-listbox accessible), the picker role will
not change. Because of the transient nature of the dropdown that doesn't
seem like a huge concern.
This patch introduces PreprocessSubtreeCreation and
PostprocessSubtreeCreation which give accessibles an opportunity to
signal to their descendants in what kind of context they are being
created, and an inverse signal to an ancestor about the nature of its
subtree. This allows accessibles to determine if they are being created
inside a picker and, if they are of a non-listbox-child type, signal to
the picker accessible that its role should be dialog.
This implementation is not perfect, it won't work with aria-owns, but it
is lightweight enough to not require extra tree traversals for a change
that is relatively trivial and transient.
| Assignee | ||
Comment 3•2 months ago
|
||
Now that we removed invisible combobox subtrees, and implemented
base-select, we can clean up some obsolete uses of HTMLComboboxListAccessible and friends.
Description
•