diff --git a/src/app/workspace/workspace-create/workspace-create.component.html b/src/app/workspace/workspace-create/workspace-create.component.html index 214b5849..6b6c283b 100644 --- a/src/app/workspace/workspace-create/workspace-create.component.html +++ b/src/app/workspace/workspace-create/workspace-create.component.html @@ -162,7 +162,7 @@ icon="pi pi-times" (onClick)="closeDialog()" [label]="'ACTIONS.CANCEL' | translate" - [attr.aria-label]="'ACTIONS.CANCEL' | translate" + [ariaLabel]="'ACTIONS.CANCEL' | translate" [pTooltip]="'ACTIONS.TOOLTIPS.CANCEL' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -173,7 +173,7 @@ [disabled]="!formGroup.valid" (onClick)="saveWorkspace()" [label]="'ACTIONS.CREATE.LABEL' | translate" - [attr.aria-label]="'ACTIONS.CREATE.LABEL' | translate" + [ariaLabel]="'ACTIONS.CREATE.LABEL' | translate" [pTooltip]="'ACTIONS.CREATE.WORKSPACE.TOOLTIP' | translate" tooltipPosition="top" tooltipEvent="hover" diff --git a/src/app/workspace/workspace-detail/workspace-detail.component.html b/src/app/workspace/workspace-detail/workspace-detail.component.html index 3ecc797a..7ff0a0a1 100644 --- a/src/app/workspace/workspace-detail/workspace-detail.component.html +++ b/src/app/workspace/workspace-detail/workspace-detail.component.html @@ -138,7 +138,7 @@ icon="pi pi-times" (onClick)="workspaceDeleteVisible = false" [label]="'ACTIONS.CONFIRMATION.NO' | translate" - [attr.aria-label]="'ACTIONS.CONFIRMATION.NO' | translate" + [ariaLabel]="'ACTIONS.CONFIRMATION.NO' | translate" [pTooltip]="'ACTIONS.CONFIRMATION.NO.TOOLTIP' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -148,7 +148,7 @@ icon="pi pi-check" (onClick)="onConfirmDeleteWorkspace()" [label]="'ACTIONS.CONFIRMATION.YES' | translate" - [attr.aria-label]="'ACTIONS.CONFIRMATION.YES' | translate" + [ariaLabel]="'ACTIONS.CONFIRMATION.YES' | translate" [pTooltip]="'ACTIONS.CONFIRMATION.YES.TOOLTIP' | translate" tooltipPosition="top" tooltipEvent="hover" diff --git a/src/app/workspace/workspace-detail/workspace-export/workspace-export.component.html b/src/app/workspace/workspace-detail/workspace-export/workspace-export.component.html index 9a4ae548..4fa81fd6 100644 --- a/src/app/workspace/workspace-detail/workspace-export/workspace-export.component.html +++ b/src/app/workspace/workspace-detail/workspace-export/workspace-export.component.html @@ -20,7 +20,7 @@ [binary]="true" styleClass="cursor-auto shadow-none ml-3" [label]="'WORKSPACE_EXPORT.MENU' | translate" - [attr.aria-label]="'WORKSPACE_EXPORT.MENU' | translate" + [ariaLabel]="'WORKSPACE_EXPORT.MENU' | translate" [pTooltip]="'WORKSPACE_EXPORT.MENU_TOOLTIP' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -34,7 +34,7 @@ icon="pi pi-times" (onClick)="onClose()" [label]="'ACTIONS.CONFIRMATION.NO' | translate" - [attr.aria-label]="'ACTIONS.CONFIRMATION.NO' | translate" + [ariaLabel]="'ACTIONS.CONFIRMATION.NO' | translate" [pTooltip]="'ACTIONS.CONFIRMATION.NO.TOOLTIP' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -44,7 +44,7 @@ icon="pi pi-check" (onClick)="onConfirmExportWorkspace()" [label]="'ACTIONS.CONFIRMATION.YES' | translate" - [attr.aria-label]="'ACTIONS.CONFIRMATION.YES' | translate" + [ariaLabel]="'ACTIONS.CONFIRMATION.YES' | translate" [pTooltip]="'ACTIONS.CONFIRMATION.YES.TOOLTIP' | translate" tooltipPosition="top" tooltipEvent="hover" diff --git a/src/app/workspace/workspace-detail/workspace-intern/workspace-intern.component.html b/src/app/workspace/workspace-detail/workspace-intern/workspace-intern.component.html index 87c29364..9aa1c5b2 100644 --- a/src/app/workspace/workspace-detail/workspace-intern/workspace-intern.component.html +++ b/src/app/workspace/workspace-detail/workspace-intern/workspace-intern.component.html @@ -8,7 +8,7 @@ [binary]="true" [readonly]="true" [label]="'INTERNAL.OPERATOR' | translate" - [attr.aria-label]="'INTERNAL.OPERATOR' | translate" + [ariaLabel]="'INTERNAL.OPERATOR' | translate" [pTooltip]="'INTERNAL.TOOLTIPS.OPERATOR' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -21,7 +21,7 @@ [binary]="true" [readonly]="true" [label]="'INTERNAL.MANDATORY' | translate" - [attr.aria-label]="'INTERNAL.MANDATORY' | translate" + [ariaLabel]="'INTERNAL.MANDATORY' | translate" [pTooltip]="'INTERNAL.TOOLTIPS.MANDATORY' | translate" tooltipPosition="top" tooltipEvent="hover" diff --git a/src/app/workspace/workspace-detail/workspace-props/workspace-props.component.html b/src/app/workspace/workspace-detail/workspace-props/workspace-props.component.html index dbcba599..c383d642 100644 --- a/src/app/workspace/workspace-detail/workspace-props/workspace-props.component.html +++ b/src/app/workspace/workspace-detail/workspace-props/workspace-props.component.html @@ -10,7 +10,7 @@ [binary]="true" [readonly]="true" [label]="'WORKSPACE.DISABLED' | translate" - [attr.aria-label]="'WORKSPACE.DISABLED' | translate" + [ariaLabel]="'WORKSPACE.DISABLED' | translate" [pTooltip]="'WORKSPACE.TOOLTIPS.DISABLED' | translate" tooltipPosition="top" tooltipEvent="hover" diff --git a/src/app/workspace/workspace-detail/workspace-roles/workspace-roles.component.html b/src/app/workspace/workspace-detail/workspace-roles/workspace-roles.component.html index cb94332a..cf34bcac 100644 --- a/src/app/workspace/workspace-detail/workspace-roles/workspace-roles.component.html +++ b/src/app/workspace/workspace-detail/workspace-roles/workspace-roles.component.html @@ -66,7 +66,7 @@ styleClass="h-full" icon="pi pi-cog" (onClick)="onGoToPermission()" - [attr.aria-label]="'ACTIONS.NAVIGATION.GOTO_WORKSPACE_PERMISSIONS' | translate" + [ariaLabel]="'ACTIONS.NAVIGATION.GOTO_WORKSPACE_PERMISSIONS' | translate" [pTooltip]="'ACTIONS.NAVIGATION.GOTO_WORKSPACE_PERMISSIONS' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -78,7 +78,7 @@ styleClass="h-full" icon="pi pi-plus" (onClick)="onCreateRole($event)" - [attr.aria-label]="'ACTIONS.CREATE.ROLE' | translate" + [ariaLabel]="'ACTIONS.CREATE.ROLE' | translate" [pTooltip]="'ACTIONS.CREATE.ROLE' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -90,7 +90,7 @@ styleClass="h-full" icon="pi pi-refresh" (onClick)="onReload()" - [attr.aria-label]="'ACTIONS.SEARCH.RELOAD' | translate" + [ariaLabel]="'ACTIONS.SEARCH.RELOAD' | translate" [pTooltip]="'ACTIONS.SEARCH.RELOAD' | translate" tooltipPosition="top" tooltipEvent="hover" diff --git a/src/app/workspace/workspace-detail/workspace-slot-detail/workspace-slot-detail.component.html b/src/app/workspace/workspace-detail/workspace-slot-detail/workspace-slot-detail.component.html index d555cee5..060629e9 100644 --- a/src/app/workspace/workspace-detail/workspace-slot-detail/workspace-slot-detail.component.html +++ b/src/app/workspace/workspace-detail/workspace-slot-detail/workspace-slot-detail.component.html @@ -16,7 +16,7 @@ id="ws_slot_detail_item_slot_name" class="pt-3 pb-2 text-responsive" [value]="slot?.name" - [attr.aria-label]="'SLOT.NAME' | translate" + [ariaLabel]="'SLOT.NAME' | translate" [pTooltip]="'SLOT.NAME' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -28,7 +28,6 @@