Browser / Version: Firefox 70.0
Operating System: Ubuntu
Tested Another Browser: Yes
Problem type: Something else
esc while viewing an image returns to the top of the page
Steps to Reproduce:
When reading a multi-screen article, clicking on an image to view it magnified (for instance as such: https://en.wikipedia.org/wiki/France#/media/File:Jacques-Louis_David_-_The_Emperor_Napoleon_in_His_Study_at_the_Tuileries_-_Google_Art_Project.jpg ) and then leaving this viewer (either by
esc or clicking the
x button) returns to the top of the main article, rather to the "scroll location" from which it was clicked. This means that when one first reads the article and then wants to view the images in magnification, he is returned to the top of the page and forced to scroll back down after each image.
I strongly believe this bug has appeared rather recently (I don't remember being annoyed by that before) and is not present in Google Chrome.
From webcompat.com with ❤️