[webkit-changes] [WebKit/WebKit] 99e0cc: [ATSPI] Modal element containing only StaticText i...

Vitaly Dyachkov noreply at github.com
Thu Dec 1 06:37:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 99e0cc3c3dd2a926cd667cfab52cf403a0bfbae8
      https://github.com/WebKit/WebKit/commit/99e0cc3c3dd2a926cd667cfab52cf403a0bfbae8
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

  Changed paths:
    M Source/WebCore/accessibility/AXObjectCache.cpp

  Log Message:
  -----------
  [ATSPI] Modal element containing only StaticText is ignored
https://bugs.webkit.org/show_bug.cgi?id=246329

Reviewed by Carlos Garcia Campos.

A modal element will not be set as the current modal when it has no
accessible content. But when using AT-SPI, an object with
AccessibilityRole::StaticText is ignored, since we expect its parent
to implement org.a11y.atspi.Text interface itself.

Fixes `accessibility/custom-elements/modal.html` time out.

* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::modalElementHasAccessibleContent):

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




More information about the webkit-changes mailing list