Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6ba7a6e08bda4982b14402dc14239fffa5c2fb8c
https://github.com/WebKit/WebKit/commit/6ba7a6e08bda4982b14402dc14239fffa5c2fb8c
Author: Tyler Wilcock <[email protected]>
Date: 2026-10-06 (Tue, 06 Oct 2026)
Changed paths:
A
LayoutTests/accessibility/detected-form-error-typed-text-is-not-a-message-expected.txt
A
LayoutTests/accessibility/detected-form-error-typed-text-is-not-a-message.html
A
LayoutTests/accessibility/isolated-tree/detected-form-error-typed-text-is-not-a-message-expected.txt
A
LayoutTests/accessibility/isolated-tree/detected-form-error-typed-text-is-not-a-message.html
M LayoutTests/platform/glib/TestExpectations
M LayoutTests/platform/ios/TestExpectations
M Source/WebCore/accessibility/AXFormActivityMonitor.cpp
Log Message:
-----------
AX Error Detection: Text the user types is announced as a form error
https://bugs.webkit.org/show_bug.cgi?id=326216
rdar://189098917
Reviewed by Dominic Mazzoni.
When native validation stops a submission because a required text area is
empty, the browser's bubble is
not part of the page, so the watch for error messages keeps running. The words
the user then types into the
text area arrive as new text inside its inner editor, and VoiceOver announced
them as the error. Typing into
an editor a page builds with contenteditable was taken the same way, and the
editor was even given its own
text as its error message.
Don't take a field's own text, or text in an editable region, for a message.
*
LayoutTests/accessibility/detected-form-error-typed-text-is-not-a-message-expected.txt:
Added.
*
LayoutTests/accessibility/detected-form-error-typed-text-is-not-a-message.html:
Added.
*
LayoutTests/accessibility/isolated-tree/detected-form-error-typed-text-is-not-a-message-expected.txt:
Added.
*
LayoutTests/accessibility/isolated-tree/detected-form-error-typed-text-is-not-a-message.html:
Added.
* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/accessibility/AXFormActivityMonitor.cpp:
(WebCore::couldHoldMessage):
Canonical link: https://commits.webkit.org/322893@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications