parent
492ba6889c
commit
afc04588a5
2 changed files with 12 additions and 4 deletions
|
@ -52,5 +52,6 @@
|
|||
"all": "All",
|
||||
"saml": "SAML",
|
||||
"openid-connect": "openid-connect"
|
||||
}
|
||||
},
|
||||
"headerName": "header name"
|
||||
}
|
||||
|
|
|
@ -86,10 +86,17 @@ export const AddMapperDialog = (props: AddMapperDialogProps) => {
|
|||
|
||||
return (
|
||||
<Modal
|
||||
aria-labelledby={t("addPredefinedMappers")}
|
||||
aria-label={
|
||||
isBuiltIn ? t("addPredefinedMappers") : t("emptySecondaryAction")
|
||||
}
|
||||
variant={ModalVariant.medium}
|
||||
header={
|
||||
<TextContent>
|
||||
<TextContent
|
||||
role="dialog"
|
||||
aria-label={
|
||||
isBuiltIn ? t("addPredefinedMappers") : t("emptySecondaryAction")
|
||||
}
|
||||
>
|
||||
<Text component={TextVariants.h1}>
|
||||
{isBuiltIn ? t("addPredefinedMappers") : t("emptySecondaryAction")}
|
||||
</Text>
|
||||
|
@ -142,7 +149,7 @@ export const AddMapperDialog = (props: AddMapperDialogProps) => {
|
|||
aria-label={t("addPredefinedMappers")}
|
||||
isCompact
|
||||
>
|
||||
<DataListItem aria-labelledby="headerName" id="header">
|
||||
<DataListItem aria-label={t("headerName")} id="header">
|
||||
<DataListItemRow>
|
||||
<DataListItemCells
|
||||
dataListCells={header.map((name) => (
|
||||
|
|
Loading…
Reference in a new issue