Closed Bug 945 Opened 26 years ago Closed 26 years ago

LABEL doesn't work

Categories

(Core :: DOM: Core & HTML, defect, P1)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: angus, Assigned: karnaze)

References

()

Details

See URL for testcase of explicit label associations with an input element. Note this test case does not test for implicit associations, of the fashion: <label> Yes <input type="radio" id="decision" value="yes"> </label> <label> No <input type="radio" id="decision" value="no"> </label> LABEL is required for, among other things, HTML dialogs in an XPFE.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
so i've been looking at this bug. AFAIK, there are two requirements for label in the HTML 4.0 specs: 1. click on the label, the check box toggles. this works. 2. click on the label, and it gets a dashed border, or some other visual indication that it has the focus. this is not apparent as of the 09.december.1998 seamonkey build. i'm prepared to mark this bug verified fixed if you guys don't think #2 is important, i think it is important to eventually fix. should this be re-opened?
This bug should be fixed because labels work. A separate bug should be opened, essentially stating that form elements with focus need to get a dotted "outline" (see CSS2 spec for definition of "outline"). Note that the best way to implement this is through a pseudo class for focused elements, something like: LABEL:focus { outline: 1px dotted black; } I'll open this as a separate bug #1859.
Status: RESOLVED → VERIFIED
all right then, this is verified on build 981204 and a few builds before that one...
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.