Opened 10 years ago

Closed 10 years ago

#10968 closed defect (fixed)

Tooltip: Jaws reads undisplayed tooltip at the bottom of the page

Reported by: Becky Gibson Owned by: Becky Gibson
Priority: high Milestone: 1.5
Component: Accessibility Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

with jaws running load dijit/tests/test_Tooltip.html

Tab to a field with a tooltip so that it gets displayed. Then tab to the bottom of the page to get to t5 text. Now arrow down so JAWS will speak the next line of text on the page (Tooltip connected with nodes......). Arrow down again and JAWS will read the next line (Tooltip hidden (initial)). Arrow down one more time and JAWS will speak the text of the last tooltip that was displayed.

This appears to occur because a div named dijit__MasterTooltip_0 was added to the page to support the tooltip. Dojo did not appear to remove or hide the content from the screen reader.

Attachments (1)

10968.patch (1.1 KB) - added by Becky Gibson 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Becky Gibson

Attachment: 10968.patch added

comment:1 Changed 10 years ago by Becky Gibson

This can be fixed by just removing the innerHTML from the containerNode in _onHide() at the end of the fade out. I also had to mark the iframe with role="presentation" in popup.js so that JAWS wouldn't announce the iframe. This corrects the problem of JAWS speaking the hidden tooltip without having to add display:none. I don't think this will affect the animations at all?

comment:2 Changed 10 years ago by bill

Description: modified (diff)
Summary: tooltip: Jaws reads undisplayed tooltip at the bottom of the pageTooltip: Jaws reads undisplayed tooltip at the bottom of the page

Patch looks good to me, go for it.

It's unclear why the MasterTooltip isn't set to visibility:hidden or even to display:none... I wish it was commented in the source code. Maybe the information can be gleaned from the SVN logs. But regardless, setting innerHTML="" sounds like a good idea.

Like you said, since you are setting innerHTML at the end of the animation it shouldn't affect anything visually.

comment:3 Changed 10 years ago by Becky Gibson

Resolution: fixed
Status: newclosed

(In [21819]) fixes #10968 - clear tooltip text when moved offscreen so it is not spoken by screen reader. Mark iframe used for popup as presentation so it is ignored by screen reader

Note: See TracTickets for help on using tickets.