Closed
Bug 1122857
Opened 10 years ago
Closed 10 years ago
form controls fail to emit TYPE_VIEW_CLICKED events upon state change.
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: drew, Assigned: maxli)
Details
Attachments
(1 file)
3.84 KB,
patch
|
eeejay
:
review+
|
Details | Diff | Splinter Review |
Confirmed on Kitkat, with firefox nightlies. Example page:
http://www.tizag.com/htmlT/htmlcheckboxes.php
A more in-depth discussion on the issue, with a screenreader patch:
https://groups.google.com/forum/#!topic/spielproject/aCcnm_Y48Ow
Comment 1•10 years ago
|
||
Steps to reproduce:
Open a website where there are some checkboxes or radio buttons in nightly.
Use your favorite method of navigation to reach a checkbox and observe its state checked or unchecked.
Now double tap anywhere on the screen in order to change the state of that checkbox.
Results:
checkbox will toggle the state but you will receive no feetback from your screen reader.
Expected results:
Your screen reader will announce new state as you double tap on a radio button and / or a checkbox.
Comment 2•10 years ago
|
||
Eitan, Max, are there any historic reasons we emit the event when clicking a button, but not when togling a checkbox?
Updated•10 years ago
|
Flags: needinfo?(maxli)
Flags: needinfo?(eitan)
Assignee | ||
Comment 3•10 years ago
|
||
It appears we explicitly don't send it out and instead use a state change event.
https://mxr.mozilla.org/mozilla-central/source/accessible/jsat/Presentation.jsm#318
Flags: needinfo?(maxli)
Comment 4•10 years ago
|
||
This should get fixed. We have a special case for toggle controls as Max points out. Apparently it is broken.
Flags: needinfo?(eitan)
Assignee | ||
Comment 5•10 years ago
|
||
It seems like the check to prevent sending this was mistakenly added, since the state change event which we depend on explicitly calls the actionInvoked presenter.
Assignee: nobody → maxli
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #8565624 -
Flags: review?(eitan)
Comment 6•10 years ago
|
||
Comment on attachment 8565624 [details] [diff] [review]
Patch
Review of attachment 8565624 [details] [diff] [review]:
-----------------------------------------------------------------
This looks right. Thanks!
Attachment #8565624 -
Flags: review?(eitan) → review+
Comment 7•10 years ago
|
||
Actually, one nit: could you write a comment on why the text is empty when the object is checkable?
Assignee | ||
Comment 8•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•