Closed
Bug 865430
Opened 12 years ago
Closed 12 years ago
Synthesized a11y mouse events are indistinguishable from physical mouse events.
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: eeejay, Assigned: eeejay)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
954 bytes,
patch
|
surkov
:
review+
MarcoZ
:
feedback+
|
Details | Diff | Splinter Review |
This is a challenge in AccessFu where we need to intercept and cancel physical mouse and touch events. We need to let through mouse events that have been dispatched from nsIAccessible::doAction().
There are two options:
1. Create a new source in nsIDOMMouseEvent called MOZ_SOURCE_ACCESSIBILITY, and set mouse event sources to use it.
2. Set mouse event sources to MOZ_SOURCE_UNKNOWN. This is the convention used for scripted mouse events.
I think option 2 is good enough for now, since this is technically a scripted click.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #741495 -
Flags: review?(surkov.alexander)
Comment 2•12 years ago
|
||
Comment on attachment 741495 [details] [diff] [review]
Give dispatched mouse events from a11y an unkown input source.
Review of attachment 741495 [details] [diff] [review]:
-----------------------------------------------------------------
So you want to ignore it in AccessFu then unknown should work, I hope core doesn't process mouse source events differently.
Marco, it'd be good to have a testing of accessible actions
Attachment #741495 -
Flags: review?(surkov.alexander)
Attachment #741495 -
Flags: review+
Attachment #741495 -
Flags: feedback?(marco.zehe)
Updated•12 years ago
|
Assignee: nobody → eitan
Updated•12 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Updated•12 years ago
|
Blocks: actiona11y
Comment 3•12 years ago
|
||
Comment on attachment 741495 [details] [diff] [review]
Give dispatched mouse events from a11y an unkown input source.
f=me. This doesn't look like it's breaking screen reader interactions. I tested clickables, links, form field focusing from a screen reader etc., and all still work as expected.
Attachment #741495 -
Flags: feedback?(marco.zehe) → feedback+
Comment 4•12 years ago
|
||
Might change our mind if we later want to robot test.
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•