Merge pull request #179 in TEA/mina-sidor-fa-web from feature/TV-653-vi-bor-lagga-in-mer-utforlig-information-for-skarmlasare-om-vad-som-hander to develop

Squashed commit of the following:

commit 8ef10b371e11707d649edb127230fc36939c8cf6
Author: WP\holno <nikola.holst-nikolic@arbetsformedlingen.se>
Date:   Thu Oct 7 11:19:28 2021 +0200

    Nya deltagare: Added aria-label with describing text for the "Tillbaka" buttons in step 1 and 2.

commit 2306d4626cd20b81d3d7b4e9d9c01e4d9e7fb357
Author: WP\holno <nikola.holst-nikolic@arbetsformedlingen.se>
Date:   Wed Oct 6 11:33:59 2021 +0200

    Added title for link "Avbryt" on edit-page to indicate what happens when the link-button is clicked.
This commit is contained in:
Chingiz Esenbaev
2021-10-08 14:25:45 +02:00
parent b499a61a0d
commit 4222e3b682
2 changed files with 3 additions and 2 deletions

View File

@@ -134,6 +134,7 @@
<footer class="edit-employee-form__footer">
<a
title="Avbryt redigering av personalkontot"
class="edit-employee-form__link-btn edit-employee-form__link-btn--secondary"
[routerLink]="['/administration/personal', employee.id]"
>

View File

@@ -103,13 +103,13 @@
<digi-button af-size="m" (afOnClick)="lockSelectedAvrop()">Nästa</digi-button>
</ng-container>
<ng-container *ngSwitchCase="2">
<digi-button af-variation="secondary" af-size="m" (afOnClick)="unlockSelectedAvrop()"
<digi-button [attr.af-aria-label]="'Tillbaka till välj deltagare att tilldela'" af-variation="secondary" af-size="m" (afOnClick)="unlockSelectedAvrop()"
>Tillbaka
</digi-button>
<digi-button af-size="m" (afOnClick)="confirmHandledare()">Nästa</digi-button>
</ng-container>
<ng-container *ngSwitchCase="3">
<digi-button af-variation="secondary" af-size="m" (afOnClick)="unconfirmHandledare()"
<digi-button [attr.af-aria-label]="'Tillbaka till tilldela handledare'" af-variation="secondary" af-size="m" (afOnClick)="unconfirmHandledare()"
>Tillbaka
</digi-button>
<digi-button af-size="m" (afOnClick)="save()">Bekräfta tilldelning</digi-button>