W3C home > Mailing lists > Public > www-style@w3.org > August 2009

Re: Shadows vs. layout

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 4 Aug 2009 08:31:58 -0500
Message-ID: <dd0fbad0908040631l7dbfc39es45df894a066d64e4@mail.gmail.com>
To: robert@ocallahan.org
Cc: Brad Kemper <brad.kemper@gmail.com>, David Hyatt <hyatt@apple.com>, fantasai <fantasai.lists@inkedblade.net>, W3C style mailing list <www-style@w3.org>
On Mon, Aug 3, 2009 at 10:38 PM, Robert O'Callahan<robert@ocallahan.org> wrote:
> On Tue, Aug 4, 2009 at 3:25 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
>>
>> On Aug 3, 2009, at 4:08 PM, David Hyatt wrote:
>>
>> In fact Web sites even deliberately hide elements offscreen using large
>> negative left/top values, so we couldn't scroll to reveal this stuff at this
>> point even if we wanted to. :)
>>
>> I could be wrong, but I thought we used to be able to do that on the right
>> also a few years ago, and then that got "fixed".
>
>
> You've never been able to do it on the right, at least not in Gecko.
>
> Note that doing it on the left stuffs up accessibility. It really shouldn't
> be done at all.

Sometimes we use it *for* accessibility, but that's often a large
negative text-indent instead.  Put text in your links, indent it way
off the left edge of the screen, then add backgrounds to make a good
image link.

These days I just use <img alt>, but I know that's a real common
technique touted for its accessibility benefits.

(It also means that text-indent is pretty much poisoned forever in
terms of the left edge.)

~TJ
Received on Tuesday, 4 August 2009 13:32:59 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:20 GMT