Closed Bug 386649 Opened 17 years ago Closed 17 years ago

<input type="text"> does not work as label for a <input type="radio">

Categories

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

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 213519

People

(Reporter: mihi, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a6pre) Gecko/20070702 Minefield/3.0a6pre Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a6pre) Gecko/20070702 Minefield/3.0a6pre I design a form for inputting several options in a radio field the last one should be an input form enabling the user to select and fill in whatever he wants to do. To my poor understanding the correct way would be to give every <input type="radio"> a <label for="that_radio">. For the last field i decided to put a <input type="text"> into the <label>. If i click on it the radio gets selected and i can't type in the input field. This is only possible if constantly clicking on the input field. Please see the demo url http://tema.lo-res.org/~mihi/demo.html for the code i used. If this not intended by the HTML standard please ignore my bug report. Reproducible: Always Steps to Reproduce: 1. visit http://tema.lo-res.org/~mihi/demo.html 2. click on the input field next to the radio 3. try to type Actual Results: it is not possible to type in the input field unless constantly clicking on it. Expected Results: i would expect to be able to write in the input field
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.