Unverified Commit 991c32ae authored by Jiwon Choi's avatar Jiwon Choi Committed by GitHub

[dev-overlay] rephrase docs button title as link to related docs (#76571)

### Why?

Since the docs button can link to related React docs, rephrase the title
to "related documentation" instead of "related Next.js docs".
parent aaebca93
...@@ -33,8 +33,8 @@ export function DocsLinkButton({ errorMessage }: { errorMessage: string }) { ...@@ -33,8 +33,8 @@ export function DocsLinkButton({ errorMessage }: { errorMessage: string }) {
if (!docsURL) { if (!docsURL) {
return ( return (
<button <button
title="No related Next.js docs found" title="No related documentation found"
aria-label="No related Next.js docs found" aria-label="No related documentation found"
className="docs-link-button" className="docs-link-button"
disabled disabled
> >
...@@ -49,8 +49,8 @@ export function DocsLinkButton({ errorMessage }: { errorMessage: string }) { ...@@ -49,8 +49,8 @@ export function DocsLinkButton({ errorMessage }: { errorMessage: string }) {
return ( return (
<a <a
title="Go to related Next.js docs" title="Go to related documentation"
aria-label="Go to related Next.js docs" aria-label="Go to related documentation"
className="docs-link-button" className="docs-link-button"
href={docsURL} href={docsURL}
target="_blank" target="_blank"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment