Open
Description
The Javascript code handling the fragment in the URL that's designed to blink the title of the section in the fragment does not seem to consider whether the tab is visible to the user yet.
How to reproduce:
- Open this link leading to the wiki in a new tab: https://opentabletdriver.net/Wiki/FAQ/Linux#libinput-smoothing
- Wait a second or 2 after the tab finishes loading
- You may now switch to the new tab
- Observe that the section title has not blinked to catch the attention of the user
You can switch to the tab instantly after opening, or refresh the page to confirm that the script does work correctly.
Suggested fixes:
- Don't blink the title before the script can confirm that the user is on the page ('window visible' event if any, mouse movement, etc)
- Instead of using an animation, highlight the title in a different manner