fixed a11y issues for clients list (#21255)

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
agagancarczyk 2023-06-29 12:59:07 +01:00 committed by GitHub
parent a6c85439c9
commit f67ed6e7fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -128,6 +128,7 @@ export const AuthorizationPolicies = ({ clientId }: PoliciesProps) => {
variant="warning" variant="warning"
isInline isInline
isPlain isPlain
component="p"
title={t("deletePolicyWarning")} title={t("deletePolicyWarning")}
className="pf-u-pt-lg" className="pf-u-pt-lg"
> >

View file

@ -240,7 +240,7 @@ export const ClientScopes = ({
<KeycloakDataTable <KeycloakDataTable
key={key} key={key}
loader={loader} loader={loader}
ariaLabelKey="clients:clientScopeList" ariaLabelKey={`clients:clientScopeList-${key}`}
searchPlaceholderKey={ searchPlaceholderKey={
searchType === "name" ? "clients:searchByName" : undefined searchType === "name" ? "clients:searchByName" : undefined
} }