Bug 114648

Summary: Regression: Non-default buttons can be activated with Return/Enter keys on Mac; this behavior should be limited to Windows
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: ap, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case demonstrating bug none

James Craig
Reported 2013-04-15 16:12:49 PDT
Created attachment 198200 [details] test case demonstrating bug Regression since filing of bug 14382. Regression: Non-default buttons can be activated with Return/Enter keys on Mac; this behavior should be limited to Windows. At some point, the Windows bug 14382 was fixed, which regressed Mac behavior. It's expected that non-default buttons on Mac OS X are activated by pressing spacebar, not Return (or Enter). Windows defaults to using Enter for everything and, AFAICT, there is no way to activate a default button on Windows unless it's explicitly focused first. Load attached test case. Mac: Only spacebar should activate the button, not Return or Enter (fn+Return). Win: Enter key should activate the button on Windows. I'm not sure if it's a problem for spacebar o activate it too, so I'd suggest leaving that behavior unless we hear otherwise.
Attachments
test case demonstrating bug (44 bytes, text/html)
2013-04-15 16:12 PDT, James Craig
no flags
Radar WebKit Bug Importer
Comment 1 2014-02-07 11:29:15 PST
Note You need to log in before you can comment on or make changes to this bug.