SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist
    Join Date
    Jul 2002
    Location
    Italy
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question 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?

  2. #2
    SitePoint Enthusiast Gridlight's Avatar
    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.
    Cheers,
    Gridlight

    BrowserCam for 30?! I'm in, are you?

  3. #3
    SitePoint Author silver trophybronze trophy

    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

  4. #4
    SitePoint Evangelist
    Join Date
    Jul 2002
    Location
    Italy
    Posts
    429
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •