File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,13 @@ const Pagination = memo(
115
115
< Pane is = "nav" role = "navigation" aria-label = "Pagination" { ...rest } ref = { ref } >
116
116
< Pane is = "ul" display = "flex" alignItems = "center" padding = { 0 } >
117
117
< Pane is = "li" listStyle = "none" >
118
- < IconButton appearance = "minimal" icon = { ChevronLeftIcon } disabled = { page === 1 } onClick = { onPreviousPage } />
118
+ < IconButton
119
+ appearance = "minimal"
120
+ icon = { ChevronLeftIcon }
121
+ disabled = { page === 1 }
122
+ onClick = { onPreviousPage }
123
+ aria-label = "Previous page"
124
+ />
119
125
</ Pane >
120
126
{ totalPages
121
127
? getPaginationButtonContent ( { totalPages, page } ) . map ( ( val , i ) => {
@@ -142,6 +148,7 @@ const Pagination = memo(
142
148
icon = { ChevronRightIcon }
143
149
disabled = { totalPages ? page === totalPages : undefined }
144
150
onClick = { onNextPage }
151
+ aria-label = "Next page"
145
152
/>
146
153
</ Pane >
147
154
</ Pane >
You can’t perform that action at this time.
0 commit comments