Closed Bug 66462 Opened 24 years ago Closed 24 years ago

radio buttons and checkboxes should use <label>s

Categories

(Bugzilla :: Bugzilla-General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 14887

People

(Reporter: alecf, Assigned: justdave)

Details

Attachments

(1 file)

HTML4 (and thus mozilla) support the concept of a "label" for checkboxes and
form fields.

basically if you say

<input type=radio id=foo><label for=foo>Click Me!</label>

then clicking the text in "Click Me!" will check/uncheck the box, like a native
widget.
I'm working on patches for this right now.
For this to have any chance of getting approved, it had better not mess up
non-mozilla browsers.

*ahem*
not to worry, IE supports <label>s and other browsers (i.e. Navigator) ignore
<label>s and just show the text inside of them.
There are already patches over at bug #14887.


*** This bug has been marked as a duplicate of 14887 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vrfy dupe of bug 14887 w/ patches
bugzilla should use <label> tag in forms
Status: RESOLVED → VERIFIED
Keywords: patch
moving to Bugzilla product
reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: