Add aria-label to Schedule search forms (a11y discoverable forms)
This commit is contained in:
@@ -239,6 +239,7 @@ export const ScheduleFilter: FC<ScheduleFilterProps> = ({
|
||||
onSubmit={handleSubmit}
|
||||
className="schedule-filter__form"
|
||||
data-testid="search-form"
|
||||
aria-label={t("SCHEDULE.TITLE")}
|
||||
>
|
||||
<div className="filter-content">
|
||||
<CityAutocomplete
|
||||
|
||||
@@ -227,6 +227,7 @@ export const ScheduleStartPage: FC = () => {
|
||||
<form
|
||||
className="schedule-start__form"
|
||||
data-testid="schedule-search-form"
|
||||
aria-label={t("SCHEDULE.TITLE")}
|
||||
onSubmit={handleSubmit}
|
||||
>
|
||||
<CityAutocomplete
|
||||
|
||||
Reference in New Issue
Block a user