Closed
Bug 924983
Opened 11 years ago
Closed 11 years ago
[AccessFu] Support range widget adjustment with up/down swipes
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: eeejay, Assigned: eeejay)
Details
Attachments
(1 file)
3.73 KB,
patch
|
yzen
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Up/down will be used for more than just range widgets, but here is a start.
Comment 2•11 years ago
|
||
Comment on attachment 814960 [details] [diff] [review] Introduce context actions This looks good for a start. Equally, if not even more, important are things like moving by character or word, esp in FF OS, which should also be supported by this up down swipe I think. I do not think it is useful to tie left and right swipes to different granularities like Android does.
Assignee | ||
Updated•11 years ago
|
Attachment #814960 -
Flags: review?(yura.zenevich)
Comment 3•11 years ago
|
||
Comment on attachment 814960 [details] [diff] [review] Introduce context actions Review of attachment 814960 [details] [diff] [review]: ----------------------------------------------------------------- Looks great! r=me with the tiniest nits. ::: accessible/src/jsat/content-script.js @@ +329,5 @@ > +function adjustRange(aMessage) { > + function sendUpDownKey(aAccessible) { > + let evt = content.document.createEvent('KeyboardEvent'); > + let keycode = aMessage.json.direction == 'forward' ? > + content.KeyEvent.DOM_VK_DOWN : content.KeyEvent.DOM_VK_UP; Nit: too many spaces. @@ +332,5 @@ > + let keycode = aMessage.json.direction == 'forward' ? > + content.KeyEvent.DOM_VK_DOWN : content.KeyEvent.DOM_VK_UP; > + evt.initKeyEvent( > + "keypress", false, true, null, false, false, false, false, keycode, 0); > + if (aAccessible.DOMNode) NIT: {} around the if statement.
Attachment #814960 -
Flags: review?(yura.zenevich) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/15dc352386e8
Assignee: nobody → eitan
https://hg.mozilla.org/mozilla-central/rev/15dc352386e8
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in
before you can comment on or make changes to this bug.
Description
•