Bug 132577

Summary: AX: VoiceOver does not announce text changes for content editable regions in Safari
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, commit-queue, dmazzoni, jcraig, jdiggs, mario, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
test case
none
patch none

Description chris fleizach 2014-05-05 12:27:08 PDT
Created attachment 230844 [details]
test case

See the test case attached. VoiceOver is not announcing the text changes for content editable regions. If you remove the "role" attribute, you do get the announcements, but VoiceOver incorrectly speaks the title of the HTML page along with the selection changes.

Test Case #1 - No announcements
1. Open the test1.html file attached to this radar
2. Turn on VoiceOver
3. Click inside the content editable region
4. Wait for the timer to fire twice, notice that no changes were announced

Test Case #2 - Multiple announcements overrunning each other
1. Open the test2.html file attached to this radar
2. Turn on VoiceOver
3. Click inside the content editable region
4. Wait for the timer to fire twice, notice that VoiceOver speaks the announcements, but incorrectly speaks the title of the HTML file and it interrupts the correct announcement that tells the user what changed in the selection.

<rdar://problem/15429607>
Comment 1 chris fleizach 2014-05-05 12:28:59 PDT
Created attachment 230845 [details]
patch
Comment 2 WebKit Commit Bot 2014-05-06 09:17:48 PDT
Comment on attachment 230845 [details]
patch

Clearing flags on attachment: 230845

Committed r168360: <http://trac.webkit.org/changeset/168360>
Comment 3 WebKit Commit Bot 2014-05-06 09:17:51 PDT
All reviewed patches have been landed.  Closing bug.