diff --git a/app/lib/frontend/templates/views/shared/pagination.dart b/app/lib/frontend/templates/views/shared/pagination.dart index f6ce49c647..ce58379d13 100644 --- a/app/lib/frontend/templates/views/shared/pagination.dart +++ b/app/lib/frontend/templates/views/shared/pagination.dart @@ -22,6 +22,9 @@ d.Node paginationNode(PageLinks links) { : null, rel: 'prev nofollow', child: d.span(text: '«'), + attributes: { + 'aria-label': 'previous page', + }, ), ), @@ -56,6 +59,9 @@ d.Node paginationNode(PageLinks links) { : null, rel: 'next nofollow', child: d.span(text: '»'), + attributes: { + 'aria-label': 'next page', + }, ), ), ], diff --git a/app/test/frontend/golden/pagination_first.html b/app/test/frontend/golden/pagination_first.html index 2c450171a3..a7bc351d22 100644 --- a/app/test/frontend/golden/pagination_first.html +++ b/app/test/frontend/golden/pagination_first.html @@ -1,7 +1,7 @@