mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
19edc6043a
This is a partial revert of Iaf089f4. It restores the old behavior: * In case there is already a highlight in the parameter list, just keep that. Usually there is no highlight at this point, but better have this check in place to be sure. * Otherwise always start at the top. Jumping to the selection is confusing, esp. for keyboard-only users. The argument goes like this: * Let's say I'm in the middle of editing values on the right side of the dialog. * I want to navigate to the sidebar. How do I do this with the keyboard? I use the tab key. * Pressing tab also implies I move the selection to the next parameter. And the next. Until I reach the end of the parameter list. Then the selection stays there. * When I finally reach the sidebar and tab into the parameter list, the last parameter is selected. But this was merely a side-effect of me navigating the dialog. Such a "selection becomes highlighting" behavior was not specified in T311204. This patch is requested and approved by PM. Bug: T312647 Bug: T311204 Change-Id: Ie5b5dfd4fca132050815e6182845ca23adb5f805 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-mw-collab | ||
.eslintrc.json |