Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 51f8361485f6936bad9dd41d6028a9b1b43d3fde
https://github.com/WebKit/WebKit/commit/51f8361485f6936bad9dd41d6028a9b1b43d3fde
Author: Joshua Hoffman <[email protected]>
Date: 2024-01-05 (Fri, 05 Jan 2024)
Changed paths:
A LayoutTests/accessibility/single-th-layout-table-expected.txt
A LayoutTests/accessibility/single-th-layout-table.html
M Source/WebCore/accessibility/AXObjectCache.cpp
M Source/WebCore/accessibility/AccessibilityTable.cpp
Log Message:
-----------
AX: Tables with one row of all header cells should not be exposed as data
tables
https://bugs.webkit.org/show_bug.cgi?id=267056
rdar://119941473
Reviewed by Tyler Wilcock.
Due to logic in isDataTable, we currently expose tables with one row of all
header
cells as data tables. But, most other single-row tables are considered layout
tables.
This patch updates out logic to consider this markup a layout table.
AXObjectCache::childrenChanged was also updated to recompute a tables
exposability when
rows change outside of table sections (tbody, thead, tfoot).
* LayoutTests/accessibility/single-th-layout-table-expected.txt: Added.
* LayoutTests/accessibility/single-th-layout-table.html: Added.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::childrenChanged):
* Source/WebCore/accessibility/AccessibilityTable.cpp:
(WebCore::AccessibilityTable::isDataTable const):
Canonical link: https://commits.webkit.org/272716@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes