From ac79a48c07c538316949d6284bc5d9c0eb2e3f91 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 7 Jun 2022 12:11:28 +0200 Subject: chore: add aria hidden attribute to SVG icons --- src/components/molecules/buttons/back-to-top.tsx | 2 +- src/components/molecules/forms/flipping-label.tsx | 2 +- src/components/molecules/nav/pagination.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/molecules') diff --git a/src/components/molecules/buttons/back-to-top.tsx b/src/components/molecules/buttons/back-to-top.tsx index bd1925a..ad5c674 100644 --- a/src/components/molecules/buttons/back-to-top.tsx +++ b/src/components/molecules/buttons/back-to-top.tsx @@ -34,7 +34,7 @@ const BackToTop: FC = ({ className = '', target }) => { aria-label={linkName} className={styles.link} > - + ); diff --git a/src/components/molecules/forms/flipping-label.tsx b/src/components/molecules/forms/flipping-label.tsx index c874369..12f8d8d 100644 --- a/src/components/molecules/forms/flipping-label.tsx +++ b/src/components/molecules/forms/flipping-label.tsx @@ -30,7 +30,7 @@ const FlippingLabel: FC = ({ {children} - + diff --git a/src/components/molecules/nav/pagination.tsx b/src/components/molecules/nav/pagination.tsx index 934b50a..604720e 100644 --- a/src/components/molecules/nav/pagination.tsx +++ b/src/components/molecules/nav/pagination.tsx @@ -177,7 +177,7 @@ const Pagination: FC = ({ }); const body = typeof page === 'string' - ? '\u2026' + ? page // dots : intl.formatMessage( { defaultMessage: 'Page {number}', -- cgit v1.2.3