Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[keys] add accesskey shortcuts for incrementing/decrementing key count #855

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danmana
Copy link

@danmana danmana commented Aug 12, 2014

Use "ALT + [" shortcut to decrement keys
Use "ALT + ]" shortcut to increment keys

@dingram
Copy link
Contributor

dingram commented Jun 14, 2016

Looks good, except the shortcut varies depending on browser and operating system: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey

@nexushoratio
Copy link
Contributor

The traditional IITC way has been to use:

title="[x]"
or
title="Action [x]"

That avoids the whole keystroke combination thing.

But I have no idea what to suggest for an alternative here as:

title="Add []]"

Does look kind of wonky.

In other projects, I've personally used angle brackets for keystrokes. Maybe that would be a good option for square brackets?

title="Add <]>"

Also, I think the functions of the keys should be reversed: [ - decrement and ] - increment.

Again, comparing to angle brackets, I think it's traditional for < to decrement and > to increment. Plus on QWERTY keyboards, [ is to the left of ].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants