Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing a11y errors in basic_login_form.tsx and edit_role_page.tsx #26902

Merged
merged 1 commit into from
Dec 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down