I have a <button>
with an accesskey assgined to it. The accesskey works fine as long as the button is visible, but when I set display: none
or visibility: hidden
, the accesskey no longer works.
Also tried without success:
- Use a different element type: a, input (various types, even typeless).
- Assign the accesskey to a label that wraps the invisible control.
Note, I'm not sure if this is the standard behavior, but prior to Firefox 3 the accesskey seemed to worked regardless of visibility.