Skip to content

Commit

Permalink
fix(Dashboard): Add aria-label to filters and search forms (apache#27968
Browse files Browse the repository at this point in the history
)
  • Loading branch information
geido authored and qleroy committed Apr 28, 2024
1 parent e02b2d5 commit a311919
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 @@ -168,6 +168,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 a311919

Please sign in to comment.