Closed
Bug 1203283
Opened 10 years ago
Closed 10 years ago
[AccessFu] Introduce Android "Control" traversal rule
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: eeejay, Assigned: eeejay)
References
Details
Attachments
(2 files)
1.54 KB,
patch
|
yzen
:
review+
|
Details | Diff | Splinter Review |
3.17 KB,
patch
|
Details | Diff | Splinter Review |
Besides form controls, it should also navigate to links.
Assignee | ||
Updated•10 years ago
|
Blocks: AndroidA11yUpdates
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → eitan
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8659476 -
Flags: review?(yzenevich)
Comment 2•10 years ago
|
||
Comment on attachment 8659476 [details] [diff] [review]
Introduce Android "Control" traversal rule.
Review of attachment 8659476 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, see my comments. Also a traversal test example would be a +.
::: accessible/jsat/Traversal.jsm
@@ +313,5 @@
> + Roles.SLIDER,
> + Roles.CHECKBUTTON,
> + Roles.CHECK_MENU_ITEM,
> + Roles.SWITCH,
> + Roles.LINK],
You might also want MENUITEM, and probably OUTLINEITEM (expand/collapse) and ROWHEADER (sorting)
@@ +320,5 @@
> + // We want to ignore anchors, only focus real links.
> + if (aAccessible.role == Roles.LINK &&
> + !Utils.getState(aAccessible).contains(States.LINKED)) {
> + return Filters.IGNORE;
> + }
Perhaps also check an action count? AFAIK, if control is disabled it will look as if there are no actions available.
Attachment #8659476 -
Flags: review?(yzenevich) → review+
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Yura Zenevich [:yzen] from comment #2)
> Comment on attachment 8659476 [details] [diff] [review]
> Introduce Android "Control" traversal rule.
>
> Review of attachment 8659476 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Looks good, see my comments. Also a traversal test example would be a +.
>
> ::: accessible/jsat/Traversal.jsm
> @@ +313,5 @@
> > + Roles.SLIDER,
> > + Roles.CHECKBUTTON,
> > + Roles.CHECK_MENU_ITEM,
> > + Roles.SWITCH,
> > + Roles.LINK],
>
> You might also want MENUITEM, and probably OUTLINEITEM (expand/collapse) and
> ROWHEADER (sorting)
>
> @@ +320,5 @@
> > + // We want to ignore anchors, only focus real links.
> > + if (aAccessible.role == Roles.LINK &&
> > + !Utils.getState(aAccessible).contains(States.LINKED)) {
> > + return Filters.IGNORE;
> > + }
>
> Perhaps also check an action count? AFAIK, if control is disabled it will
> look as if there are no actions available.
I don't think we should necessarily skip disabled form controls.
Assignee | ||
Comment 4•10 years ago
|
||
Added test and Role.MENUITEM to rule.
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•