Skip to content

Commit

Permalink
fix(Dashboard): Add aria-label to filters and search forms (#27968)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4202fba)
  • Loading branch information
geido authored and sadpandajoe committed Apr 11, 2024
1 parent 292c3f2 commit 832f304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ function SearchInput({ count, value, onChange }: SearchInputProps) {
className="form-control input-sm"
placeholder={tn('search.num_records', count)}
value={value}
aria-label={t('Search %s records', count)}
onChange={onChange}
/>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ const FilterControl = ({
<div>
<FormItem
label={label}
aria-label={name}
required={filter?.controlValues?.enableEmptyFilter}
validateStatus={validateStatus}
>
Expand Down

0 comments on commit 832f304

Please sign in to comment.