Remove tabindex from filter remove button ()

Filters can already be removed via backspace
Removing the tabindex ensures the search input is focused by default instead
pull/28788/head^2
Janne Mareike Koschinski 2022-06-28 11:44:36 +02:00 committed by GitHub
parent 9cf03a8d32
commit e1d6356927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
src/components/views/dialogs/spotlight

View File

@ -1023,6 +1023,7 @@ const SpotlightDialog: React.FC<IProps> = ({ initialText = "", initialFilter = n
})}>
<span>{ filterToLabel(filter) }</span>
<AccessibleButton
tabIndex={-1}
alt={_t("Remove search filter for %(filter)s", {
filter: filterToLabel(filter),
})}