diff --git a/libs/shell/layout/src/lib/shell-layout.component.html b/libs/shell/layout/src/lib/shell-layout.component.html index 6883245ac..86c77ffed 100644 --- a/libs/shell/layout/src/lib/shell-layout.component.html +++ b/libs/shell/layout/src/lib/shell-layout.component.html @@ -2,8 +2,8 @@
diff --git a/libs/shell/navigation/src/lib/components/navigation-group/navigation-group.component.html b/libs/shell/navigation/src/lib/components/navigation-group/navigation-group.component.html index 49dda3704..92dcde4c2 100644 --- a/libs/shell/navigation/src/lib/components/navigation-group/navigation-group.component.html +++ b/libs/shell/navigation/src/lib/components/navigation-group/navigation-group.component.html @@ -1,4 +1,10 @@ -
+
diff --git a/libs/shell/tabs/src/lib/components/shell-tab-item.component.html b/libs/shell/tabs/src/lib/components/shell-tab-item.component.html index 0d094c3ae..9815fd24d 100644 --- a/libs/shell/tabs/src/lib/components/shell-tab-item.component.html +++ b/libs/shell/tabs/src/lib/components/shell-tab-item.component.html @@ -4,8 +4,10 @@ [class.compact]="compact()" [routerLink]="_route?.urlTree ?? '/'" [title]="_route?.title ?? ''" + data-what="tab-link" + [attr.data-which]="tab().id" + [attr.aria-current]="active() ? 'page' : null" > -
{{ tab().name }} @@ -16,7 +18,13 @@
- diff --git a/libs/shell/tabs/src/lib/shell-tabs.component.html b/libs/shell/tabs/src/lib/shell-tabs.component.html index 31a4de0db..fa83501ed 100644 --- a/libs/shell/tabs/src/lib/shell-tabs.component.html +++ b/libs/shell/tabs/src/lib/shell-tabs.component.html @@ -1,11 +1,12 @@ @let _tabs = tabs(); - + @for (tab of _tabs; track tab.id) { } @@ -20,6 +21,9 @@ class="self-center whitespace-nowrap" (click)="closeAll()" [class.h-6]="compact()" + data-what="button" + data-which="close-all-tabs" + aria-label="Alle Tabs schließen" > Alle schließen @@ -34,5 +38,8 @@ class="shrink-0 self-center -mt-2 z-sticky" [class.size-6]="compact()" (click)="addTab()" + data-what="button" + data-which="add-tab" + aria-label="Neuen Tab hinzufügen" > }