After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 433527 - [a11y] Improper use of <label> with combo boxes
[a11y] Improper use of <label> with combo boxes
Status: RESOLVED FIXED
Product: bugzilla.gnome.org
Classification: Infrastructure
Component: layout
unspecified
Other All
: Normal normal
: ---
Assigned To: Bugzilla Maintainers
Bugzilla Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-26 08:22 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2009-08-21 07:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joanmarie Diggs (IRC: joanie) 2007-04-26 08:22:15 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!!
Comment 1 Joanmarie Diggs (IRC: joanie) 2007-09-28 17:55:09 UTC
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!!
Comment 2 Max Kanat-Alexander 2009-08-21 07:01:29 UTC
This should be fixed in the current Bugzilla now.