Closed Bug 343657 Opened 19 years ago Closed 19 years ago

Choose Languages associated label not read by WindowEyes

Categories

(Firefox :: Disability Access, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 2 beta2

People

(Reporter: pilgrim, Assigned: pilgrim)

References

Details

(Keywords: access, fixed1.8.1)

Attachments

(1 file)

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.
Description was already trying to control the button, but the button lacked a matching id attribute.
Assignee: nobody → pilgrim
Status: NEW → ASSIGNED
Attachment #228164 - Flags: review?(bugs.mano)
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+
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
Target Milestone: --- → Firefox 2 beta2
Assignee: pilgrim → jwalden+bmo
Status: ASSIGNED → NEW
Whiteboard: [checkin needed]
Whiteboard: [checkin needed]
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.
(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.
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.
(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
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 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 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+
Whiteboard: [checkin needed]
Checked in on branch.
Keywords: fixed1.8.1
Whiteboard: [checkin needed]
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.

Attachment

General

Created:
Updated:
Size: