• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Hiding web content from view, but making it available to VoiceOver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hiding web content from view, but making it available to VoiceOver


  • Subject: Hiding web content from view, but making it available to VoiceOver
  • From: "E.J. Zufelt" <email@hidden>
  • Date: Sun, 14 Mar 2010 03:30:18 -0400

Good evening,

We are currently working on an issue in the Drupal community where we are trying to determine an appropriate method to provide a CSS class definition that when applied to an element will hide the element visually, but will allow the element to be visible to screen-readers.

http://drupal.org/node/718922#comment-2717438

Our current class definition is:

.element-invisible {
  height: 0;
  overflow: hidden;
  position: absolute;
}

To the best of my knowledge this class performs as expected with all screen-readers tested, including VoiceOver on OS X Leopard.  However, the class doesn't seem to work as expected with VoiceOver on Snow Leopard.  When elements have this class applied VoiceOver on Snow Leopard will read the name of he element, and sometimes a relevant attribute, but not the text.

For example:

<code>
<h1 class="element-invisible">This is a heading</h1>
<a href="" class="element-invisible">This is a link</a>
</code>

Will be read by VoiceOver / Safari 4.0.5 on Snow Leopard as:

Heading level 1, text
Link, 'slash'

I am curious if the Apple community has a recommended best practice to visually hide web content, but to make that content available to screen-readers like VoiceOver?

Thank you in advance,
Everett Zufelt
http://zufelt.ca

Follow me on Twitter
http://twitter.com/ezufelt

View my LinkedIn Profile
http://www.linkedin.com/in/ezufelt



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Hiding web content from view, but making it available to VoiceOver
      • From: Benjamin Hawkes-Lewis <email@hidden>
  • Prev by Date: Re: Question about new AXVisibleCells attribute
  • Next by Date: Re: Hiding web content from view, but making it available to VoiceOver
  • Previous by thread: Re: Question about new AXVisibleCells attribute
  • Next by thread: Re: Hiding web content from view, but making it available to VoiceOver
  • Index(es):
    • Date
    • Thread