W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] accesskey attribute with display:none elements

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Tue, 25 Nov 2008 21:54:10 +0000
Message-ID: <492C7402.3010101@googlemail.com>
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
Received on Tuesday, 25 November 2008 13:54:10 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC