[whatwg] accesskey attribute with display:none elements

Benjamin Hawkes-Lewis bhawkeslewis at googlemail.com
Tue Nov 25 13:54:10 PST 2008


Olli Pettay wrote:
> I think allowing hidden elements to be activated is useful for web apps,
> especially because there isn't any API to add listeners for accesskey 
> activation.

Hmm …

Couldn't you style such elements visible with :focus and :active?

Does popular assistive technology report accesskey on elements that 
aren't rendered (display: none;) rather than merely hidden off-left 
(position:absolute; left:-99999em;)? (It tends not to report elements 
that are display: none; at all, note.)

And, either way, is there any reason why it should report the accesskey 
but not the element?

--
Benjamin Hawkes-Lewis



More information about the whatwg mailing list