Page MenuHomePhabricator

Accesskey "alt-shift-i" in Chrome on Linux conflicts with native
Closed, ResolvedPublic

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).

Created attachment 16081
Chrome menu showing Report an issue item

Attached:

chrome-accesskey-conflict.png (687×642 px, 48 KB)

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

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 unsubscribed.
Jdlrobson subscribed.

I understand the issue as follows:
In Chrome 38, alt+shift+i reports an issue.
On https://en.wikipedia.org/w/index.php?action=edit&title=Accessibility&venoscript=1 clicking alt+shift+i ticks the minor checkbox.

Is this still an issue in the latest Chrome?

m4tx claimed this task.

No, it seems to be working now. The shortcut must have been changed at some point in Chrome. Marking the issue as resolved.