[webkit-changes] [WebKit/WebKit] 18d9a4: AX: VoiceOver doesn't read characters when user pr...

Commit Queue noreply at github.com
Tue Mar 12 14:45:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 18d9a43b9d86cc2a3e8fa52d54b470294a73b607
      https://github.com/WebKit/WebKit/commit/18d9a43b9d86cc2a3e8fa52d54b470294a73b607
  Author: Dominic Mazzoni <dm_mazzoni at apple.com>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    A LayoutTests/accessibility/mac/custom-text-editor-expected.txt
    A LayoutTests/accessibility/mac/custom-text-editor.html
    M Source/WebCore/accessibility/AXObjectCache.h
    M Source/WebCore/accessibility/mac/AXObjectCacheMac.mm

  Log Message:
  -----------
  AX: VoiceOver doesn't read characters when user presses left / right arrows in Monaco code editor
https://bugs.webkit.org/show_bug.cgi?id=270616
rdar://123984168

Reviewed by Andres Gonzalez.

When the character or selection extent moves by just one visible position, infer
that it was a character granularity move, rather than a discontiguous selection.

* LayoutTests/accessibility/mac/custom-text-editor-expected.txt: Added.
* LayoutTests/accessibility/mac/custom-text-editor.html: Added.
* Source/WebCore/accessibility/AXObjectCache.h:
* Source/WebCore/accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::inferDirectionFromIntent):
(WebCore::AXObjectCache::postTextStateChangePlatformNotification):

Canonical link: https://commits.webkit.org/275998@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list