Accessibility fixes for Real Settings page (#2897)

This commit is contained in:
agagancarczyk 2022-07-04 17:29:16 +01:00 committed by GitHub
parent a21a0c8e24
commit 492ba6889c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -360,6 +360,7 @@ export const RealmSettingsTabs = ({
})}
>
<Tab
id="profiles"
data-testid="rs-policies-clientProfiles-tab"
aria-label={t("clientProfilesSubTab")}
title={

View file

@ -147,7 +147,7 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => {
setPublicKey(publicKey!);
}}
variant="secondary"
id="kc-rsa-public-key"
id={publicKey}
>
{t("publicKeys").slice(0, -1)}
</Button>
@ -157,7 +157,8 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => {
setCertificate(certificate!);
}}
variant="secondary"
id="kc-certificate"
id={certificate}
className="kc-certificate"
>
{t("certificate")}
</Button>

View file

@ -44,7 +44,7 @@ article.pf-c-card.pf-m-flat.kc-email-connection
padding-bottom: var(--pf-global--spacer--2xl);
}
button#kc-certificate.pf-c-button.pf-m-secondary {
button.kc-certificate.pf-c-button.pf-m-secondary {
margin-left: var(--pf-global--spacer--md);
}