T
Toby Inkster
Check out the CSS comments on this file from the website of a major UK ISP...
http://www.ntlworld.com/styles/global.css
http://www.ntlworld.com/styles/global.css
Toby said:Check out the CSS comments on this file from the website of a major UK
ISP... http://www.ntlworld.com/styles/global.css
Check out the CSS comments on this file from the website of a major UK ISP...
http://www.ntlworld.com/styles/global.css
Toby said:Check out the CSS comments on this file from the website of a major UK ISP...
http://www.ntlworld.com/styles/global.css
Neredbojias said:text-indent: -5000px; /* hide text from css enabled browsers */
Jonathan said:One quick question Toby, how did you come to notice this? ;-)
Toby said:
That's a method of image-replacement, one of the more bad ones, methinks
(no method is actually good, some are just less bad than others). This
one leaves the visitor with nothing when image loading is disabled.
Neredbojias said:With neither quill nor qualm, kchayka quothed:
I'd say bad indeed. Why not just display:none; it if nothing else?
Els said:If it's used to hide text from screen-readers:
Make that "if it's used to hide text from graphical browsers but
display it for screen-readers:"
Neredbojias said:With neither quill nor qualm, Els quothed:
But a screen-reader wouldn't parse the text-indent line?
try FANGS, a Mozilla Firefox extension which outputs text which it wouldEls said:Nope. A screen-reader just reads out what is there, in the order it is
in. It doesn't tell the reader: "the next paragraph is a little bit to
the right". It also does't tell you if something is placed off-screen.
I use position:absolute;top:-1000px;left:-100px; for 'invisible links'
myself. I guess that ultimately, a screen-reader can do a lot, but not
detect your screensize and/or window size, font-size and scrollbar
position, and calculate whether a certain position of an element is
still visible to the visitor or not.
I guess they could implement that too, but so far it doesn't look like
they did.
You can download Jaws and try for yourself. It's an expensive program,
but there is a free '40-minute-mode', wich means you can use it for 40
minutes a day. Enough time to test the work of one day, usually
Nope. A screen-reader just reads out what is there, in the order it is
in. It doesn't tell the reader: "the next paragraph is a little bit to
the right". It also does't tell you if something is placed off-screen.
I use position:absolute;top:-1000px;left:-100px; for 'invisible links'
myself. I guess that ultimately, a screen-reader can do a lot, but not
detect your screensize and/or window size, font-size and scrollbar
position, and calculate whether a certain position of an element is
still visible to the visitor or not.
I guess they could implement that too, but so far it doesn't look like
they did.
You can download Jaws and try for yourself. It's an expensive program,
but there is a free '40-minute-mode', wich means you can use it for 40
minutes a day. Enough time to test the work of one day, usually
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.