Opened 11 years ago
Closed 11 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 )
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)
Change History (4)
Changed 11 years ago by
Attachment: | 10968.patch added |
---|
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Summary: | tooltip: Jaws reads undisplayed tooltip at the bottom of the page → Tooltip: 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 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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?