I can click a link that is displayed "off left."  On my test page at
http://www.cssprovingground.com/ there is a link relatively positioned
with left: -220px as the first element on the page. I can tab to the
link and activate the link using the enter key in Firefox, Internet
Explorer, and even Google Chrome.  Furthermore, this test reveals that
the problem may in fact be in the speed of the mouse 'click'.  Using
the same test page and positioning the mouse on 'Option 5' will allow
me to tab through all of the links on the page.  If I press the Enter
key when the desired 'Option 5' link is selected, the link will fire
and the display is still set to none properly.  Similarly this process
works if the mouse and keyboard selection are different, and
regardless of which link is selected in either process.

This does not work in browsers that do not allow for using the tab key
to move between links (which incidentally seems like an accessibility
flaw).

I will try some experiments using the visibility attribute rather than
the display attribute.

On Wed, Oct 8, 2008 at 6:38 PM, David Hucklesby <[EMAIL PROTECTED]> wrote:
> On Wed, 8 Oct 2008 15:39:17 -0600, Jack Blankenships wrote:
>
>> How does that "kill the child?" If the link has display: none, why does that 
>> have any
>> effect whatsoever on the clickability or the link or the resulting action?  
>> Doesn't
>> display none simply not show it on the page but allow it to exist in the DOM?
>>
>
> Yup. It's in the DOM - but not on the displayed page. Think of how
> you'd copy text that's positioned "off left"? (Or click a link that's
> off left, for that matter - though that's a less likely scenario.)
>
> Cordially,
> David
> --
>
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to