Skip to content
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

Merged
merged 2 commits into from
Aug 13, 2019
Merged

core(audits): Point SEO audit links to web.dev #9537

merged 2 commits into from
Aug 13, 2019

Conversation

mfriesenhahn
Copy link
Collaborator

@mfriesenhahn mfriesenhahn commented Aug 9, 2019

Summary
Points "Learn more" links in SEO audits to relevant web.dev guides.

Note
The robots.txt is not valid audit didn't have a "Learn more" link, so I added one.

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if we can update those screenshots :)

same here if we should tackle the learn more link of the overall category

image

@@ -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).',
Copy link
Collaborator

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).',
Copy link
Collaborator

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).',
Copy link
Collaborator

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

Copy link
Member

@exterkamp exterkamp left a 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.

lighthouse-core/audits/seo/http-status-code.js Outdated Show resolved Hide resolved
lighthouse-core/audits/seo/is-crawlable.js Outdated Show resolved Hide resolved
lighthouse-core/audits/seo/robots-txt.js Outdated Show resolved Hide resolved
Copy link
Member

@exterkamp exterkamp left a 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

@mfriesenhahn
Copy link
Collaborator Author

-LGTM

Need to update link in: /lighthouse/lighthouse-core/audits/viewport.js

That one's taken care of in #9539.

Copy link
Member

@exterkamp exterkamp left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants