Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7c094a16ad8e0d53fcd6ad7966243f928032f540
https://github.com/WebKit/WebKit/commit/7c094a16ad8e0d53fcd6ad7966243f928032f540
Author: Wenson Hsieh <[email protected]>
Date: 2026-07-12 (Sun, 12 Jul 2026)
Changed paths:
M LayoutTests/fast/text-extraction/debug-text-extraction-basic-expected.txt
M LayoutTests/fast/text-extraction/debug-text-extraction-basic.html
M Source/WebCore/page/text-extraction/TextExtraction.cpp
M Source/WebCore/page/text-extraction/TextExtractionTypes.h
M Source/WebKit/Shared/TextExtractionToStringConversion.cpp
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
Log Message:
-----------
[Text Extraction] Append a `clickable` token next to images, SVGs and other
containers that look visually clickable
https://bugs.webkit.org/show_bug.cgi?id=319201
rdar://182054863
Reviewed by Richard Robinson.
Leverage the existing `looksVisuallyClickable` heuristic to append a
`clickable` token next to
extracted elements — in particular, images and `svg` elements that might not
seem immediately
interactive to an agent.
* LayoutTests/fast/text-extraction/debug-text-extraction-basic-expected.txt:
* LayoutTests/fast/text-extraction/debug-text-extraction-basic.html:
* Source/WebCore/page/text-extraction/TextExtraction.cpp:
(WebCore::TextExtraction::extractRecursive):
* Source/WebCore/page/text-extraction/TextExtractionTypes.h:
* Source/WebKit/Shared/TextExtractionToStringConversion.cpp:
(WebKit::addPartsForItem):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
Canonical link: https://commits.webkit.org/317016@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications