Background
User page, watchlist buttons should have accesskey attributes, just like in legacy Vector.
AC
- User page button should have an accesskey "." attribute
- Watchlist button should have an accesskey "l" attribute
- Search toggle button (shows up on smaller screen sizes) should have an accesskey "f" attribute
- All buttons above can be accessed using accesskeys
Developer notes
The user page and watchlist links both are missing accesskeys because they have different ids from legacy (i.e. pt-userpage-2 and pt-watchlist-2), and the ids are used by Linker to provide accesskey attributes. We could fix this while keeping the new ids by adding single-id properties to the user page and watchlist data in core. However considering all the other user links use the original ids, I think it could be more consistent and maintainable to do the same for user page and watchlist as well.
There are also a few other cases in Vector where we manually provide link attributes (1, 2). Since we don't really have a consistent way to provide accesskey and title attributes in Vector, this might be a good opportunity to remove those in favor of using the correct id and relying on Linker to provide the attributes.
Adding a accesskey "f" attribute to the search toggle button works fine, but some reason it has to be reordered to go before the vue search in the DOM.




