[Webkit-unassigned] [Bug 233449] New: AX: range input does not fire input event when incremented/decremented via accessibility APIs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 23 09:22:00 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=233449

            Bug ID: 233449
           Summary: AX: range input does not fire input event when
                    incremented/decremented via accessibility APIs
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: me at westonthayer.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 445036

  --> https://bugs.webkit.org/attachment.cgi?id=445036&action=review

Basid range input logging input and change events

<input type=range> does not fire the 'input' event when using the OS accessibility action APIs to increment/decrement it's value. Both macOS and iOS VoiceOver use the increment/decrement actions. This can break code that relies on only the 'input' event to respond to the range input changing values.

1. Open either the attached chromebug-1272108.html or https://westonthayer.github.io/hosting/chromebug-1272107.html in Safari
2. Open Xcode Accessibility Inspector
3. Select the range input (you can use Accessibility Inspector's Point to Inspect crosshairs)
4. Accessibility Inspector's inspected element should have type: slider
5. Expand Accessibility Inspector's Actions menu and perform either the 'increment' or 'decrement' actions

Expected result:
The log below the range input should show both "input: NEW_VALUE" and "change: NEW_VALUE", just as it does if you use the mouse or keyboard to change the range input's value.

Actual result:
The log only shows "change: NEW_VALUE".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211123/64adfa2e/attachment.htm>


More information about the webkit-unassigned mailing list