Bug 187606 - Multiple presses of spacebar on once checked and focused radio button does not fire subsequent events
Summary: Multiple presses of spacebar on once checked and focused radio button does no...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 11
Hardware: Mac OS X 10.11
: P2 Normal
Assignee: Nobody
URL: https://codepen.io/jasonwilliams1/pen...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-12 10:10 PDT by Jason Williams
Modified: 2018-07-12 10:13 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Williams 2018-07-12 10:10:09 PDT
Steps to reproduce the problem:
1. Navigate to https://codepen.io/jasonwilliams1/pen/XBbZjL
2. Focus on the textbox
3. Press shift-tab to move focus into the radio button group
4. Press spacebar to check the radio button
5. Press spacebar to redundantly check the radio button
6. observe no additional click event in the console

What is the expected behavior?
Right now its not clear, I don't see this mentioned in the specification either. 

What went wrong?
I should be expecting additional click events in the console, but only 1 fires

Firefox, Edge and Internet Explorer fire multiple events for each time i press spacebar

Chrome version: 67.0.3396.99  Channel: stable
OS Version: 10.0
Flash Version: 

Arises from: https://github.com/facebook/react/issues/4854#issuecomment-404543424
Comment 1 Jason Williams 2018-07-12 10:11:49 PDT
Affects Safari Version 11.1 (11605.1.33.1.3)
Comment 2 Jason Williams 2018-07-12 10:13:08 PDT
WHATWG issue raised: https://github.com/whatwg/html/issues/3817