feat: add tabindex 0 to search bar icon for direct focus

This commit is contained in:
cj-do-gta-sander 2024-10-24 11:02:48 -03:00
parent b754b1e052
commit a54983c339

View File

@ -101,6 +101,7 @@ export function Header({ onSearch, onClear, search }: HeaderProps) {
type="button" type="button"
className={styles.actionButton} className={styles.actionButton}
onClick={focusInput} onClick={focusInput}
tabIndex={-1}
> >
<SearchIcon /> <SearchIcon />
</button> </button>