From 8c84f349b711aa8bc02c7e14b130a591c29a42fa Mon Sep 17 00:00:00 2001 From: Jan Hassel Date: Fri, 10 Jul 2020 21:13:31 +0200 Subject: [PATCH 1/2] fix(pagination-nav): add data-page attributes (#6437) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/react/src/components/PaginationNav/PaginationNav.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react/src/components/PaginationNav/PaginationNav.js b/packages/react/src/components/PaginationNav/PaginationNav.js index ce7a0756ed70..cef56edc04d0 100644 --- a/packages/react/src/components/PaginationNav/PaginationNav.js +++ b/packages/react/src/components/PaginationNav/PaginationNav.js @@ -104,6 +104,7 @@ function PaginationItem({ [`${prefix}--pagination-nav__page--active`]: isActive, })} onClick={onClick} + data-page={page} aria-current={isActive ? 'page' : null}> {isActive @@ -139,6 +140,7 @@ function PaginationOverflow({ {[...Array(count)].map((e, i) => ( From 2692813cc53972ef4a460a51d87b7e45285ca742 Mon Sep 17 00:00:00 2001 From: DAK <40970507+dakahn@users.noreply.github.com> Date: Fri, 10 Jul 2020 14:42:02 -0500 Subject: [PATCH 2/2] fix(multiselect): remove aria-selected prop (#6440) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/react/src/components/MultiSelect/MultiSelect.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react/src/components/MultiSelect/MultiSelect.js b/packages/react/src/components/MultiSelect/MultiSelect.js index 436eac717b70..688078d869b0 100644 --- a/packages/react/src/components/MultiSelect/MultiSelect.js +++ b/packages/react/src/components/MultiSelect/MultiSelect.js @@ -221,7 +221,6 @@ function MultiSelect({ .length > 0; return (