Bug 132662 - AX: VoiceOver is ignoring live regions created after the document loads
Summary: AX: VoiceOver is ignoring live regions created after the document loads
Status: RESOLVED DUPLICATE of bug 124381
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-05-07 14:01 PDT by Dominic Mazzoni
Modified: 2014-05-28 13:05 PDT (History)
3 users (show)

See Also:


Attachments
Html that demonstrates the bug (1.31 KB, text/html)
2014-05-07 14:02 PDT, Dominic Mazzoni
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Mazzoni 2014-05-07 14:01:42 PDT
The attached html file demonstrates the bug. In Safari 7.0.3 on OS X 10.9.2, when you add an additional live region to the page and then change its text, nothing is announced.

I was able to figure out a hacky workaround in Chromium that would probably work in WebKit/Mac too - if I remove the wrapper object for the root webarea node and recreate it, then fire a notification on it, that seems to trick VoiceOver into re-scanning the document for live regions and then it works correctly.

Does this look like a VoiceOver bug or is there a more proper fix that can be applied in WebKit?
Comment 1 Dominic Mazzoni 2014-05-07 14:02:17 PDT
Created attachment 231020 [details]
Html that demonstrates the bug
Comment 2 Radar WebKit Bug Importer 2014-05-07 14:02:24 PDT
<rdar://problem/16844111>
Comment 3 chris fleizach 2014-05-07 14:05:09 PDT
I haven't tried out your test case, but this may have been fixed with

        AX: Improve ARIA live region reliability by sending notifications when live regions are created/shown and hidden/destroyed
        https://bugs.webkit.org/show_bug.cgi?id=124381
Comment 4 Dominic Mazzoni 2014-05-07 14:51:35 PDT
You're right, that will probably solve it.

I can't find docs for NSAccessibilityLiveRegionCreatedNotification - can you tell me what OS X version added support for it?
Comment 5 chris fleizach 2014-05-07 14:55:25 PDT
(In reply to comment #4)
> You're right, that will probably solve it.
> 
> I can't find docs for NSAccessibilityLiveRegionCreatedNotification - can you tell me what OS X version added support for it?

It's a web only thing. It's just defined in WebCore as is
Comment 6 Dominic Mazzoni 2014-05-07 15:06:37 PDT
The example I uploaded still doesn't work correctly when I try today's WebKit Nightly on OS X 10.9.2, so I'm assuming that AXLiveRegionCreated will only be supported in a future version of VoiceOver.
Comment 7 chris fleizach 2014-05-07 15:26:57 PDT
(In reply to comment #6)
> The example I uploaded still doesn't work correctly when I try today's WebKit Nightly on OS X 10.9.2, so I'm assuming that AXLiveRegionCreated will only be supported in a future version of VoiceOver.

that is a fair assumption
Comment 8 James Craig 2014-05-28 13:05:22 PDT

*** This bug has been marked as a duplicate of bug 124381 ***