Closed
Bug 343657
Opened 19 years ago
Closed 19 years ago
Choose Languages associated label not read by WindowEyes
Categories
(Firefox :: Disability Access, defect)
Tracking
()
RESOLVED
FIXED
Firefox 2 beta2
People
(Reporter: pilgrim, Assigned: pilgrim)
References
Details
(Keywords: access, fixed1.8.1)
Attachments
(1 file)
1.43 KB,
patch
|
asaf
:
review+
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
Steps to reproduce:
1. Select Tools/Options
2. Tab to Connection Settings button. WindowEyes speaks "Connection.
Connection Settings. O. Button. Determine how Bon Echo connects to the
Internet." In order, this is the group box label, the button label, the button
accesskey, the focused element type, and the associated text label.
3. Now go to Advanced pane and tab to Edit Languages button. WindowEyes speaks "Languages. Edit Languages. L. Button."
Expected outcome:
WindowEyes should speak "Languages. Edit Languages. L. Button. Choose Languages web pages are displayed in." In other words, it should read
what it's reading now, but then also read the text of the associated label.
Assignee | ||
Comment 1•19 years ago
|
||
Description was already trying to control the button, but the button lacked a matching id attribute.
Comment 2•19 years ago
|
||
Comment on attachment 228164 [details] [diff] [review]
add missing id attribute to button so description can point to it
r=mano
Attachment #228164 -
Flags: review?(bugs.mano) → review+
Assignee | ||
Comment 3•19 years ago
|
||
Updated title to reflect changed wording after preferences reorg. (Bug still exists, but the patch has almost certainly rotted.)
Summary: Edit Languages associated label not read by WindowEyes → Choose Languages associated label not read by WindowEyes
Assignee | ||
Updated•19 years ago
|
Target Milestone: --- → Firefox 2 beta2
Assignee | ||
Updated•19 years ago
|
Assignee: pilgrim → jwalden+bmo
Status: ASSIGNED → NEW
Assignee | ||
Updated•19 years ago
|
Whiteboard: [checkin needed]
Assignee | ||
Updated•19 years ago
|
Whiteboard: [checkin needed]
Comment 4•19 years ago
|
||
This patch doesn't work, because descriptions don't actually support associated controls. Labels do, but descriptions don't. The question now becomes whether we want to use a label here, which to the best of XULPlanet's knowledge can't wrap.
Assignee | ||
Comment 5•19 years ago
|
||
(In reply to comment #4)
> This patch doesn't work, because descriptions don't actually support associated
> controls. Labels do, but descriptions don't.
That's just not true, and if it is true, it's a bug. We use the <description control="..."> idiom in many places.
Comment 6•19 years ago
|
||
As Mark said, description supports the control attribute.
XUL planet mentions this, but has incorrect info as to what it does:
http://xulplanet.com/references/elemref/ref_description.html
When used with a description is affects how screen readers speak controls that receive focus. It does not affect mouse usage at all. The XUL Planet entry needs to be fixed.
Comment 7•19 years ago
|
||
(In reply to comment #6)
> As Mark said, description supports the control attribute.
Oops, sorry about that -- I was looking at too high a level (the XBL bindings) to see that this was so:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/accessible/src/base/nsAccessible.cpp&rev=1.203&mark=240#223
I'll check in the fix so this can be verified in tinderbox builds.
Assignee: jwalden+bmo → pilgrim
Comment 8•19 years ago
|
||
Oops, still not even the right code:
http://lxr.mozilla.org/mozilla/source/accessible/src/base/nsAccessible.cpp#2205
But anyway, in on trunk, so requesting approval for a no-risk fix in a sec...
Comment 9•19 years ago
|
||
Comment on attachment 228164 [details] [diff] [review]
add missing id attribute to button so description can point to it
This properly associates a label for a button with the button for screen readers; it's an extremely low-risk fix.
Attachment #228164 -
Flags: approval1.8.1?
Comment 10•19 years ago
|
||
Comment on attachment 228164 [details] [diff] [review]
add missing id attribute to button so description can point to it
a=schrep for drivers.
Attachment #228164 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Updated•19 years ago
|
Whiteboard: [checkin needed]
Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•