Fixed a11y violations for clients (#21310)
* fixed a11y violations for clients * feedback --------- Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
parent
7d348b9053
commit
01e861a711
4 changed files with 9 additions and 9 deletions
|
@ -272,7 +272,7 @@ export default function PermissionDetails() {
|
|||
{applyToResourceTypeFlag ? (
|
||||
<FormGroup
|
||||
label={t("resourceType")}
|
||||
fieldId="name"
|
||||
fieldId="resourceType"
|
||||
labelIcon={
|
||||
<HelpItem
|
||||
helpText={t("clients-help:resourceType")}
|
||||
|
|
|
@ -266,12 +266,12 @@ export const AuthorizationPermissions = ({ clientId }: PermissionsProps) => {
|
|||
<TableComposable aria-label={t("resources")} variant="compact">
|
||||
<Thead>
|
||||
<Tr>
|
||||
<Th />
|
||||
<Th aria-hidden="true" />
|
||||
<Th>{t("common:name")}</Th>
|
||||
<Th>{t("common:type")}</Th>
|
||||
<Th>{t("associatedPolicy")}</Th>
|
||||
<Th>{t("common:description")}</Th>
|
||||
<Th />
|
||||
<Th aria-hidden="true" />
|
||||
</Tr>
|
||||
</Thead>
|
||||
{permissions.map((permission, rowIndex) => (
|
||||
|
|
|
@ -185,14 +185,14 @@ export const AuthorizationResources = ({ clientId }: ResourcesProps) => {
|
|||
<TableComposable aria-label={t("resources")} variant="compact">
|
||||
<Thead>
|
||||
<Tr>
|
||||
<Th />
|
||||
<Th aria-hidden="true" />
|
||||
<Th>{t("common:name")}</Th>
|
||||
<Th>{t("displayName")}</Th>
|
||||
<Th>{t("common:type")}</Th>
|
||||
<Th>{t("owner")}</Th>
|
||||
<Th>{t("uris")}</Th>
|
||||
<Th />
|
||||
<Th />
|
||||
<Th aria-hidden="true" />
|
||||
<Th aria-hidden="true" />
|
||||
</Tr>
|
||||
</Thead>
|
||||
{resources.map((resource, rowIndex) => (
|
||||
|
|
|
@ -183,11 +183,11 @@ export const AuthorizationScopes = ({ clientId }: ScopesProps) => {
|
|||
<TableComposable aria-label={t("scopes")} variant="compact">
|
||||
<Thead>
|
||||
<Tr>
|
||||
<Th />
|
||||
<Th aria-hidden="true" />
|
||||
<Th>{t("common:name")}</Th>
|
||||
<Th>{t("displayName")}</Th>
|
||||
<Th />
|
||||
<Th />
|
||||
<Th aria-hidden="true" />
|
||||
<Th aria-hidden="true" />
|
||||
</Tr>
|
||||
</Thead>
|
||||
{scopes.map((scope, rowIndex) => (
|
||||
|
|
Loading…
Reference in a new issue