Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 39fd488eda066f80be5aeb9a269d9b55e5c98c5c
      
https://github.com/WebKit/WebKit/commit/39fd488eda066f80be5aeb9a269d9b55e5c98c5c
  Author: Tyler Wilcock <[email protected]>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

  Changed paths:
    M 
LayoutTests/accessibility/detected-form-error-notification-when-submitter-replaced-expected.txt
    M 
LayoutTests/accessibility/detected-form-error-notification-when-submitter-replaced.html
    M 
LayoutTests/accessibility/detected-form-error-without-form-element-expected.txt
    M LayoutTests/accessibility/detected-form-error-without-form-element.html
    M 
LayoutTests/accessibility/isolated-tree/detected-form-error-notification-when-submitter-replaced-expected.txt
    M 
LayoutTests/accessibility/isolated-tree/detected-form-error-notification-when-submitter-replaced.html
    M 
LayoutTests/accessibility/isolated-tree/detected-form-error-without-form-element-expected.txt
    M 
LayoutTests/accessibility/isolated-tree/detected-form-error-without-form-element.html
    M Source/WebCore/accessibility/AXFormActivityMonitor.cpp
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebCore/accessibility/AXObjectCache.h
    M Source/WebCore/accessibility/cocoa/CocoaAccessibilityConstants.h
    M Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm
    M Source/WebCore/accessibility/mac/AXObjectCacheMac.mm

  Log Message:
  -----------
  AX Error Detection: Say when the form validation notification is posted on 
the button the user pressed
https://bugs.webkit.org/show_bug.cgi?id=326199
rdar://189090209

Reviewed by Chris Fleizach.

The possible form validation error notification is posted on the button the 
user pressed to submit when
there is one, and otherwise on the form or a field with an error. Add 
AXFormValidationTargetIsSubmitter
to its userInfo, so an assistive technology can tell which and offer that 
button alongside the fields,
as VoiceOver's Form Review rotor does.

* 
LayoutTests/accessibility/detected-form-error-notification-when-submitter-replaced-expected.txt:
* 
LayoutTests/accessibility/detected-form-error-notification-when-submitter-replaced.html:
* 
LayoutTests/accessibility/detected-form-error-without-form-element-expected.txt:
* LayoutTests/accessibility/detected-form-error-without-form-element.html:
* 
LayoutTests/accessibility/isolated-tree/detected-form-error-notification-when-submitter-replaced-expected.txt:
* 
LayoutTests/accessibility/isolated-tree/detected-form-error-notification-when-submitter-replaced.html:
* 
LayoutTests/accessibility/isolated-tree/detected-form-error-without-form-element-expected.txt:
* 
LayoutTests/accessibility/isolated-tree/detected-form-error-without-form-element.html:
* Source/WebCore/accessibility/AXFormActivityMonitor.cpp:
(WebCore::AXFormActivityMonitor::report):
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::postPossibleFormValidationErrorNotification):
* Source/WebCore/accessibility/AXObjectCache.h:
(WebCore::PossibleFormValidationErrorData::debugDescription const):
* Source/WebCore/accessibility/cocoa/CocoaAccessibilityConstants.h:
* Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm:
(WebCore::AXObjectCache::postPlatformPossibleFormValidationErrorNotification):
* Source/WebCore/accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::postPlatformPossibleFormValidationErrorNotification):

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



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

Reply via email to