A11y: Fix prometheus issues (#42671)

This commit is contained in:
Ivana Huckova
2021-12-03 14:15:25 +01:00
committed by GitHub
parent 698f452e0d
commit 8722c19cc3
3 changed files with 6 additions and 0 deletions
@@ -101,6 +101,7 @@ export class Select<T> extends PureComponent<LegacySelectProps<T>> {
onOpenMenu,
allowCustomValue,
formatCreateLabel,
'aria-label': ariaLabel,
} = this.props;
let widthClass = '';
@@ -151,6 +152,7 @@ export class Select<T> extends PureComponent<LegacySelectProps<T>> {
onMenuOpen={onOpenMenuInternal}
onMenuClose={onCloseMenuInternal}
tabSelectsValue={tabSelectsValue}
aria-label={ariaLabel}
{...creatableOptions}
/>
);