Remove Mobile Usability Errors

I have been getting a couple of Google Search Console (GSC) mobile usability errors that are not obvious how to resolve. The website is cross-device compatible, so why is it saying the text is too small to read and clickable elements are too close together?

On closer inspection, when doing a live test of the page in GSC it appears that the Google Smart Bot is not loading some preloaded css.

To resolve this issue, simply add the following lines to your robots.txt file:

User-Agent: Googlebot
Allow: .js
Allow: .css

Retest your page and both issues are fixed.

Not a massive issue, but a niggling one that I’m glad to have resolved.

Scroll to Top