Open
Bug 1125813
Opened 11 years ago
Updated 4 years ago
Accesskey ignored if first matching input field's style is display:none — focus does not go to the subsequent fields with that key.
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
NEW
People
(Reporter: johnm, Unassigned)
References
Details
(Keywords: regression, reproducible, testcase)
Attachments
(1 file)
|
1.59 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150120155007
Steps to reproduce:
Fiddle is available at http://jsfiddle.net/gjsjohnmurray/k64t4fs1/
Define two or more <input> elements with the same accesskey attribute value, e.g. "Z". Style the first element as "display:none;"
Actual results:
Entering the accesskey combination (e.g. Shift+Alt+Z) does not move focus anywhere.
Expected results:
The accesskey combination should skip the hidden first field and put focus onto the second field (the first one that is visible).
Comment 1•11 years ago
|
||
firefox-2.0.0.20 always goes to the last field, but maybe it did not support Alt+Shift+<accesskey> yet, per bug 136041 comment 14.
WFM with 2008-09-18-02-mozilla-central-firefox-3.1b1pre.en-US.linux-x86_64
Reproduced with 2015-02-01-03-02-09-mozilla-central-firefox-38.0a1.ru.linux-x86_64. If the last field is focused, the accesskey does nothing visible. I guess the hidden field's accesskey fires, but focus does not move, so the next key is again of the hidden field.
Comment 2•11 years ago
|
||
g 2011-04-09-03-mozilla-central-firefox-4.2a1pre.en-US.linux-i686
g 2011-04-11-03-mozilla-central-firefox-4.2a1pre.en-US.linux-i686 09b605eb3e0d
b 2011-04-12-03-mozilla-central-firefox-4.2a1pre.en-US.linux-i686 a174b86200d6
b 2011-04-13-09-mozilla-central-firefox-6.0a1.en-US.linux-i686
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=09b605eb3e0d&tochange=a174b86200d6
bug 583514?
Blocks: 583514
Status: UNCONFIRMED → NEW
QA Whiteboard: [bugday-20150102]
Component: Untriaged → Layout: Form Controls
Ever confirmed: true
OS: Windows 8.1 → All
Product: Firefox → Core
Summary: Accesskey ignored if first matching field style is display:none → Accesskey ignored if first matching input field's style is display:none
Updated•11 years ago
|
QA Whiteboard: [bugday-20150102] → [bugday-20150202]
Updated•11 years ago
|
Summary: Accesskey ignored if first matching input field's style is display:none → Accesskey ignored if first matching input field's style is display:none — focus does not go to the subsequent fields with that key.
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•