Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 32bb5fa0c6bf68b4537bd91e71bdc97b4e1b776c
https://github.com/WebKit/WebKit/commit/32bb5fa0c6bf68b4537bd91e71bdc97b4e1b776c
Author: Wenson Hsieh <[email protected]>
Date: 2026-05-15 (Fri, 15 May 2026)
Changed paths:
A
LayoutTests/fast/text-extraction/contenteditable-text-extraction-expected.txt
A LayoutTests/fast/text-extraction/contenteditable-text-extraction.html
M Source/WebCore/page/text-extraction/TextExtraction.cpp
Log Message:
-----------
[UIIntelligenceSupport] Focused contentEditable elements aren't marked as
focused in output items
https://bugs.webkit.org/show_bug.cgi?id=314876
rdar://177120265
Reviewed by Richard Robinson.
Add some missing logic to mark focused contenteditable elements (excluding form
controls) as such,
in the extracted `TextExtraction::Editable` metadata, along with the
accessibility label (if
present).
Tests: fast/text-extraction/contenteditable-text-extraction.html
*
LayoutTests/fast/text-extraction/contenteditable-text-extraction-expected.txt:
Added.
* LayoutTests/fast/text-extraction/contenteditable-text-extraction.html: Added.
* Source/WebCore/page/text-extraction/TextExtraction.cpp:
(WebCore::TextExtraction::normalizedLabelText):
Move this helper method farther up in the file, so that we can reuse it in
`extractItemData`.
(WebCore::TextExtraction::extractItemData):
Canonical link: https://commits.webkit.org/313308@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications