Now, you know you should never trust anyone who starts by telling you that you need to optimize your site for Google Panda, or some such animal; they are just trying to sell you SEO snake oil.
We’ve been looking at this, because it seems like a good thing to add to PageSpeedy. Unfortunately, whilst it _looks _quite a lot like Google PageSpeed Insights, the mobile test is subtly different. There is no API for it, for a start, so at the moment we can’t include it.
In a quick scout of local gov sites, though, we have noticed one thing which is going to hinder sites when it comes to being marked as mobile friendly, even if the site is responsive and works well: more often than not, it will be because the robots.txt file is stopping Google from seeing styles.
Unlike Google PageSpeed, the mobile test obeys the robots.txt file when it fetches the site, just like Google does. This means that if you block stylesheets and scripts from Google, then the mobile friendly test will not see them. This will likely mean your site will not render very well on mobile, and so it will fail the tests. Which means, of course, that it will not be marked as mobile friendly in Google search results.
So to be mobile friendly: Remove the blocking of stylesheets (and sometimes scripts) from your robots.txt file. That’s all. And don’t worry, I don’t think Google was about to return your layout.css in search results anyway.