diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx index 3f03b46bf5c5e..f8c89e72e7db7 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx @@ -237,12 +237,15 @@ export const SelectSeverityUI: FC< [onChange, allSeverityOptions] ); + const anomalyScoreLabel = i18n.translate('xpack.ml.explorer.severityThresholdLabel', { + defaultMessage: 'Anomaly score', + }); + return (
{ inputDisplay: React.JSX.Element | string; options: Array>; onOptionsChange?: (options: Array>) => void; + 'aria-label'?: string; } export const MultiSuperSelect = ({ @@ -22,6 +23,7 @@ export const MultiSuperSelect = ({ inputDisplay, options, onOptionsChange, + 'aria-label': ariaLabel, }: MultiSuperSelect) => { const [isPopoverOpen, setIsPopoverOpen] = useState(false); @@ -33,7 +35,7 @@ export const MultiSuperSelect = ({ const popoverButton = ( - + {inputDisplay}