Skip to content

Commit

Permalink
fix: added role='button' to search link (#612)
Browse files Browse the repository at this point in the history
* fix: added role='button' to search link

* fix: changed link for search in case js is not enabled

---------

Co-authored-by: Piero Nicolli <[email protected]>
  • Loading branch information
sabrina-bongiovanni and pnicolli authored Mar 27, 2024
1 parent bce4f36 commit c8b7440
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

### Migliorie

- Migliorata l'accessibilità del bottone "Cerca".
- Migliorata l'accessibilità del blocco Icone.
- Migliorata l'accessibilità per la customer satisfaction.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ const HeaderSearch = () => {
e.preventDefault();
setShowSearchModal(true);
}}
href="#search"
href="/search"
role="button"
>
<Icon icon="it-search" />
</a>
Expand Down

0 comments on commit c8b7440

Please sign in to comment.