Skip to content

Commit

Permalink
STCOM-1322 Datepicker clear button not in tab order. (#2336)
Browse files Browse the repository at this point in the history
* remove tabIndex -1 from Datepicker's clear button

* log changes
  • Loading branch information
JohnC-80 authored and github-actions committed Aug 19, 2024
1 parent 73b58c9 commit 0e9150b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* Add the `showSortIndicator` property to MLC to display a sort indicator next to the sortable column names. Refs STCOM-1328.
* Expose `aria-label` for SearchField Index `<Select>`. Refs STCOM-1329.
* `<FilterAccordionHeader>` - move focus to accordion header after clear button is pressed. Refs STCOM-1330.
* Remove `tabIndex="-1"` from `<Datepicker>`'s clear button, placing it in tab order. Refs STCOM-1322.

## [12.1.0](https://github.com/folio-org/stripes-components/tree/v12.1.0) (2024-03-12)
[Full Changelog](https://github.com/folio-org/stripes-components/compare/v12.0.0...v12.1.0)
Expand Down
1 change: 0 additions & 1 deletion lib/Datepicker/Datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ const Datepicker = (
onClick={internalClearDate}
aria-label={ariaLabel}
id={`datepicker-clear-button-${testId}`}
tabIndex="-1"
icon="times-circle-solid"
/>
)}
Expand Down

0 comments on commit 0e9150b

Please sign in to comment.