[webkit-changes] [WebKit/WebKit] 417e6a: AX: AXPropertyName::CanSetSelectedAttribute is not...

Tyler Wilcock noreply at github.com
Fri Dec 20 12:23:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 417e6ae394e17923da56161b8af4fc84730562f9
      https://github.com/WebKit/WebKit/commit/417e6ae394e17923da56161b8af4fc84730562f9
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    A LayoutTests/accessibility/mac/dynamic-aria-disabled-can-set-selected-expected.txt
    A LayoutTests/accessibility/mac/dynamic-aria-disabled-can-set-selected.html
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp

  Log Message:
  -----------
  AX: AXPropertyName::CanSetSelectedAttribute is not updated when element enabled state changes
https://bugs.webkit.org/show_bug.cgi?id=285006
rdar://141800770

Reviewed by Chris Fleizach.

When an element's enabled state changes, all descendants need to re-compute whether they can set AXSelected
(AXPropertyName::CanSetSelectedAttribute).

* LayoutTests/accessibility/dynamic-aria-disabled-can-set-selected-expected.txt: Added.
* LayoutTests/accessibility/dynamic-aria-disabled-can-set-selected.html: Added.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::updateIsolatedTree):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::updateNodeProperties):

Canonical link: https://commits.webkit.org/288181@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