Collapse multiple concepts of "generic" role into one generic
Categories
(Core :: Disability Access APIs, task)
Tracking
()
People
(Reporter: nlapre, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [a11y-techdebt])
Right now, there are a fair few things we consider "generic" in Gecko. Consider the IsGeneric
function, which surfaces this complexity. There are probably other places besides IsGeneric
call sites that check for generic-ness.
The issue here is that there's now an ARIA "generic" role, which is a good impetus for us to collapse all of our quote-unquote generics down to a single generic classification. It would be great if IsGeneric
was equivalent to checking whether the role is roles::GENERIC
. Part of addressing this bug will be promoting "generic" to a real Gecko role. The other part will involve finding and addressing all of the places where we check generic-ness.
Updated•1 year ago
|
Comment 1•11 months ago
|
||
Anna pointed out that XUL accessibles without a usable role currently return roles::NOTHING. I think this is because they fall back to LocalAccessible::NativeRole, since they aren't HyperTextAccessibles. We should probably make LocalAccessible::NativeRole return this new generic role.
Updated•11 months ago
|
Description
•