From 31a2971ee49dd4035677784fee39c11c46552217 Mon Sep 17 00:00:00 2001 From: waterlemonnn Date: Fri, 7 Aug 2026 15:58:38 +0700 Subject: [PATCH] fix(pagination): announce state to screen readers The pagination row had no landmark, page links all read the same, and Prev/Next disabled states were opacity-only visual cues. --- components/ui/Pagination.tsx | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/components/ui/Pagination.tsx b/components/ui/Pagination.tsx index 01d5ab3..c16524e 100644 --- a/components/ui/Pagination.tsx +++ b/components/ui/Pagination.tsx @@ -31,7 +31,10 @@ export function Pagination({ } return ( -
+
+ ); }