Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8127f106827268c8e9c89c1048bc54a7a76856bd
      
https://github.com/WebKit/WebKit/commit/8127f106827268c8e9c89c1048bc54a7a76856bd
  Author: Wenson Hsieh <[email protected]>
  Date:   2026-08-13 (Thu, 13 Aug 2026)

  Changed paths:
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-all-container-uids-expected.txt
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-all-container-uids.html
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-form-controls-expected.txt
    M LayoutTests/fast/text-extraction/debug-text-extraction-form-controls.html
    M Source/WebCore/page/text-extraction/TextExtraction.cpp

  Log Message:
  -----------
  [Text Extraction] adobe.com: sometimes unable to click on "Change Password" 
button in account settings page
https://bugs.webkit.org/show_bug.cgi?id=321687
rdar://184832424

Reviewed by Abrar Rahman Protyasha.

Adjust heuristics around extracting `form` elements, to make it easier for 
agents to figure out how
to interact with the "Change" button in the password section on adobe.com:

-   Avoid adding `uid` for forms.
-   Elide parent `form` elements altogether, in the case where the element 
lacks relevant
    accessibility attributes and only contains a single `button` element.

* 
LayoutTests/fast/text-extraction/debug-text-extraction-all-container-uids-expected.txt:
* 
LayoutTests/fast/text-extraction/debug-text-extraction-all-container-uids.html:
* 
LayoutTests/fast/text-extraction/debug-text-extraction-form-controls-expected.txt:
* LayoutTests/fast/text-extraction/debug-text-extraction-form-controls.html:
* Source/WebCore/page/text-extraction/TextExtraction.cpp:
(WebCore::TextExtraction::shouldIncludeNodeIdentifier):
(WebCore::TextExtraction::isRedundantFormWrapper):
(WebCore::TextExtraction::collapseRedundantFormWrappersRecursive):
(WebCore::TextExtraction::extractItem):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to