**Steps to replicate the issue**:
* Using Firefox...
* go to the Italian Wikipedia and open [[https://it.wikipedia.org/wiki/Dendrobium_polyanthum?safemode=1&useskin=vector-2022|this article]]
* click on the image within the Infobox, but don't lift your finger from the mouse button
**What happens?**:
* the blue border of the "image as a link" doesn't fit the image when clicked
**What should have happened instead?**:
*the blue border should match the border of the image, or not be shown at all
**Software version**:
Firefox version 126.0 (64 bit), Windows 10 Home, screen resolution 2560x1440
**Other information**:
{F55524093}
More examples:
| Where | Firefox | Chromium | Notes |
| [[https://en.wikipedia.org/wiki/Wikipedia:Community_portal?useskin=vector-2022|Wikipedia:Community portal]] | {F55611939} | {F55611941} | |
| [[https://commons.wikimedia.org/wiki/File:Example.jpg?useskin=vector-2022|File:Example.jpg]] | {F55611942} | {F55611943} | |
| [[ https://en.wikipedia.org/w/index.php?oldid=1230284506&useskin=vector-2022|Lynx image at Template:In the news]] | {F55612284} | {F55611940} | For Chromium, only the bottom border is highlighted |