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

[whatwg] accesskey attribute with display:none elements

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Wed, 26 Nov 2008 00:16:37 +0200
Message-ID: <492C7945.2090604@helsinki.fi>
On 11/25/2008 11:54 PM, Benjamin Hawkes-Lewis wrote:
> 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?
What you mean? How do you focus a display:none element?

> 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.)
Aaron, any comments to this?

> And, either way, is there any reason why it should report the accesskey
> but not the element?
'it'? You mean "assistive technology" here? or what?

Received on Tuesday, 25 November 2008 14:16:37 UTC

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