Closed Bug 472694 Opened 17 years ago Closed 17 years ago

accesskey does not work for hidden links

Categories

(Firefox :: Keyboard Navigation, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 419059

People

(Reporter: jfitzell, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 If an href anchor is inside a <div> styled with "display:none", then using its accesskey has no effect. Reproducible: Always Steps to Reproduce: Put the following into an HTML file. Open it in Firefox. Press Ctrl+l (on the Mac - or whatever it is on our platform to trigger acceskeys). <html> <head><title>foo</title></head> <body> <div id="login" style="display: none;"> <ul> <li> <a class="link" href="http://example.com/" title="Login (l)" accesskey="l">Login</a> </li> </ul> </div> </body> </html> Actual Results: Nothing happens Expected Results: The link is activated
Whiteboard: DUPEME
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.