Page MenuHomePhabricator

Accesskey "alt-shift-i" in Chrome on Linux conflicts with native
Open, LowPublic

Description

Have a look at resources/src/jquery/jquery.accessKeyLabel.js:

} else if ( profile.name === 'chrome' ) {
	accessKeyPrefix = (
		profile.platform === 'mac'
			// Chrome on Mac
			? 'ctrl-option-'
			// Chrome on Windows or Linux
			// (both alt- and alt-shift work, but alt with E, D, F etc does not
			// work since they are browser shortcuts)
			: 'alt-shift-'
	);

As you can see, the code sets the accesskey label to "alt-shift-accesskey" on Chrome because of conflicts with some keys when using alt-accesskey. The problem is: alt-shift-accesskey causes conflicts, too. On the Edit page, you have "This is a minor edit" checkbox with accesskey "i". And here's the problem - in Chrome, alt-shift-i is a shortcut for reporting an issue...

MediaWiki 1.24-git (227204c)
Chrome 38 (dev) on Ubuntu 14.04 64-bit, same issue on Chrome 36 (stable) on Windows 7 64-bit

I'm posting a screenshot of Chrome menu showing the "Report an issue" menuitem with its shortcut.


Version: 1.24rc
Severity: minor

Details

Reference
bz68798

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:31 AM
bzimport set Reference to bz68798.
bzimport added a subscriber: Unknown Object (MLST).
m4tx created this task.Jul 29 2014, 11:34 AM
m4tx added a comment.Jul 29 2014, 11:36 AM

Created attachment 16081
Chrome menu showing Report an issue item

Attached:

Thanks for taking the time to report this and the investigation!
This might fix one small part of bug 67824.

m4tx updated the task description. (Show Details)Jul 8 2015, 5:40 AM
m4tx set Security to None.
Krinkle renamed this task from Invalid accesskey tooltip on Chrome to Accesskey "alt-shift-i" in Chrome on Linux conflicts with native.Nov 24 2015, 9:48 PM
Krinkle removed a subscriber: Krinkle.