fixing a11y errors so we can add a11y rules for tslint (#26902)
This commit is contained in:
parent
45a67701f2
commit
7e0207385b
|
@ -57,7 +57,7 @@ class BasicLoginFormUI extends Component<Props, State> {
|
|||
onChange={this.onUsernameChange}
|
||||
disabled={this.state.isLoading}
|
||||
isInvalid={false}
|
||||
aria-required
|
||||
aria-required={true}
|
||||
inputRef={this.setUsernameInputRef}
|
||||
/>
|
||||
</EuiFormRow>
|
||||
|
@ -79,7 +79,7 @@ class BasicLoginFormUI extends Component<Props, State> {
|
|||
onChange={this.onPasswordChange}
|
||||
disabled={this.state.isLoading}
|
||||
isInvalid={false}
|
||||
aria-required
|
||||
aria-required={true}
|
||||
/>
|
||||
</EuiFormRow>
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ class EditRolePageUI extends Component<Props, State> {
|
|||
<Fragment>
|
||||
<EuiSpacer size="s" />
|
||||
<EuiText size="s" color="subdued">
|
||||
<p id="reservedRoleDescription" tabIndex={1}>
|
||||
<p id="reservedRoleDescription" tabIndex={0}>
|
||||
<FormattedMessage
|
||||
id="xpack.security.management.editRole.modifyingReversedRolesDescription"
|
||||
defaultMessage="Reserved roles are built-in and cannot be removed or modified."
|
||||
|
|
Loading…
Reference in a new issue