From 85d355dc1ba8f1617f74e37c5533dd4c674c7087 Mon Sep 17 00:00:00 2001 From: mitjapotocin Date: Fri, 27 Oct 2023 07:13:54 +0200 Subject: [PATCH] Add aria label to pagination buttons --- components/Pagination/Pagination.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/Pagination/Pagination.tsx b/components/Pagination/Pagination.tsx index 4ea0b7826..5881d58ca 100644 --- a/components/Pagination/Pagination.tsx +++ b/components/Pagination/Pagination.tsx @@ -97,6 +97,7 @@ export default function Pagination({ {page !== 0 && ( { setPage(page - 1); @@ -150,6 +151,7 @@ export default function Pagination({ {page !== noOfPages - 1 && ( { setPage(page + 1); }}