Closed Bug 818343 Opened 13 years ago Closed 13 years ago

[AccessFu] Introduce gesture quick navigation

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla20

People

(Reporter: eeejay, Assigned: eeejay)

Details

Attachments

(1 file)

It is nice that we do it with a keyboard. But we really need to support it on screen-only devices.
Attachment #688551 - Flags: review?(dbolter)
Comment on attachment 688551 [details] [diff] [review] Introduce gesture quick navigation! Feedback: Absolutely awesome and working reliably! Suggestion: >+pref("accessibility.accessfu.quicknav_modes", "Link,ListItem,Heading,FormElement"); Move 'ListItem' to the end, and also add 'Table'. These are the most common things people jump to I believe. If we want to, we can add a settings panel where people can configure this later, and offer all supported quick nav elements to toggle. But that's a nice-to-have. I believe these would be highly appreciated as a start.
We may have to decrease the distance a swipe left and right with 3 fingers is considered a swipe. I notice that the left and right swipes with 3 fingers is often not recognized on the Galaxy Nexus. On the Nexus 7, it's no problem, but there, my fingers have more room to swipe.
Comment on attachment 688551 [details] [diff] [review] Introduce gesture quick navigation! Review of attachment 688551 [details] [diff] [review]: ----------------------------------------------------------------- ::: accessible/src/jsat/AccessFu.jsm @@ +442,5 @@ > + case 'swipeleft3': > + this.moveCursor('movePrevious', this.quickNavMode.current, 'gesture'); > + break; > + case 'swipedown3': > + this.quickNavMode.next(); cool. so here is our mode list... (instead of a dial)... WFM @@ +635,5 @@ > + }, > + > + updateModes: function updateModes(aPrefsBranch) { > + try { > + this.modes = aPrefsBranch.getCharPref('quicknav_modes').split(','); mild nit: I think I'd call it this.navmodes. ::: dom/locales/en-US/chrome/accessibility/AccessFu.properties @@ +116,5 @@ > +navigationMode = navigating > + > +# Quick navigation modes > +quicknav_Simple = Default > +quicknav_Anchor = Anchors How is this stuff used? ::: mobile/android/app/mobile.js @@ +632,5 @@ > pref("ui.scrolling.min_scrollable_distance", -1); > > // Enable accessibility mode if platform accessibility is enabled. > pref("accessibility.accessfu.activate", 2); > +pref("accessibility.accessfu.quicknav_modes", "Link,ListItem,Heading,FormElement"); nit: see MarcoZ above.
(In reply to David Bolter [:davidb] from comment #4) > Comment on attachment 688551 [details] [diff] [review] > Introduce gesture quick navigation! > > Review of attachment 688551 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: accessible/src/jsat/AccessFu.jsm > @@ +442,5 @@ > > + case 'swipeleft3': > > + this.moveCursor('movePrevious', this.quickNavMode.current, 'gesture'); > > + break; > > + case 'swipedown3': > > + this.quickNavMode.next(); > > cool. so here is our mode list... (instead of a dial)... WFM > > @@ +635,5 @@ > > + }, > > + > > + updateModes: function updateModes(aPrefsBranch) { > > + try { > > + this.modes = aPrefsBranch.getCharPref('quicknav_modes').split(','); > > mild nit: I think I'd call it this.navmodes. It is a member of quickNavMode, so it would be quickNavMode.navmodes, isn't that a bit redundant? > > ::: dom/locales/en-US/chrome/accessibility/AccessFu.properties > @@ +116,5 @@ > > +navigationMode = navigating > > + > > +# Quick navigation modes > > +quicknav_Simple = Default > > +quicknav_Anchor = Anchors > > How is this stuff used? It is spoken when the mode changes, and it is displayed front and center. > > ::: mobile/android/app/mobile.js > @@ +632,5 @@ > > pref("ui.scrolling.min_scrollable_distance", -1); > > > > // Enable accessibility mode if platform accessibility is enabled. > > pref("accessibility.accessfu.activate", 2); > > +pref("accessibility.accessfu.quicknav_modes", "Link,ListItem,Heading,FormElement"); > > nit: see MarcoZ above. I'll fix that.
Comment on attachment 688551 [details] [diff] [review] Introduce gesture quick navigation! Review of attachment 688551 [details] [diff] [review]: ----------------------------------------------------------------- ok r=me
Attachment #688551 - Flags: review?(dbolter) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Verified the added feature in 20.0a1 2012-12-12.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: