[webkit-changes] [WebKit/WebKit] 2670ad: AX: Accessible name computed incorrectly for displ...

Tyler Wilcock noreply at github.com
Tue Apr 25 10:25:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2670ad167491169737014d794154a0005d400eb0
      https://github.com/WebKit/WebKit/commit/2670ad167491169737014d794154a0005d400eb0
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M LayoutTests/accessibility/mac/figure-element-expected.txt
    M LayoutTests/accessibility/mac/figure-element.html
    M Source/WebCore/accessibility/AccessibilityNodeObject.cpp
    M Source/WebCore/accessibility/AccessibilityNodeObject.h
    M Source/WebCore/accessibility/AccessibilityRenderObject.cpp

  Log Message:
  -----------
  AX: Accessible name computed incorrectly for display:contents elements that rely on labels or captions ("title UI elements")
https://bugs.webkit.org/show_bug.cgi?id=255910
rdar://problem/108492642

Reviewed by Chris Fleizach.

Move non-renderer-specific behavior from AccessibilityRenderObject to
AccessibilityNodeObject.

* Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
* Source/WebCore/accessibility/AccessibilityNodeObject.h:
* Source/WebCore/accessibility/AccessibilityRenderObject.cpp:
* LayoutTests/accessibility/mac/figure-element-expected.txt:
* LayoutTests/accessibility/mac/figure-element.html:

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




More information about the webkit-changes mailing list