[whatwg] accesskey attribute with display:none elements

Olli Pettay Olli.Pettay at helsinki.fi
Tue Nov 25 14:16:37 PST 2008


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?


-Olli



More information about the whatwg mailing list