Closed Bug 122479 Opened 23 years ago Closed 21 years ago

[mac] page access key with letters are not functional with A, Button, Textarea or Label elements

Categories

(Core :: Layout: Form Controls, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

VERIFIED FIXED
mozilla1.4final

People

(Reporter: chrispetersen, Assigned: Brade)

References

()

Details

(6 keywords, Whiteboard: [HTML4-17.11.2][se-radar][verified on trunk][fix landed on 1.4 branch])

Attachments

(2 files, 1 obsolete file)

Build: 2002-01-29-08 Platform: Mac OS X and OS 9 Expected Results: Access key should function on a Anchor, Label, and Button element in a HTML or XHTML document. What I got: Assigned "key" is not processed which is specified for the element Steps to reproduce: 1) Go to any of these three test cases: http://mozilla.org/quality/browser/standards/html/a_accesskey.html http://mozilla.org/quality/browser/standards/xhtml/transitional/button_accesskey.xml http://mozilla.org/quality/browser/standards/xhtml/transitional/label_accesskey.xml, 2) Press the Control key with the assigned "key". 3) Access key is ignored.
Summary: Access key not functional with A, Button, or Label elements → Access key is not functional with A, Button, or Label elements
Textarea element with accesskey attribute has this problem too.
Summary: Access key is not functional with A, Button, or Label elements → Access key is not functional with A, Button, Textarea or Label elements
Basically, looks like keydown events are not being processed.
Summary: Access key is not functional with A, Button, Textarea or Label elements → [pp]Accesskey is not functional with A, Button, Textarea or Label elements[
Adding nsbeta1
Keywords: nsbeta1, regression
Works fine on WINXP using 2002020512 build.
Reassigning to Don. Marking nsbeta1+
Assignee: rods → dcone
Keywords: nsbeta1nsbeta1+
Target Milestone: --- → mozilla1.0
Yes, this is a Mac only issue.
Keywords: nsbeta1+nsbeta1
Target Milestone: mozilla1.0 → ---
nsbeta1+
Keywords: nsbeta1nsbeta1+
Set milestone to Moz1.0
Target Milestone: --- → mozilla1.0
Keywords: testcase
Aaron, can you please add some information regarding this and section 508?
Keywords: access, topembed+
Whiteboard: needinfo
This isn't a Section 508 issue, although it is a major accessibility bug. Perhaps it should be marked nsbeta1- for now. The reason is, you can still use any of the interactive elements by tabbing to them. Section 508 only requires that you be able to use the keyboard, not that it be convenient.
nsbeta1-, topembed-, based on comment #11.
Keywords: html4, pp
Summary: [pp]Accesskey is not functional with A, Button, Textarea or Label elements[ → Accesskey is not functional with A, Button, Textarea or Label elements[
Whiteboard: needinfo → [HTML4-17.11.2]
QA Contact: madhur → tpreston
Remove minus from nsbeta1. This is a problem on the mac only that needs to be resolved. This is working in NS 6.2.3.
Keywords: nsbeta1-nsbeta1
Comment on attachment 77944 [details] [diff] [review] Patch to reduce the brightness of the color instead of hardcoded gray. It looks like this patch was posted to the wrong bug.
Attachment #77944 - Attachment is obsolete: true
Summary: Accesskey is not functional with A, Button, Textarea or Label elements[ → [mac] Accesskey is not functional with A, Button, Textarea or Label elements[
*** Bug 94376 has been marked as a duplicate of this bug. ***
*** Bug 149202 has been marked as a duplicate of this bug. ***
nsbeta1+
Keywords: nsbeta1nsbeta1+
Target Milestone: mozilla1.0 → mozilla1.2beta
*** Bug 168721 has been marked as a duplicate of this bug. ***
Per comment 3, is this blocked by bug 44259, bug 111335, or bug 148130?
This is not blocked by bug 44259. That bug is about shifted keyUp and keyDown events. Are accesskey events triggered by keyup, keypress, or keydown? This particular bug may be blocked by 111335 but I am unfamiliar with that bug since I hadn't seen it until just now.
*** Bug 175469 has been marked as a duplicate of this bug. ***
*** Bug 185765 has been marked as a duplicate of this bug. ***
->jkeiser, but reassign as needed.
Assignee: dcone → jkeiser
The OS-level 'Full keyboard access' might interfere with this, since it steals some Control-letter combinations, including Control-C. I'll take this, since it's Mac-only.
Assignee: jkeiser → sfraser
(Is there a related bug somewhere about enabling _command_ accesskeys in chrome dialogs?)
per comment 25: try changing the key to function keys (ie, if previously set to control+letter keys) in the Keyboard system pref, and see if this still occurs.
Oddly, Accesskey works with numbers. This works: <a href='/' accesskey='1'>Home</a> This doesn't: <a href='/' accesskey='h'>Home</a>
Summary: [mac] Accesskey is not functional with A, Button, Textarea or Label elements[ → [mac] page access key with letters are not functional with A, Button, Textarea or Label elements[
Whiteboard: [HTML4-17.11.2] → [HTML4-17.11.2][se-radar]
Target Milestone: mozilla1.2beta → ---
in widget/src/mac/nsMacEventHandler.cpp, a control-A keypress event goes through HandleUKeyEvent which explicitly passes false to the aConvertChar parameter (so the charcode is probably decimal 1 instead of character 'A') From what I can tell, no letter combinations work.
No longer blocks: 148130
Depends on: 148130
This bug was not fixed with the checkin to bug 184549 (which fixed bug 148130 and bug 111335). As I stated in previous comment, this has to do with character conversion and "Control" key.
This patch fixes all of the testcases I saw in this bug. I also tested these things and they all continue to work: control-space to open context menu in browser and composer typing in text widgets and composer opening new windows (mail compose and composer)
Comment on attachment 124067 [details] [diff] [review] patch to address controlkey-letter combinations note: I also tested typing Japanese and found no regression there either.
Attachment #124067 - Flags: superreview?(bryner)
Attachment #124067 - Flags: review?(sfraser)
->brade
Assignee: sfraser → brade
Comment on attachment 124067 [details] [diff] [review] patch to address controlkey-letter combinations Looks reasonable
Attachment #124067 - Flags: review?(sfraser) → review+
QA Contact: tpreston → sairuh
Comment on attachment 124067 [details] [diff] [review] patch to address controlkey-letter combinations >+ // translation already occurred for the string passed to this method. >+ if (keyEvent.isControl && keyEvent.charCode <= 26) One suggestion, here maybe you could use keyEvent.charCode <= 'Z' just for clarity. sr=bryner with or without that change.
Attachment #124067 - Flags: superreview?(bryner) → superreview+
fix checked into trunk; will see how it goes and consider asking for 1.4 if no regressions
Status: NEW → ASSIGNED
could we get this into the 1.4 branch? i'll test this out on a trunk build soon.
Flags: blocking1.4?
ran some tests using today's trunk build (comm, 2003.05.29.08 on 10.2.6). i had saved a copy of jesse's test at http://hopey.mcom.com/tests/page-accesskeys-jesse.html all the access keys worked there, except the ones (ctrl+W, ctrl+T) for which my OS settings (Keyboard sys pref) took precendence. the tests in comment 35 also appear to work. i'm going to mark this as fixed on the trunk. if we could check this into the branch, please add the fixed1.4 keyword. thanks!
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Whiteboard: [HTML4-17.11.2][se-radar] → [HTML4-17.11.2][se-radar][verified on trunk]
Comment on attachment 124067 [details] [diff] [review] patch to address controlkey-letter combinations requesting permission to land this mac-specific fix on the 1.4branch. It allows accesskeys to work. Sairuh has tested the trunk (where it already landed) and found no problems.
Attachment #124067 - Flags: approval1.4?
Comment on attachment 124067 [details] [diff] [review] patch to address controlkey-letter combinations a=asa (on behalf of drivers) for checkin to the 1.4 branch.
Attachment #124067 - Flags: approval1.4? → approval1.4+
I can land this on the 1.4 branch, if you need me to.
Summary: [mac] page access key with letters are not functional with A, Button, Textarea or Label elements[ → [mac] page access key with letters are not functional with A, Button, Textarea or Label elements
a=adt to land this on the 1.4 branch.
Summary: [mac] page access key with letters are not functional with A, Button, Textarea or Label elements → [mac] page access key with letters are not functional with A, Button, Textarea or Label elements[
Summary: [mac] page access key with letters are not functional with A, Button, Textarea or Label elements[ → [mac] page access key with letters are not functional with A, Button, Textarea or Label elements
fixed also landed on 1.4 branch
Flags: blocking1.4?
Keywords: fixed1.4
Whiteboard: [HTML4-17.11.2][se-radar][verified on trunk] → [HTML4-17.11.2][se-radar][verified on trunk][fix landed on 1.4 branch]
Target Milestone: --- → mozilla1.4final
vrfy'd on branch, 2003.06.03.05-1.4 (OS X 10.2.6).
Status: RESOLVED → VERIFIED
Keywords: fixed1.4verified1.4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: