Skip to content

Commit

Permalink
fix(SfScrollable): aria label casing [SFUI2-1306]
Browse files Browse the repository at this point in the history
  • Loading branch information
jagoral committed Aug 7, 2023
1 parent 564ce82 commit 979c29e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/weak-terms-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@storefront-ui/react': patch
---

Fix `aria-label` casing in `SfScrollable`
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const SfScrollable = polymorphicForwardRef<typeof defaultScrollableTag, SfScroll
size: 'lg',
disabled: prevDisabled,
slotPrefix: <SfIconChevronLeft />,
ariaLabel: buttonPrevAriaLabel,
"aria-label": buttonPrevAriaLabel,
className: classNames(
classNameButton,
isFloating ? 'disabled:hidden' : 'disabled:!ring-disabled-300 disabled:!text-disabled-500',
Expand All @@ -112,7 +112,7 @@ const SfScrollable = polymorphicForwardRef<typeof defaultScrollableTag, SfScroll
size: 'lg',
disabled: nextDisabled,
slotPrefix: <SfIconChevronRight />,
ariaLabel: buttonNextAriaLabel,
"aria-label": buttonNextAriaLabel,
className: classNames(
classNameButton,
isFloating ? 'disabled:hidden' : 'disabled:!ring-disabled-300 disabled:!text-disabled-500',
Expand Down

0 comments on commit 979c29e

Please sign in to comment.