Closed Bug 277738 Opened 20 years ago Closed 20 years ago

Inconsistent handling of accesskey on checkbox and on checkbox label

Categories

(Toolkit :: Form Manager, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

()

Details

(Keywords: access, html4, testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Accesskeys for checkbox <label>s are handled differently than accesskeys on checkboxes <input>s. In Mozilla 1.0.2—/Netscape 7.01—/Firefox: Reproducible: Always Steps to Reproduce: Example: <label><input accesskey="C" type="checkbox">on the <strong>C</strong>heckbox</label> <label accesskey="L"><input type="checkbox">on the <strong>L</strong>abel</label> Actual Results: Accesskey C gives focus to first checkbox on the first invocation, toggles the checkbox on the second and subsequent invocations. (The checkbox is toggled only if it *was* in focus.) Accesskey L gives focus to the second checkbox and activates it on the first invocation. It does not toggle the checkbox on second and subsequent invocations. (The checkbox is toggled only if it *was not* in focus.) Expected Results: I would expect both to be handled as in Mozilla 0.6–1.0.1, always toggling the associated checkbox.
Blocks: robin's, 159199
Attached file Test file
Alias: checkbox-accesskey
No longer blocks: 159199
Keywords: access
Component: General → Form Manager
Product: Mozilla Application Suite → Core
Version: unspecified → 1.7 Branch
Blocks: html4.01
Keywords: html4
Keywords: testcase
On further testing, Mozilla 1.8a2-1.8a5 always toggles checkboxes, like Mozilla 0.6-1.0.1. Perhaps a fix has already been checked in for this bug?
WFM, Mozilla 2005-01-11-07 trunk Linux. -> WORKSFORME
Alias: checkbox-accesskey
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Core → Toolkit
QA Contact: general → form.manager
Version: 1.7 Branch → 1.0 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: