Pagination: Add role="navigation" to improve a11y (#106027)
feat: add role to the pagination Improves a11y by maintaining proper navigation landmarks
This commit is contained in:
@@ -102,7 +102,7 @@ export const Pagination = ({
|
||||
const nextPageLabel = t('grafana-ui.pagination.next-page', 'next page');
|
||||
|
||||
return (
|
||||
<div className={cx(styles.container, className)}>
|
||||
<div className={cx(styles.container, className)} role="navigation">
|
||||
<ol>
|
||||
<li className={styles.item}>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user