GNOME Bugzilla – Bug 433527
[a11y] Improper use of <label> with combo boxes
Last modified: 2009-08-21 07:01:29 UTC
If you look at the form fields that follow the attachment section, you'll see a series of combo boxes that take the form: <label for="myName"> <select name="myName" id="myName"> ... </select> </label> As a result of this markup, the label associated with the combo box is not the functional label (e.g. "OS"); instead it's the entire contents of the combo box (e.g. "All AIX BSDI Cygwin GNU Hurd HP-UX IRIX Linux FreeBSD NetBSD OpenBSD opensolaris OSF/1 Solaris BeOS Macintosh Neutrino OS/2 Windows OpenVMS other"). When providing access to form fields on web pages, screen reading software automatically speaks and displays in braille the label of the form field with focus to let the user know what information is expected there. Because of the current markup in bugzilla, the functional label isn't spoken and the entire contents of the combo box are. This is making it difficult for one of the Orca developers to access the information in these fields. The solution to this problem would be to move the <label></label> so that the functional label is surrounded instead. Thanks!!
Ping. :-) And a pointer to the Mozilla patch: https://bugzilla.mozilla.org/show_bug.cgi?id=281691 We hacked around some of the issue in Orca, but it keeps coming up necessitating new hacks -- and then those hacks turn out to be problematic. :-( So I hate to be a noodge, but if there's any way y'all could fix it on your end, we'd be most appreciative. Thanks!!
This should be fixed in the current Bugzilla now.