Skip to content

Commit d332526

Browse files
committed
[dev-overlaay] rephrase docs button title as link to related docs
1 parent c505a4c commit d332526

File tree

1 file changed

+4
-4
lines changed
  • packages/next/src/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar

1 file changed

+4
-4
lines changed

packages/next/src/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export function DocsLinkButton({ errorMessage }: { errorMessage: string }) {
3333
if (!docsURL) {
3434
return (
3535
<button
36-
title="No related Next.js docs found"
37-
aria-label="No related Next.js docs found"
36+
title="No related documentation found"
37+
aria-label="No related documentation found"
3838
className="docs-link-button"
3939
disabled
4040
>
@@ -49,8 +49,8 @@ export function DocsLinkButton({ errorMessage }: { errorMessage: string }) {
4949

5050
return (
5151
<a
52-
title="Go to related Next.js docs"
53-
aria-label="Go to related Next.js docs"
52+
title="Go to related documentation"
53+
aria-label="Go to related documentation"
5454
className="docs-link-button"
5555
href={docsURL}
5656
target="_blank"

0 commit comments

Comments
 (0)