From fec1340aa333b87148aa517b7b30f42ee8662f84 Mon Sep 17 00:00:00 2001 From: jsteenke <146953549+jsteenke@users.noreply.github.com> Date: Mon, 5 Aug 2024 12:36:44 +0200 Subject: [PATCH] fix: add accessibility (#154) * fix: first changes accessibility * fix: add accessibility --- .../app-detail/app-detail.component.html | 22 ++++++++++++-- .../app-search/app-search.component.html | 29 ++++++++++++++----- .../permission-detail.component.html | 12 ++++++-- .../role-detail/role-detail.component.html | 29 +++++++++++++++++-- .../user-roles-permissions.component.html | 22 ++++++++++---- src/assets/i18n/de.json | 3 +- src/assets/i18n/en.json | 3 +- 7 files changed, 98 insertions(+), 22 deletions(-) diff --git a/src/app/permission/app-detail/app-detail.component.html b/src/app/permission/app-detail/app-detail.component.html index 93d478b..ae2ed00 100644 --- a/src/app/permission/app-detail/app-detail.component.html +++ b/src/app/permission/app-detail/app-detail.component.html @@ -116,6 +116,7 @@ styleClass="h-full" icon="pi pi-refresh" (onClick)="onReload()" + ariaLabel="'ACTIONS.SEARCH.RELOAD' | translate" [pTooltip]="'ACTIONS.SEARCH.RELOAD' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -147,6 +148,7 @@ [id]="'apm_application_detail_permission_table_header_permission_tools'" class="p-button-rounded font-medium p-button-text p-button p-component p-button-icon-only" (click)="showPermissionTools = !showPermissionTools" + aria-label="'ACTIONS.VIEW.PERMISSION.TOOLS' | translate" [pTooltip]="'ACTIONS.VIEW.PERMISSION.TOOLS' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -160,6 +162,7 @@ [id]="'apm_application_detail_permission_table_header_permission_create'" class="p-button-rounded font-medium p-button-text p-button p-component p-button-icon-only" (click)="onCreatePermission()" + aria-label="'ACTIONS.CREATE.PERMISSION' | translate" [pTooltip]="'ACTIONS.CREATE.PERMISSION' | translate" tooltipPosition="top" tooltipEvent="hover" @@ -177,6 +180,7 @@