WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: best tooltip markup and behavior?

for

From: Jared Smith
Date: Dec 8, 2011 9:09AM


On Thu, Dec 8, 2011 at 7:21 AM, GILLENWATER, ZOE M wrote:

> But the disadvantages are that the user has to hear the tooltip text when reading through the page

It may be a disadvantage. If the text is useful, I don't see a problem
having it read linearly in the page. If it's lengthy text, then this
could be burdensome.

> you get a focus outline around the tooltip instead of just the trigger, and a user might try to activate the bogus link.

This can be resolved with styling - remove outline and add a border
(or whatever styles match your focused links).

> Dang, though! It would have been so nice to be able to only let the text be read on focus.

I can't think of a way to do this without JavaScript. The text is
either readable or it isn't. To toggle its readability state
(display:none) on focus AND have JAWS pick up that change requires
JavaScript.

> I don't have to press Tab to focus the link and then Enter. Are we misunderstanding each other?

VoiceOver works this way because it focuses links in reading mode. I
see that JAWS allows you to press Enter while reading to activate the
link - if your timing is just right. Unless I'm confused, with NVDA,
you must tab to the link.

Jared