Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- **Version 2.2 (breaking changes from 2.1.x)**

- 2.2.56: Fixed WCAG issue in Pagination by adding aria labels to buttons
- 2.2.55:
- Updated Logo to accept aria-label for accessibility.
- Fixed bug in DisplaySwitch where layoutClassName is added even when empty.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@conduction/components",
"version": "2.2.55",
"version": "2.2.56",
"description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)",
"main": "lib/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Pagination/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ export const Pagination: React.FC<PaginationProps> = ({
previousAriaLabel={ariaLabels.previousPage}
ariaLabelBuilder={(currentPage) => `${ariaLabels.page} ${currentPage}`}
nextLabel={
<Button tabIndex={-1} className={styles.button}>
<Button tabIndex={-1} className={styles.button} aria-label={ariaLabels.nextPage}>
<FontAwesomeIcon icon={faChevronRight} />
</Button>
}
previousLabel={
<Button tabIndex={-1} className={styles.button}>
<Button tabIndex={-1} className={styles.button} aria-label={ariaLabels.previousPage}>
<FontAwesomeIcon icon={faChevronLeft} />
</Button>
}
Expand Down