We should improve UX design of the section anchor links introduced in https://gerrit.wikimedia.org/r/#/c/186332/
See http://en.wikipedia.beta.wmflabs.org/wiki/Barack_Obama for an example of how it currently works.
We should improve UX design of the section anchor links introduced in https://gerrit.wikimedia.org/r/#/c/186332/
See http://en.wikipedia.beta.wmflabs.org/wiki/Barack_Obama for an example of how it currently works.
Currently, the anchors are revealed when the user mouses over the full-width horizontal strip occupied by the section header. This is problematic for two reasons:
An alternative to reduce the flashing is to reduce the trigger area to just the header text (rather than the full width), as done in https://gerrit.wikimedia.org/r/#/c/191845/, but this makes the anchor links much less discoverable.
Other approaches to consider:
See also
https://fr.wikipedia.org/wiki/MediaWiki:Gadget-AncreTitres.js
which provides internal links in wiki syntax (very convenient! :-)
Change 192458 had a related patch set uploaded (by Wctaiwan):
Add a small delay to anchor link trigger