Page MenuHomePhabricator

Add an access key for the "paste source text" in the translation interface
Open, Needs TriagePublic

Description

The translation interface provide many handy keyboard shortcut, including to paste the Apertium translation, "save and go to next transaltion", and so on.

But the "Paste source text" doesn't have such an handy keyboard shortcut.

Event Timeline

You can reach it by pressing TAB once. Isn't that handy enough?

Ok, thank you @Nikerabbit. Then it would be good to add this shortcut inter parentheses. :)

Which parenthesis? I do think it would be good to highlight it, but tab is a general shortcut to move to the next element. So it only works if the textarea has focus, which is usually the case.

Hi @Nikerabbit thank you for taking care and put attention on that. :)

I was suggesting that parentheses should be added around the shortcut in fact. The thing that every single copy/paste shortcut in the translation interface have an <alt+[0-9]> shortcut with number being displayed on alt key down. So from an UX point of view, the fact that this is the only related button which doesn't act this way is strange.

Of course tab is a general shortcut, and this is even why I didn't even tried it, because in web pages you never know where it will lead you next. But surely the fact that every other button have an alt key tracked my mind out of even trying it more than anything else. Even now that I now it, I'm constantly pushing alt, then remember it's not accessible like that, so press alt again and finally press tab. Of course, not everybody will be wired as inefficiently as I am for this, but it gives some insides of the kind of frustration one might encounter while using the interface.

To make sure that what I'm talking about is clear, here is a screenshot:

Capture d’écran de 2018-01-08 11-32-58.png (768×1 px, 95 KB)

Don't pay attention to the fact to the dark style though.

So from an UX point of view, the fact that this is the only related button which doesn't act this way is strange.

Also the discard changes button.

The thing is that these buttons come and go, so not assigning a number to them makes the number for the rest to be more stable.

Highlighting this shortcut with tab has two issues:

  • All the rest currently have single character symbols that fit in the small round area.
  • It doesn't work with ALT like the rest of the highlight shortcuts. In fact the browser defined shortcuts (for me ALT+SHIFT+) are not highlighted either
Nikerabbit moved this task from Backlog to tux on the MediaWiki-extensions-Translate board.

I think documentation is the best way to handle this. I imagine there would be a small mention somewhere about shortcuts, which could be opened to list all the relevant ones. Or maybe just "Hold ALT to show shortcuts" and enhance that view.

Couldn't we make Alt+0 the shortcut for this? That way, it would be stable, and it wouldn't affect or be affected by the number of other suggestions.