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

  Changed paths:
    A 
LayoutTests/accessibility/detected-form-error-count-includes-unvisited-fields-expected.txt
    A 
LayoutTests/accessibility/detected-form-error-count-includes-unvisited-fields.html
    M LayoutTests/platform/glib/TestExpectations
    M LayoutTests/platform/ios/TestExpectations
    M Source/WebCore/accessibility/AXFormActivityMonitor.cpp

  Log Message:
  -----------
  AX Error Detection: The number of fields needing attention leaves out fields 
no assistive technology has visited
https://bugs.webkit.org/show_bug.cgi?id=326203
rdar://189092426

Reviewed by Chris Fleizach.

The count sent with the possible form validation error notification, which 
VoiceOver speaks as "N fields
need attention", only included fields that already had an accessibility object. 
A field gets one once an
assistive technology reaches it, or when a label or ARIA relation names it. 
Where the tree is built
lazily, fields with neither, such as ones labeled only by a placeholder, were 
left out, so a page that
marked four such fields invalid was reported as having none. Build each field's 
object when counting, and
leave out fields that are ignored, since the user can't reach them to fix them.

* 
LayoutTests/accessibility/detected-form-error-count-includes-unvisited-fields-expected.txt:
 Added.
* 
LayoutTests/accessibility/detected-form-error-count-includes-unvisited-fields.html:
 Added.
* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/accessibility/AXFormActivityMonitor.cpp:
(WebCore::AXFormActivityMonitor::report):

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



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

Reply via email to