Open
Bug 280138
Opened 20 years ago
Updated 2 years ago
Use JSON role & state information
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
NEW
People
(Reporter: aaronlev, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Right now we use a hardcoded table in nsAccessible.cpp to store information
about DHTML roles. Each DHTML role actually points to an entry in an online RDF
database, and we eventually need to use that instead.
Currently we're doing something like this:
nsRoleMapEntry nsAccessible::gWAIRoleMap[] =
{
{"button", ROLE_PUSHBUTTON, 0, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}},
{"checkbox", ROLE_CHECKBUTTON, 0, {"checked", "true", STATE_CHECKED},
{"readonly", 0, STATE_READONLY}, {0, 0, 0}},
Reporter | ||
Comment 1•17 years ago
|
||
Note that we had to use a hack in bug 390129 to support EXPANDED without COLLAPSED on combo box. I think we should work to remove that hack once we move to the RDF approach, after Firefox 3.
Reporter | ||
Updated•17 years ago
|
Reporter | ||
Comment 2•17 years ago
|
||
The current proposal is to allow roles and properties to be defined in JSON. If we go that way, I think we should keep the hardcoded role support as it is.
However, this isn't part of ARIA 1.0 and still needs to be talked to death before it moves forward. Here's a rough proposal:
http://wiki.mozilla.org/Accessibility/JSON_ARIA
Summary: Use RDF role & state information → Use JSON role & state information
Updated•13 years ago
|
Comment 4•8 years ago
|
||
Alex, have you heard anything further about this for ARIA 2.0 or the like? It definitely isn't part of ARIA 1.1.
Flags: needinfo?(surkov.alexander)
Comment 5•8 years ago
|
||
These are definitely interesting 10 years old but still relevant ideas, and quite close to taxonomies I outlined here [1]. I'm not quite sure where ARIA 2.0 goes to, but I think these ideas will be likely be developed either by ARIA or AOM or something else one day. I'm not sure though if need to keep this bug, we have a wiki page from comment #2, that we can rely on.
[1] https://wicg.github.io/a11yapi/taxonomy.html
Flags: needinfo?(surkov.alexander)
Allow roles and properties to be defined in JSON.
JSON formatter https://jsonformatter-online.com
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•