diff --git a/.changeset/few-snails-occur.md b/.changeset/few-snails-occur.md new file mode 100644 index 0000000000..f9b2379486 --- /dev/null +++ b/.changeset/few-snails-occur.md @@ -0,0 +1,5 @@ +--- +'nextra-theme-docs': patch +--- + +Remove the aria-hidden attribute from scroll-to-top button when it is visible diff --git a/packages/nextra-theme-docs/src/components/back-to-top.tsx b/packages/nextra-theme-docs/src/components/back-to-top.tsx index 3f2d5ac3a5..58d45a8702 100644 --- a/packages/nextra-theme-docs/src/components/back-to-top.tsx +++ b/packages/nextra-theme-docs/src/components/back-to-top.tsx @@ -26,7 +26,8 @@ export function BackToTop({ }): ReactElement { return (