-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core(audits): Point SEO audit links to web.dev #9537
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -63,7 +63,7 @@ const UIStrings = { | |||
failureTitle: 'Links do not have descriptive text', | |||
/** Description of a Lighthouse audit that tells the user *why* they need to have descriptive text on the links in their page. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation. */ | |||
description: 'Descriptive link text helps search engines understand your content. ' + | |||
'[Learn more](https://developers.google.com/web/tools/lighthouse/audits/descriptive-link-text).', | |||
'[Learn more](https://web.dev/link-text).', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI the screenshot in this doc is of a Lighthouse error/bug instead of the audit failing
@@ -25,7 +25,7 @@ const UIStrings = { | |||
/** Description of a Lighthouse audit that tells the user *why* allowing search-engine crawling of their page is beneficial. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation. */ | |||
description: 'Search engines are unable to include your pages in search results ' + | |||
'if they don\'t have permission to crawl them. [Learn ' + | |||
'more](https://developers.google.com/web/tools/lighthouse/audits/indexing).', | |||
'more](https://web.dev/is-crawable).', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI the screenshot in this doc is of a Lighthouse error/bug instead of the audit failing
@@ -41,7 +41,7 @@ const UIStrings = { | |||
/** Description of a Lighthouse audit that tells the user *why* they need to avoid using browser plugins in their content. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation. */ | |||
description: 'Search engines can\'t index plugin content, and ' + | |||
'many devices restrict plugins or don\'t support them. ' + | |||
'[Learn more](https://developers.google.com/web/tools/lighthouse/audits/plugins).', | |||
'[Learn more](https://web.dev/plugins).', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI the screenshot in this doc is of a Lighthouse error/bug instead of the audit failing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just compress some of them onto 1 line and its g2g.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-LGTM
Need to update link in: /lighthouse/lighthouse-core/audits/viewport.js
That one's taken care of in #9539. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm. Who had the nerve to put an audit in 2 categories! +lgtm
Summary
Points "Learn more" links in SEO audits to relevant web.dev guides.
viewport.js
handled in core(audits): point PWA audit description links to web.dev #9539Note
The robots.txt is not valid audit didn't have a "Learn more" link, so I added one.