Add aria-label to SearchHistory items (a11y — items are decorative without text label)

This commit is contained in:
2026-04-20 22:00:25 +03:00
parent 841099287a
commit 50cc2350ab
+1
View File
@@ -141,6 +141,7 @@ export const SearchHistory: FC = () => {
className="search-history-item"
role="button"
tabIndex={0}
aria-label={item.label}
onClick={() => handleItemClick(item)}
onKeyDown={(e) => {
if (e.key === "Enter" || e.key === " ") {