fix(NA): accessibility problems with upgrade assistant. (#29013) (#29050)

This commit is contained in:
Tiago Costa 2019-01-21 14:40:19 +00:00 committed by GitHub
parent b522b29eb4
commit 14bbd20d85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -42,6 +42,7 @@ export const CheckupControlsUI: StatelessComponent<CheckupControlsProps> = ({
<EuiFlexGroup alignItems="center" wrap={true} responsive={false}>
<EuiFlexItem grow={true}>
<EuiFieldSearch
aria-label="Filter"
placeholder={intl.formatMessage({
id: 'xpack.upgradeAssistant.checkupTab.controls.searchBarPlaceholder',
defaultMessage: 'Filter',

View file

@ -44,6 +44,7 @@ export class DeprecationLoggingToggleUI extends React.Component<
return (
<EuiSwitch
id="xpack.upgradeAssistant.overviewTab.steps.deprecationLogsStep.enableDeprecationLoggingToggleSwitch"
data-test-subj="upgradeAssistantDeprecationToggle"
label={this.renderLoggingState()}
checked={loggingEnabled}