Jump to content

SEO issue


Adlago

Recommended Posts

The new version of Lighthouse 6.1.0 considers this link

<a id='elContent'></a>

as a SEO issue and lowers the measurement result. This exists in 4.4.10 and is also available in 4.5.
The only way to overcome this issue that I have applied to my site is

<a onclick id='elContent'></a>

But I'm not sure if this will create another issue on the site.

Please comment from the developer, and my question - what does IPS provide for the improvement of SEO?

Link to comment
Share on other sites

17 minutes ago, bfarber said:

It looks like if the link has a role attribute of any value except space it should pass the audit.

https://github.com/GoogleChrome/lighthouse/pull/10662/commits/db26d769085a1058ac294d00c0208118882dea04

Can you confirm if you change onclick to something like role="navigation" that it also resolves the concern?

Yes

<a id='elContent' role="navigation"></a>

resolve issue

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...