Bug 183456

Summary: AX: WebKit seems to be running spell checker even on non-editable content text
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, commit-queue, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
test file
none
patch none

Description chris fleizach 2018-03-08 09:27:56 PST
Created attachment 335305 [details]
test file

WebKit seems to be performing spell checking on content when AX client requests attributed text content, even when the content is not within an editable text area.

Steps To Reproduce:
1. Open the attached HTML page in Safari
2. Turn on VoiceOver, then interact into the web content (VO-Shift-down arrow), then jump to next paragraph (VO-Shift-PageDown or Vo-Shift-Fn-down arrow) to land on the second paragraph

Results:
VO starts reading the second paragraph content as:
Where view. Around a to take to mouth. Often, misspelled, a, only, misspelled, their, and prudently, sacred.
Comment 1 chris fleizach 2018-03-08 09:28:11 PST
<rdar://problem/38076042>
Comment 2 chris fleizach 2018-03-08 16:34:58 PST
Created attachment 335367 [details]
patch
Comment 3 WebKit Commit Bot 2018-03-09 19:53:45 PST
Comment on attachment 335367 [details]
patch

Clearing flags on attachment: 335367

Committed r229500: <https://trac.webkit.org/changeset/229500>
Comment 4 WebKit Commit Bot 2018-03-09 19:53:47 PST
All reviewed patches have been landed.  Closing bug.