Chrome Lighthouse bug

 Chrome's Lighthouse said there was an error with the links on my page.


I checked the links.


I thought maybe I had some generic link text such as 'click here'.


I thought maybe the problem was that one of links is hidden on mobiles.


Then I noticed the tip on the error message:


    Required AnchorElements gatherer encountered an error: Cannot read properties of undefined (reading 'objectId')


I found an issue raised with Chrome on 'github'. I tried removing non-breaking spaces from the page and the error went away. I will leave the spaces in and wait until the bug is fixed in Lighthouse.




Comments

Popular posts from this blog

How a CSS fish animation works

Giving PWA icons transparent backgrounds

Simple animation spacing out letters in an centred phrase