www.webdeveloper.com
Results 1 to 4 of 4

Thread: Can screen readers be told to ignore certain text?

  1. #1
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,617

    Can screen readers be told to ignore certain text?

    I was thinking of using a CSS technique to create a drop shadow effect on some titles. This would result in the html having what amounts to duplicate text:
    Code:
    <h1 class=shadow>Some Title</h1>
    <h1 class=top>Some Title</1>
    So what I'm wondering is, is there some technique via CSS or HTML to tell accessibilty tools like text-to-speach readers or such to ignore certain text (in this case, ignore the <h1 class=shadow>Some Title</h1> line)?
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  2. #2
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,279
    It's not 100%, but for CSS2 browsers you can specify medium specific styles. Set that element's "display" to "none" but not for the screen.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  3. #3
    Join Date
    Mar 2004
    Posts
    3,081
    There's a drop shadow style definition for text isn't there? It just isn't supported by browsers yet. I'm sure there is.
    I'm thuper, thanks for asking.

    It lives! http://www.stephenphilbin.com/ (Well it kinda' does anyway).
    My portable colour selection tool

  4. #4
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    Originally posted by Mr Herer
    There's a drop shadow style definition for text isn't there? It just isn't supported by browsers yet. I'm sure there is.
    There sure is, and the only browser that supports it is, of course, IE.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles