Closed
Bug 752125
Opened 12 years ago
Closed 12 years ago
[AccessFu] Switch to a role-based traversal rule
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: eeejay, Assigned: eeejay)
Details
Attachments
(1 file)
4.18 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
For simplicitly, I originally implemented a traversal rule that lands on all leaves and reads their unique lineage. This has ended up being problematic. For example dijit widgets don't have an action assigned to the text leaf at the tip of a widget.
TinyMCE's toolbar has empty paragraphs at the tip of its buttons, using aria-labelledby instead.
So to be more agnostic as to how a widget is implemented, be it native or aria, we should probably switch over to a role traversal rule. And if needed, have more logic for specific roles in the match function.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #621232 -
Flags: review?(dbolter)
Comment 2•12 years ago
|
||
I want to go over some high level stuff with you before review (probably Monday).
Comment 3•12 years ago
|
||
Comment on attachment 621232 [details] [diff] [review]
Switch to a role-based traversal rule.
Review of attachment 621232 [details] [diff] [review]:
-----------------------------------------------------------------
ok r=me
::: accessible/src/jsat/VirtualCursorController.jsm
@@ +120,5 @@
>
> preFilter: Ci.nsIAccessibleTraversalRule.PREFILTER_DEFUNCT |
> Ci.nsIAccessibleTraversalRule.PREFILTER_INVISIBLE,
>
> match: function(aAccessible) {
tempting to do let rule=Ci.nsIAccessibleRole and case rule.ROLE_FOO
Attachment #621232 -
Flags: review?(dbolter) → review+
Comment 4•12 years ago
|
||
Actually we could consider consts like we do in our mochitests.
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to David Bolter [:davidb] from comment #4)
> Actually we could consider consts like we do in our mochitests.
Yeah, this is a bigger problem in this module, event consts too. Need to open a bug for that.
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Assignee: nobody → eitan
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in
before you can comment on or make changes to this bug.
Description
•