diff --git a/apps/admin-ui/public/resources/en/common.json b/apps/admin-ui/public/resources/en/common.json index 10d5729108..3fe742cd60 100644 --- a/apps/admin-ui/public/resources/en/common.json +++ b/apps/admin-ui/public/resources/en/common.json @@ -52,6 +52,7 @@ "helpDisabled": "Help off", "documentation": "Documentation", "enableHelpMode": "Enable help mode", + "enableHelp": "Help is enabled", "learnMore": "Learn more", "show": "Show", "hide": "Hide", diff --git a/apps/admin-ui/src/authentication/RequiredActions.tsx b/apps/admin-ui/src/authentication/RequiredActions.tsx index 48790df2de..3531f23c8c 100644 --- a/apps/admin-ui/src/authentication/RequiredActions.tsx +++ b/apps/admin-ui/src/authentication/RequiredActions.tsx @@ -145,6 +145,7 @@ export const RequiredActions = () => { onChange={() => { updateAction(row.data, "enabled"); }} + aria-label={toKey(row.name)} /> ), }, @@ -161,6 +162,7 @@ export const RequiredActions = () => { onChange={() => { updateAction(row.data, "defaultAction"); }} + aria-label={toKey(row.name)} /> ), }, diff --git a/apps/admin-ui/src/authentication/policies/PolicyRow.tsx b/apps/admin-ui/src/authentication/policies/PolicyRow.tsx index 7d2a8164ba..5dfdb68fe0 100644 --- a/apps/admin-ui/src/authentication/policies/PolicyRow.tsx +++ b/apps/admin-ui/src/authentication/policies/PolicyRow.tsx @@ -96,6 +96,7 @@ export const PolicyRow = ({ labelOff={t("common:off")} isChecked isDisabled + aria-label={displayName} /> )} diff --git a/apps/admin-ui/src/authentication/policies/WebauthnPolicy.tsx b/apps/admin-ui/src/authentication/policies/WebauthnPolicy.tsx index 06a45f4f06..e6b0977f3f 100644 --- a/apps/admin-ui/src/authentication/policies/WebauthnPolicy.tsx +++ b/apps/admin-ui/src/authentication/policies/WebauthnPolicy.tsx @@ -332,6 +332,7 @@ export const WebauthnPolicy = ({ labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("webAuthnPolicyAvoidSameAuthenticatorRegister")} /> )} /> diff --git a/apps/admin-ui/src/client-scopes/details/ScopeForm.tsx b/apps/admin-ui/src/client-scopes/details/ScopeForm.tsx index 5a72b4c600..1496c4fb11 100644 --- a/apps/admin-ui/src/client-scopes/details/ScopeForm.tsx +++ b/apps/admin-ui/src/client-scopes/details/ScopeForm.tsx @@ -223,6 +223,7 @@ export const ScopeForm = ({ clientScope, save }: ScopeFormProps) => { labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange("" + value)} + aria-label={t("displayOnConsentScreen")} /> )} /> @@ -268,6 +269,7 @@ export const ScopeForm = ({ clientScope, save }: ScopeFormProps) => { labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange("" + value)} + aria-label={t("includeInTokenScope")} /> )} /> diff --git a/apps/admin-ui/src/clients/ClientDescription.tsx b/apps/admin-ui/src/clients/ClientDescription.tsx index c0277a377e..9ca8919824 100644 --- a/apps/admin-ui/src/clients/ClientDescription.tsx +++ b/apps/admin-ui/src/clients/ClientDescription.tsx @@ -92,7 +92,7 @@ export const ClientDescription = ({ /> )} /> diff --git a/apps/admin-ui/src/clients/add/CapabilityConfig.tsx b/apps/admin-ui/src/clients/add/CapabilityConfig.tsx index d5a8582933..8dbd2e9f87 100644 --- a/apps/admin-ui/src/clients/add/CapabilityConfig.tsx +++ b/apps/admin-ui/src/clients/add/CapabilityConfig.tsx @@ -77,6 +77,7 @@ export const CapabilityConfig = ({ ); } }} + aria-label={t("clientAuthentication")} /> )} /> @@ -111,6 +112,7 @@ export const CapabilityConfig = ({ } }} isDisabled={clientAuthentication} + aria-label={t("clientAuthorization")} /> )} /> @@ -300,6 +302,7 @@ export const CapabilityConfig = ({ labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("encryptAssertions")} /> )} /> @@ -329,6 +332,7 @@ export const CapabilityConfig = ({ labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("clientSignature")} /> )} /> diff --git a/apps/admin-ui/src/clients/add/LoginSettingsPanel.tsx b/apps/admin-ui/src/clients/add/LoginSettingsPanel.tsx index 8b861ec6a3..0f570dc806 100644 --- a/apps/admin-ui/src/clients/add/LoginSettingsPanel.tsx +++ b/apps/admin-ui/src/clients/add/LoginSettingsPanel.tsx @@ -94,6 +94,7 @@ export const LoginSettingsPanel = ({ access }: { access?: boolean }) => { labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("consentRequired")} /> )} /> @@ -123,6 +124,7 @@ export const LoginSettingsPanel = ({ access }: { access?: boolean }) => { isChecked={value === "true"} onChange={(value) => onChange("" + value)} isDisabled={!consentRequired} + aria-label={t("displayOnClient")} /> )} /> diff --git a/apps/admin-ui/src/clients/add/LogoutPanel.tsx b/apps/admin-ui/src/clients/add/LogoutPanel.tsx index 944a54a2c8..19671a6376 100644 --- a/apps/admin-ui/src/clients/add/LogoutPanel.tsx +++ b/apps/admin-ui/src/clients/add/LogoutPanel.tsx @@ -59,6 +59,7 @@ export const LogoutPanel = ({ labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("frontchannelLogout")} /> )} /> @@ -167,6 +168,7 @@ export const LogoutPanel = ({ labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("backchannelLogoutSessionRequired")} /> )} /> @@ -195,6 +197,7 @@ export const LogoutPanel = ({ labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("backchannelLogoutRevokeOfflineSessions")} /> )} /> diff --git a/apps/admin-ui/src/clients/add/SamlConfig.tsx b/apps/admin-ui/src/clients/add/SamlConfig.tsx index 3e2629f91e..d7ee778d10 100644 --- a/apps/admin-ui/src/clients/add/SamlConfig.tsx +++ b/apps/admin-ui/src/clients/add/SamlConfig.tsx @@ -42,6 +42,7 @@ export const Toggle = ({ name, label }: { name: string; label: string }) => { labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t(label)} /> )} /> diff --git a/apps/admin-ui/src/clients/advanced/AdvancedSettings.tsx b/apps/admin-ui/src/clients/advanced/AdvancedSettings.tsx index 085eae9b29..cf350a11e2 100644 --- a/apps/admin-ui/src/clients/advanced/AdvancedSettings.tsx +++ b/apps/admin-ui/src/clients/advanced/AdvancedSettings.tsx @@ -103,6 +103,7 @@ export const AdvancedSettings = ({ labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange("" + value)} + aria-label={t("oAuthMutual")} /> )} /> @@ -168,6 +169,7 @@ export const AdvancedSettings = ({ labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("pushedAuthorizationRequestRequired")} /> )} /> diff --git a/apps/admin-ui/src/clients/advanced/OpenIdConnectCompatibilityModes.tsx b/apps/admin-ui/src/clients/advanced/OpenIdConnectCompatibilityModes.tsx index 5b352dcb4f..c534254f4e 100644 --- a/apps/admin-ui/src/clients/advanced/OpenIdConnectCompatibilityModes.tsx +++ b/apps/admin-ui/src/clients/advanced/OpenIdConnectCompatibilityModes.tsx @@ -50,6 +50,7 @@ export const OpenIdConnectCompatibilityModes = ({ labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("excludeSessionStateFromAuthenticationResponse")} /> )} /> @@ -76,6 +77,7 @@ export const OpenIdConnectCompatibilityModes = ({ labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("useRefreshTokens")} /> )} /> @@ -104,6 +106,7 @@ export const OpenIdConnectCompatibilityModes = ({ labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("useRefreshTokenForClientCredentialsGrant")} /> )} /> @@ -132,6 +135,7 @@ export const OpenIdConnectCompatibilityModes = ({ labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("useLowerCaseBearerType")} /> )} /> diff --git a/apps/admin-ui/src/clients/authorization/AuthorizationEvaluate.tsx b/apps/admin-ui/src/clients/authorization/AuthorizationEvaluate.tsx index d38489728a..8a7600d5c2 100644 --- a/apps/admin-ui/src/clients/authorization/AuthorizationEvaluate.tsx +++ b/apps/admin-ui/src/clients/authorization/AuthorizationEvaluate.tsx @@ -269,6 +269,7 @@ export const AuthorizationEvaluate = ({ client }: Props) => { labelOff={t("common:off")} isChecked={applyToResourceType} onChange={setApplyToResourceType} + aria-label={t("applyToResourceType")} /> diff --git a/apps/admin-ui/src/clients/authorization/ImportDialog.tsx b/apps/admin-ui/src/clients/authorization/ImportDialog.tsx index ecac03561d..e2112d2542 100644 --- a/apps/admin-ui/src/clients/authorization/ImportDialog.tsx +++ b/apps/admin-ui/src/clients/authorization/ImportDialog.tsx @@ -122,6 +122,7 @@ export const ImportDialog = ({ onConfirm, closeDialog }: ImportDialogProps) => { labelOff={t("common:off")} isChecked={imported.allowRemoteResourceManagement} isDisabled + aria-label={t("allowRemoteResourceManagement")} /> diff --git a/apps/admin-ui/src/clients/authorization/PermissionDetails.tsx b/apps/admin-ui/src/clients/authorization/PermissionDetails.tsx index f3dc0423f7..077526176a 100644 --- a/apps/admin-ui/src/clients/authorization/PermissionDetails.tsx +++ b/apps/admin-ui/src/clients/authorization/PermissionDetails.tsx @@ -260,6 +260,7 @@ export default function PermissionDetails() { labelOff={t("common:off")} isChecked={applyToResourceTypeFlag} onChange={setApplyToResourceTypeFlag} + aria-label={t("applyToResourceTypeFlag")} /> {applyToResourceTypeFlag ? ( diff --git a/apps/admin-ui/src/clients/authorization/ResourceDetails.tsx b/apps/admin-ui/src/clients/authorization/ResourceDetails.tsx index 68cdda5656..373bc33ca7 100644 --- a/apps/admin-ui/src/clients/authorization/ResourceDetails.tsx +++ b/apps/admin-ui/src/clients/authorization/ResourceDetails.tsx @@ -296,6 +296,7 @@ export default function ResourceDetails() { labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("ownerManagedAccess")} /> )} /> diff --git a/apps/admin-ui/src/clients/authorization/Settings.tsx b/apps/admin-ui/src/clients/authorization/Settings.tsx index 921f711840..ab9688b943 100644 --- a/apps/admin-ui/src/clients/authorization/Settings.tsx +++ b/apps/admin-ui/src/clients/authorization/Settings.tsx @@ -158,6 +158,7 @@ export const AuthorizationSettings = ({ clientId }: { clientId: string }) => { labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("allowRemoteResourceManagement")} /> )} /> diff --git a/apps/admin-ui/src/clients/credentials/X509.tsx b/apps/admin-ui/src/clients/credentials/X509.tsx index 8ab4de3289..5dbcf863a4 100644 --- a/apps/admin-ui/src/clients/credentials/X509.tsx +++ b/apps/admin-ui/src/clients/credentials/X509.tsx @@ -38,6 +38,7 @@ export const X509 = () => { labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("allowRegexComparison")} /> )} /> diff --git a/apps/admin-ui/src/clients/keys/Keys.tsx b/apps/admin-ui/src/clients/keys/Keys.tsx index 12f3b66fee..3112b3238c 100644 --- a/apps/admin-ui/src/clients/keys/Keys.tsx +++ b/apps/admin-ui/src/clients/keys/Keys.tsx @@ -155,6 +155,7 @@ export const Keys = ({ clientId, save, hasConfigureAccess }: KeysProps) => { labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(`${value}`)} + aria-label={t("useJwksUrl")} /> )} /> diff --git a/apps/admin-ui/src/clients/keys/SamlKeys.tsx b/apps/admin-ui/src/clients/keys/SamlKeys.tsx index 7d804c87b5..e3505cac53 100644 --- a/apps/admin-ui/src/clients/keys/SamlKeys.tsx +++ b/apps/admin-ui/src/clients/keys/SamlKeys.tsx @@ -110,6 +110,7 @@ const KeySection = ({ onGenerate(attr, false); } }} + aria-label={t(key)} /> )} /> diff --git a/apps/admin-ui/src/clients/scopes/DecicatedScope.tsx b/apps/admin-ui/src/clients/scopes/DecicatedScope.tsx index 42ea373fa8..e15bc2e994 100644 --- a/apps/admin-ui/src/clients/scopes/DecicatedScope.tsx +++ b/apps/admin-ui/src/clients/scopes/DecicatedScope.tsx @@ -100,6 +100,7 @@ export const DedicatedScope = ({ labelOff={t("common:off")} isChecked={client.fullScopeAllowed} onChange={update} + aria-label={t("fullScopeAllowed")} /> diff --git a/apps/admin-ui/src/components/dynamic/BooleanComponent.tsx b/apps/admin-ui/src/components/dynamic/BooleanComponent.tsx index 68f7e1a692..2a3973d8cc 100644 --- a/apps/admin-ui/src/components/dynamic/BooleanComponent.tsx +++ b/apps/admin-ui/src/components/dynamic/BooleanComponent.tsx @@ -39,6 +39,7 @@ export const BooleanComponent = ({ isChecked={value === "true" || value === true} onChange={(value) => onChange("" + value)} data-testid={name} + aria-label={t(label!)} /> )} /> diff --git a/apps/admin-ui/src/components/help-enabler/HelpHeader.tsx b/apps/admin-ui/src/components/help-enabler/HelpHeader.tsx index 09e4e075ba..2e376d5af2 100644 --- a/apps/admin-ui/src/components/help-enabler/HelpHeader.tsx +++ b/apps/admin-ui/src/components/help-enabler/HelpHeader.tsx @@ -69,7 +69,7 @@ export const HelpHeader = () => { { toggleDisableDialog(); } }} + aria-label={t("permissionsEnabled")} /> diff --git a/apps/admin-ui/src/components/view-header/ViewHeader.tsx b/apps/admin-ui/src/components/view-header/ViewHeader.tsx index 3f08cfb9f4..0c4ac5b49e 100644 --- a/apps/admin-ui/src/components/view-header/ViewHeader.tsx +++ b/apps/admin-ui/src/components/view-header/ViewHeader.tsx @@ -130,6 +130,7 @@ export const ViewHeader = ({ className="pf-u-mr-lg" isDisabled={isReadOnly} isChecked={isEnabled} + aria-label={t("common:enabled")} onChange={(value) => { onToggle(value); }} diff --git a/apps/admin-ui/src/identity-providers/component/DiscoveryEndpointField.tsx b/apps/admin-ui/src/identity-providers/component/DiscoveryEndpointField.tsx index f5b84f0b31..7cb37011ee 100644 --- a/apps/admin-ui/src/identity-providers/component/DiscoveryEndpointField.tsx +++ b/apps/admin-ui/src/identity-providers/component/DiscoveryEndpointField.tsx @@ -93,6 +93,9 @@ export const DiscoveryEndpointField = ({ clearErrors("discoveryError"); setDiscovery(checked); }} + aria-label={t( + id === "oidc" ? "useDiscoveryEndpoint" : "useEntityDescriptor" + )} /> {discovery && ( diff --git a/apps/admin-ui/src/identity-providers/component/ExtendedFieldsForm.tsx b/apps/admin-ui/src/identity-providers/component/ExtendedFieldsForm.tsx index cbf28b83f0..ebd1e86441 100644 --- a/apps/admin-ui/src/identity-providers/component/ExtendedFieldsForm.tsx +++ b/apps/admin-ui/src/identity-providers/component/ExtendedFieldsForm.tsx @@ -133,6 +133,7 @@ const GoogleFields = () => { labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("google.userIp")} /> )} /> @@ -158,6 +159,7 @@ const GoogleFields = () => { labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("google.offlineAccess")} /> )} /> @@ -227,6 +229,7 @@ const PaypalFields = () => { labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("paypal.sandbox")} /> )} /> diff --git a/apps/admin-ui/src/identity-providers/component/SwitchField.tsx b/apps/admin-ui/src/identity-providers/component/SwitchField.tsx index d7ff4276c9..e9f452de12 100644 --- a/apps/admin-ui/src/identity-providers/component/SwitchField.tsx +++ b/apps/admin-ui/src/identity-providers/component/SwitchField.tsx @@ -36,6 +36,7 @@ export const SwitchField = ({ onChange(fieldType === "string" ? "" + value : value) } isDisabled={isReadOnly} + aria-label={label} /> )} /> diff --git a/apps/admin-ui/src/realm-settings/EmailTab.tsx b/apps/admin-ui/src/realm-settings/EmailTab.tsx index 5d11c1c434..ab42e49c08 100644 --- a/apps/admin-ui/src/realm-settings/EmailTab.tsx +++ b/apps/admin-ui/src/realm-settings/EmailTab.tsx @@ -335,6 +335,7 @@ export const RealmSettingsEmailTab = ({ onChange={(value) => { onChange("" + value); }} + aria-label={t("authentication")} /> )} /> diff --git a/apps/admin-ui/src/realm-settings/GeneralTab.tsx b/apps/admin-ui/src/realm-settings/GeneralTab.tsx index 3f5baaa7cb..5cf133a867 100644 --- a/apps/admin-ui/src/realm-settings/GeneralTab.tsx +++ b/apps/admin-ui/src/realm-settings/GeneralTab.tsx @@ -200,6 +200,7 @@ export const RealmSettingsGeneralTab = ({ labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("userManagedAccess")} /> )} /> @@ -228,6 +229,7 @@ export const RealmSettingsGeneralTab = ({ labelOff={t("common:off")} isChecked={value === "true"} onChange={(value) => onChange(value.toString())} + aria-label={t("userProfileEnabled")} /> )} /> diff --git a/apps/admin-ui/src/realm-settings/LocalizationTab.tsx b/apps/admin-ui/src/realm-settings/LocalizationTab.tsx index 60145a423b..9e59fbaecf 100644 --- a/apps/admin-ui/src/realm-settings/LocalizationTab.tsx +++ b/apps/admin-ui/src/realm-settings/LocalizationTab.tsx @@ -371,6 +371,7 @@ export const LocalizationTab = ({ save, realm }: LocalizationTabProps) => { : "internationalization-disabled" } onChange={onChange} + aria-label={t("internationalization")} /> )} /> diff --git a/apps/admin-ui/src/realm-settings/LoginTab.tsx b/apps/admin-ui/src/realm-settings/LoginTab.tsx index f174af9c4c..2876bacf34 100644 --- a/apps/admin-ui/src/realm-settings/LoginTab.tsx +++ b/apps/admin-ui/src/realm-settings/LoginTab.tsx @@ -74,6 +74,7 @@ export const RealmSettingsLoginTab = ({ onChange={(value) => { updateSwitchValue({ registrationAllowed: value }); }} + aria-label={t("registrationAllowed")} /> { updateSwitchValue({ resetPasswordAllowed: value }); }} + aria-label={t("resetPasswordAllowed")} /> { updateSwitchValue({ rememberMe: value }); }} + aria-label={t("rememberMe")} /> @@ -155,6 +158,7 @@ export const RealmSettingsLoginTab = ({ }, ]); }} + aria-label={t("registrationEmailAsUsername")} /> { updateSwitchValue({ verifyEmail: value }); }} + aria-label={t("verifyEmail")} /> @@ -268,6 +275,7 @@ export const RealmSettingsLoginTab = ({ onChange={(value) => { updateSwitchValue({ editUsernameAllowed: value }); }} + aria-label={t("editUsernameAllowed")} /> diff --git a/apps/admin-ui/src/realm-settings/PartialExport.tsx b/apps/admin-ui/src/realm-settings/PartialExport.tsx index 9b186708d4..6824bda74d 100644 --- a/apps/admin-ui/src/realm-settings/PartialExport.tsx +++ b/apps/admin-ui/src/realm-settings/PartialExport.tsx @@ -111,6 +111,7 @@ export const PartialExportDialog = ({ onChange={setExportGroupsAndRoles} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("includeGroupsAndRoles")} /> diff --git a/apps/admin-ui/src/realm-settings/PoliciesTab.tsx b/apps/admin-ui/src/realm-settings/PoliciesTab.tsx index 3ceddbe1f8..991167cd35 100644 --- a/apps/admin-ui/src/realm-settings/PoliciesTab.tsx +++ b/apps/admin-ui/src/realm-settings/PoliciesTab.tsx @@ -132,6 +132,7 @@ export const PoliciesTab = () => { saveStatus(); } }} + aria-label={clientPolicy.name!} /> )} /> diff --git a/apps/admin-ui/src/realm-settings/SessionsTab.tsx b/apps/admin-ui/src/realm-settings/SessionsTab.tsx index 255b50c956..24f758162f 100644 --- a/apps/admin-ui/src/realm-settings/SessionsTab.tsx +++ b/apps/admin-ui/src/realm-settings/SessionsTab.tsx @@ -286,7 +286,7 @@ export const RealmSettingsSessionsTab = ({ )} /> @@ -107,6 +108,7 @@ export const EventConfigForm = ({ labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("includeRepresentation")} /> )} /> diff --git a/apps/admin-ui/src/realm-settings/security-defences/BruteForceDetection.tsx b/apps/admin-ui/src/realm-settings/security-defences/BruteForceDetection.tsx index c945746c04..69112e84c8 100644 --- a/apps/admin-ui/src/realm-settings/security-defences/BruteForceDetection.tsx +++ b/apps/admin-ui/src/realm-settings/security-defences/BruteForceDetection.tsx @@ -69,6 +69,7 @@ export const BruteForceDetection = ({ labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("common:enabled")} /> )} /> @@ -120,6 +121,7 @@ export const BruteForceDetection = ({ labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("permanentLockout")} /> )} /> diff --git a/apps/admin-ui/src/realm-settings/user-profile/attribute/AttributeGeneralSettings.tsx b/apps/admin-ui/src/realm-settings/user-profile/attribute/AttributeGeneralSettings.tsx index 495adadd06..90ac34ebf5 100644 --- a/apps/admin-ui/src/realm-settings/user-profile/attribute/AttributeGeneralSettings.tsx +++ b/apps/admin-ui/src/realm-settings/user-profile/attribute/AttributeGeneralSettings.tsx @@ -260,6 +260,7 @@ export const AttributeGeneralSettings = () => { isChecked={value} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("required")} /> )} /> diff --git a/apps/admin-ui/src/realm/add/NewRealmForm.tsx b/apps/admin-ui/src/realm/add/NewRealmForm.tsx index e93c40e500..952ce0a765 100644 --- a/apps/admin-ui/src/realm/add/NewRealmForm.tsx +++ b/apps/admin-ui/src/realm/add/NewRealmForm.tsx @@ -105,6 +105,7 @@ export default function NewRealmForm() { labelOff={t("common:off")} isChecked={value} onChange={onChange} + aria-label={t("enabled")} /> )} /> diff --git a/apps/admin-ui/src/user-federation/kerberos/KerberosSettingsRequired.tsx b/apps/admin-ui/src/user-federation/kerberos/KerberosSettingsRequired.tsx index 2f80ed5103..9671b045df 100644 --- a/apps/admin-ui/src/user-federation/kerberos/KerberosSettingsRequired.tsx +++ b/apps/admin-ui/src/user-federation/kerberos/KerberosSettingsRequired.tsx @@ -241,6 +241,7 @@ export const KerberosSettingsRequired = ({ isChecked={value?.[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("debug")} /> )} /> @@ -269,6 +270,7 @@ export const KerberosSettingsRequired = ({ isChecked={value?.[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("allowPasswordAuthentication")} /> )} /> @@ -338,6 +340,7 @@ export const KerberosSettingsRequired = ({ isChecked={value?.[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("updateFirstLogin")} /> )} /> diff --git a/apps/admin-ui/src/user-federation/ldap/LdapSettingsAdvanced.tsx b/apps/admin-ui/src/user-federation/ldap/LdapSettingsAdvanced.tsx index aba3ecc2e4..b67d1a5406 100644 --- a/apps/admin-ui/src/user-federation/ldap/LdapSettingsAdvanced.tsx +++ b/apps/admin-ui/src/user-federation/ldap/LdapSettingsAdvanced.tsx @@ -87,6 +87,7 @@ export const LdapSettingsAdvanced = ({ isChecked={value[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("enableLdapv3Password")} /> )} > @@ -116,6 +117,7 @@ export const LdapSettingsAdvanced = ({ isChecked={value[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("validatePasswordPolicy")} /> )} > @@ -145,6 +147,7 @@ export const LdapSettingsAdvanced = ({ isChecked={value[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("trustEmail")} /> )} > diff --git a/apps/admin-ui/src/user-federation/ldap/LdapSettingsConnection.tsx b/apps/admin-ui/src/user-federation/ldap/LdapSettingsConnection.tsx index d8033f8181..cf1abab753 100644 --- a/apps/admin-ui/src/user-federation/ldap/LdapSettingsConnection.tsx +++ b/apps/admin-ui/src/user-federation/ldap/LdapSettingsConnection.tsx @@ -159,6 +159,7 @@ export const LdapSettingsConnection = ({ isChecked={value[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("enableStartTls")} /> )} > @@ -222,6 +223,7 @@ export const LdapSettingsConnection = ({ isChecked={value[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("connectionPooling")} /> )} > diff --git a/apps/admin-ui/src/user-federation/ldap/LdapSettingsKerberosIntegration.tsx b/apps/admin-ui/src/user-federation/ldap/LdapSettingsKerberosIntegration.tsx index 44adb80352..627c1475c7 100644 --- a/apps/admin-ui/src/user-federation/ldap/LdapSettingsKerberosIntegration.tsx +++ b/apps/admin-ui/src/user-federation/ldap/LdapSettingsKerberosIntegration.tsx @@ -62,6 +62,7 @@ export const LdapSettingsKerberosIntegration = ({ isChecked={value[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("allowKerberosAuthentication")} /> )} > @@ -193,6 +194,7 @@ export const LdapSettingsKerberosIntegration = ({ isChecked={value[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("debug")} /> )} > @@ -223,6 +225,7 @@ export const LdapSettingsKerberosIntegration = ({ isChecked={value[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("useKerberosForPasswordAuthentication")} /> )} > diff --git a/apps/admin-ui/src/user-federation/ldap/LdapSettingsSearching.tsx b/apps/admin-ui/src/user-federation/ldap/LdapSettingsSearching.tsx index 91e495be1e..97fac271f4 100644 --- a/apps/admin-ui/src/user-federation/ldap/LdapSettingsSearching.tsx +++ b/apps/admin-ui/src/user-federation/ldap/LdapSettingsSearching.tsx @@ -372,6 +372,7 @@ export const LdapSettingsSearching = ({ isChecked={value[0] === "true"} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("pagination")} /> )} > diff --git a/apps/admin-ui/src/user-federation/ldap/LdapSettingsSynchronization.tsx b/apps/admin-ui/src/user-federation/ldap/LdapSettingsSynchronization.tsx index 31d3c04bd2..1dd7d62e9d 100644 --- a/apps/admin-ui/src/user-federation/ldap/LdapSettingsSynchronization.tsx +++ b/apps/admin-ui/src/user-federation/ldap/LdapSettingsSynchronization.tsx @@ -59,6 +59,7 @@ export const LdapSettingsSynchronization = ({ onChange={(value) => onChange([`${value}`])} isChecked={value[0] === "true"} isDisabled={false} + aria-label={t("importUsers")} /> )} > @@ -107,6 +108,7 @@ export const LdapSettingsSynchronization = ({ label={t("common:on")} labelOff={t("common:off")} ref={form.register} + aria-label={t("periodicFullSync")} /> )} > @@ -159,6 +161,7 @@ export const LdapSettingsSynchronization = ({ label={t("common:on")} labelOff={t("common:off")} ref={form.register} + aria-label={t("periodicChangedUsersSync")} /> )} > diff --git a/apps/admin-ui/src/user/UserForm.tsx b/apps/admin-ui/src/user/UserForm.tsx index 32aeda2da2..f535fc56db 100644 --- a/apps/admin-ui/src/user/UserForm.tsx +++ b/apps/admin-ui/src/user/UserForm.tsx @@ -249,6 +249,7 @@ export const UserForm = ({ isChecked={value} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("emailVerified")} /> )} /> @@ -304,6 +305,7 @@ export const UserForm = ({ isDisabled={!locked} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("temporaryLocked")} /> )} @@ -326,6 +328,7 @@ export const UserForm = ({ isChecked={value} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("common:enabled")} /> )} /> diff --git a/apps/admin-ui/src/user/user-credentials/ResetPasswordDialog.tsx b/apps/admin-ui/src/user/user-credentials/ResetPasswordDialog.tsx index 16d2001620..5b7e643608 100644 --- a/apps/admin-ui/src/user/user-credentials/ResetPasswordDialog.tsx +++ b/apps/admin-ui/src/user/user-credentials/ResetPasswordDialog.tsx @@ -209,6 +209,7 @@ export const ResetPasswordDialog = ({ isChecked={value} label={t("common:on")} labelOff={t("common:off")} + aria-label={t("common:temporaryPassword")} /> )} />