Skip to content

Commit 025f905

Browse files
committed
fix: aria-hidden arrows
1 parent 3194660 commit 025f905

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function NextArrow(props) {
7878
onKeyDown={handleKeyboardUsers}
7979
id="sliderNextArrow"
8080
>
81-
<Icon icon="chevron-right" key="chevron-right" />
81+
<Icon icon="chevron-right" key="chevron-right" aria-hidden={true} />
8282
<span class="sr-only">{intl.formatMessage(messages.successivo)}</span>
8383
</button>
8484
);
@@ -121,7 +121,7 @@ function PrevArrow(props) {
121121
id="sliderPrevArrow"
122122
onKeyDown={handleKeyboardUsers}
123123
>
124-
<Icon icon="chevron-left" key="chevron-left-prev" />
124+
<Icon icon="chevron-left" key="chevron-left-prev" aria-hidden={true} />
125125
<span class="sr-only">{intl.formatMessage(messages.precedente)}</span>
126126
</button>
127127
);

0 commit comments

Comments
 (0)