SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Text only version of site
-
May 26, 2005, 01:12 #1
- Join Date
- Jul 2002
- Location
- Italy
- Posts
- 448
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Text only version of site
I'm trying to create an accessible version of a website using an alternate stylesheet. It's easy to "switch off" images etc with img {display:none} but is there any way in css to get the browser to show the alt text instead?
Or any text at all?
Is there anyway to display screen tips when not using a rodent?
-
May 26, 2005, 03:14 #2
- Join Date
- Apr 2005
- Location
- Oxford, UK
- Posts
- 59
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I havn't found a way to do EXACTLY what you want, but I personally always use background images for non-content or layout graphics, as these can easily be removed through css, and alt attributes would be meaningless, and use a mormal image tag for any content images.
If you're talking about a logo, for example, that should display an images on most browsers, but display alt text on others, or if the user has images disabled, then check out this link:
http://levin.grundeis.net/files/2003...ernatefir.html
There are some good links on this page too.
-
May 26, 2005, 03:47 #3
- Join Date
- Nov 2004
- Location
- Ankh-Morpork
- Posts
- 12,158
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Removing images does not make the page accessible. In fact, it's very likely to make it less accessible.
Use good ALT texts and leave the images alone. Users with images disabled or unsupported, or users with assistive technologies, will get the ALT text. Those who can see the images will still get them.Birnam wood is come to Dunsinane
-
May 26, 2005, 07:13 #4
- Join Date
- Jul 2002
- Location
- Italy
- Posts
- 448
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks both for your feedback. Hmm - yes - it seemed like a good idea to create a text-only flavour but perhaps not.
Bookmarks