Skip to content

Commit

Permalink
Add aria label to group
Browse files Browse the repository at this point in the history
  • Loading branch information
smith committed May 25, 2021
1 parent 26a971a commit 4398630
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export interface StatusFilterProps {

export function StatusFilter({ status = 'open', onChange }: StatusFilterProps) {
return (
<EuiFilterGroup>
<EuiFilterGroup
aria-label={i18n.translate('xpack.observability.alerts.statusFilterAriaLabel', {
defaultMessage: 'Filter alerts by active and recovered status',
})}
>
<EuiFilterButton
data-test-subj="StatusFilter open button"
hasActiveFilters={status === 'open'}
Expand Down

0 comments on commit 4398630

Please sign in to comment.