[webkit-changes] [WebKit/WebKit] 9c513c: AX: VoiceOver cannot navigate tables on alaskaair....

Chris Fleizach noreply at github.com
Sun Jan 8 09:35:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9c513c53020563e1abf315a6b2534783471f4693
      https://github.com/WebKit/WebKit/commit/9c513c53020563e1abf315a6b2534783471f4693
  Author: Chris Fleizach <cfleizach at apple.com>
  Date:   2023-01-08 (Sun, 08 Jan 2023)

  Changed paths:
    A LayoutTests/accessibility/table-ignored-with-role-on-tbody-expected.txt
    A LayoutTests/accessibility/table-ignored-with-role-on-tbody.html
    M Source/WebCore/accessibility/AccessibilityTable.cpp

  Log Message:
  -----------
  AX: VoiceOver cannot navigate tables on alaskaair.com, but only with VoiceOver for Mac.
https://bugs.webkit.org/show_bug.cgi?id=249521
rdar://102877694

Reviewed by Darin Adler.

If a role is put on a <tbody> it breaks the parent/child hierarchy for tables. In these cases,
we should not expose a table as a data table. We should also not mark tables if they have hidden headers or footers.

* LayoutTests/accessibility/table-ignored-with-role-on-tbody-expected.txt: Added.
* LayoutTests/accessibility/table-ignored-with-role-on-tbody.html: Added.
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::collectNodeChangesForSubtree):

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




More information about the webkit-changes mailing list