diff --git a/src/app/components/shared/_dialogs/delete-account/delete-account.component.html b/src/app/components/shared/_dialogs/delete-account/delete-account.component.html index 17dbe121e85ecd60f8dd26183201c468574014d7..c6c9f65eb0bb9e0db898a79cc2612a217ab5d89e 100644 --- a/src/app/components/shared/_dialogs/delete-account/delete-account.component.html +++ b/src/app/components/shared/_dialogs/delete-account/delete-account.component.html @@ -1,9 +1,9 @@ <div mat-dialog-content> <div style="overflow-y: scroll; max-height: 15rem"> - <h2>{{ 'header.sure' | translate }}</h2> + <h2 tabindex="0">{{ 'header.sure' | translate }}</h2> <mat-divider></mat-divider> - <p>{{ 'header.really-delete-account' | translate }}</p> - <ul *ngFor="let room of rooms"> + <p tabindex="0">{{ 'header.really-delete-account' | translate }}</p> + <ul *ngFor="let room of rooms" tabindex="0"> <li>{{ room.name }}</li> </ul> </div> diff --git a/src/app/components/shared/_dialogs/user-bonus-token/user-bonus-token.component.html b/src/app/components/shared/_dialogs/user-bonus-token/user-bonus-token.component.html index e76d470b11e887a34187f09e3999dc0f9caba2f9..0cd154cb8a90ab90957d60fb1924cb46da4f7083 100644 --- a/src/app/components/shared/_dialogs/user-bonus-token/user-bonus-token.component.html +++ b/src/app/components/shared/_dialogs/user-bonus-token/user-bonus-token.component.html @@ -1,15 +1,15 @@ <div mat-dialog-content> - <h2>{{'header.bonus-token' | translate }}</h2> + <h1 tabindex="0">{{'header.bonus-token' | translate }}</h1> <mat-divider></mat-divider> <div *ngIf="bonusTokens.length >= 1"> <div fxLayout="row" *ngFor="let bonusToken of bonusTokens"> - <p> + <h2 tabindex="1"> {{bonusToken.token}} - </p> + </h2> </div> </div> <div *ngIf="bonusTokens.length === 0"> - <p>{{'header.no-bonus' | translate }}</p> + <h3 tabindex="0">{{'header.no-bonus' | translate }}</h3> </div> <app-dialog-action-buttons buttonsLabelSection="introduction" diff --git a/src/app/components/shared/header/header.component.html b/src/app/components/shared/header/header.component.html index 29c3faa3c7a14304a28900e8c76ee85df985f34f..37de7a17e2a0cc731cc44b9573e919ec9ae77669 100644 --- a/src/app/components/shared/header/header.component.html +++ b/src/app/components/shared/header/header.component.html @@ -29,20 +29,20 @@ <span class="fill-remaining-space"></span> <mat-menu #userMenu="matMenu" [overlapTrigger]="false"> - <button mat-menu-item *ngIf="user" routerLink="/user"> + <button mat-menu-item *ngIf="user" routerLink="/user" tabindex="0"> <mat-icon class="sessions">people</mat-icon> <span *ngIf="!user.isGuest">{{'header.my-sessions' | translate}}</span> <span *ngIf="user.isGuest" svgIcon="meeting_room">{{'header.visited-sessions' | translate}}</span> </button> - <button mat-menu-item *ngIf="user" (click)="openUserBonusTokenDialog()"> + <button mat-menu-item *ngIf="user" (click)="openUserBonusTokenDialog()" tabindex="0"> <mat-icon color="warn">grade</mat-icon> <span>{{'header.user-bonus-token' | translate}}</span> </button> - <button mat-menu-item *ngIf="user && !user.isGuest" (click)="openDeleteUserDialog()"> + <button mat-menu-item *ngIf="user && !user.isGuest" (click)="openDeleteUserDialog()" tabindex="0"> <mat-icon color="warn">delete</mat-icon> <span>{{'header.delete-account' | translate}}</span> </button> - <button mat-menu-item (click)="logout()"> + <button mat-menu-item (click)="logout()" tabindex="0"> <mat-icon color="warn">exit_to_app</mat-icon> <span>{{ 'header.logout' | translate }}</span> </button>