Closed Bug 249813 Opened 21 years ago Closed 21 years ago

Focus outlines for checkboxes and radios should surround <label>

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 142898

People

(Reporter: aaronlev, Assigned: aaronlev)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

Steps: 1. Load a page with radio buttons or checkboxes that use <label> to associate a text label with each. 2. Click on a radio button or checkbox, or navigate to it with the keyboard What happens: The focus outline is around the actual radio button or checkbox Expected: The focus outline is around the label. IE gets it right.
Neo, will you take this bug? BTW, usually the radio button or checkbox comes before the label, but your testcase is okay since it should work either way.
Technically you should be able to enclose the button and text in the same label but IE doesn't like that...
(In reply to comment #3) > Technically you should be able to enclose the button and text in the same label > but IE doesn't like that... Do you mean enclose them in the same focus outline?
This is a dup of bug 142898.
*** This bug has been marked as a duplicate of 142898 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: