[webkit-changes] [WebKit/WebKit] cb37d3: AX: Remove the redundant font NSAccessibilityVisib...
AndresGonzalezApple
noreply at github.com
Fri Jul 7 12:44:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cb37d350648cc55391944390f42f2bb45bbffec7
https://github.com/WebKit/WebKit/commit/cb37d350648cc55391944390f42f2bb45bbffec7
Author: Andres Gonzalez <andresg_22 at apple.com>
Date: 2023-07-07 (Fri, 07 Jul 2023)
Changed paths:
M LayoutTests/accessibility/mac/attributed-string/attributed-string-for-range-with-options.html
M LayoutTests/accessibility/mac/attributed-string/attributed-string-for-range.html
M LayoutTests/accessibility/mac/attributed-string/attributed-string-text-styling.html
M LayoutTests/accessibility/mac/lazy-spellchecking-expected.txt
M LayoutTests/accessibility/native-text-control-attributed-string-expected.txt
M LayoutTests/platform/mac/accessibility/content-editable-as-textarea-expected.txt
M LayoutTests/platform/mac/accessibility/element-line-rects-and-text-expected.txt
M Source/WebCore/accessibility/cocoa/AccessibilityObjectCocoa.mm
Log Message:
-----------
AX: Remove the redundant font NSAccessibilityVisibleNameKey attribute from the AttributedStrings returned by WebKit accessibility.
https://bugs.webkit.org/show_bug.cgi?id=256370
<rdar://problem/108949862>
Reviewed by Tyler Wilcock.
Removed the font NSAccessibilityVisibleNameKey attribute from the AttributedStrings returned by accessibility because it is redundant since AX clients can compute the VisibleName from the other conveyed font attributes.
* Source/WebCore/accessibility/cocoa/AccessibilityObjectCocoa.mm:
(WebCore::attributedStringSetFont):
* LayoutTests/accessibility/mac/attributed-string/attributed-string-for-range-with-options.html:
* LayoutTests/accessibility/mac/attributed-string/attributed-string-for-range.html:
* LayoutTests/accessibility/mac/attributed-string/attributed-string-text-styling.html:
* LayoutTests/accessibility/mac/lazy-spellchecking-expected.txt:
* LayoutTests/accessibility/native-text-control-attributed-string-expected.txt:
* LayoutTests/platform/mac/accessibility/content-editable-as-textarea-expected.txt:
* LayoutTests/platform/mac/accessibility/element-line-rects-and-text-expected.txt:
* LayoutTests/accessibility/mac/lazy-spellchecking-expected.txt:
Canonical link: https://commits.webkit.org/265859@main
More information about the webkit-changes
mailing list