Skip to content

Commit

Permalink
fix: back to top is now focusable
Browse files Browse the repository at this point in the history
  • Loading branch information
astagi committed Jan 14, 2025
1 parent b5b9c85 commit b87db3f
Show file tree
Hide file tree
Showing 3 changed files with 215 additions and 206 deletions.
1 change: 1 addition & 0 deletions src/BackToTop/BackToTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const BackToTop = ({
return (
<a
aria-label={ariaLabel}
href="#"
className={classNames(
className,
'back-to-top',
Expand Down
2 changes: 1 addition & 1 deletion stories/Components/BackToTop.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { BackToTop } from '../../src';

const meta: Meta<typeof BackToTop> = {
title: 'Documentazione/Componenti/BackToTop',
title: 'Documentazione/Menu di navigazione/BackToTop',
component: BackToTop
};

Expand Down
Loading

0 comments on commit b87db3f

Please sign in to comment.