[webkit-changes] [WebKit/WebKit] 87dc85: AX: range input does not fire input event when inc...

Tyler Wilcock noreply at github.com
Sun Apr 7 12:14:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 87dc85177fd870edf465c6a24ee4ed79d9f56bdf
      https://github.com/WebKit/WebKit/commit/87dc85177fd870edf465c6a24ee4ed79d9f56bdf
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2024-04-07 (Sun, 07 Apr 2024)

  Changed paths:
    A LayoutTests/accessibility/range-input-increment-decrement-fires-input-event-expected.txt
    A LayoutTests/accessibility/range-input-increment-decrement-fires-input-event.html
    M LayoutTests/platform/ios/TestExpectations
    M LayoutTests/platform/mac-wk1/TestExpectations
    M Source/WebCore/accessibility/AccessibilitySlider.cpp

  Log Message:
  -----------
  AX: range input does not fire input event when incremented/decremented via accessibility APIs
https://bugs.webkit.org/show_bug.cgi?id=233449
rdar://problem/85707481

Reviewed by Chris Fleizach.

To follow the HTML spec (and match the behavior of mouse user input changes), we should be firing both `input` and `change`
events when AccessibilitySlider is incremented and decremented.

* LayoutTests/accessibility/range-input-increment-decrement-fires-input-event-expected.txt: Added.
* LayoutTests/accessibility/range-input-increment-decrement-fires-input-event.html: Added.
* LayoutTests/platform/ios/TestExpectations: Enable new test.
* Source/WebCore/accessibility/AccessibilitySlider.cpp:
(WebCore::AccessibilitySlider::setValue):

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



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


More information about the webkit-changes mailing list