Skip to content

Commit 435c1be

Browse files
authored
[ACS-10297] Add label and title to back button in about section (#4827)
1 parent ddf3aa4 commit 435c1be

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

projects/aca-content/about/src/about.component.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<aca-page-layout>
22
<div class="aca-page-layout-header">
3-
<button mat-icon-button [routerLink]="landingPage">
3+
<button
4+
mat-icon-button
5+
[attr.aria-label]="'APP.ABOUT.BACK_BUTTON_LABEL' | translate"
6+
[attr.title]="'APP.ABOUT.BACK_BUTTON_LABEL' | translate"
7+
[routerLink]="landingPage">
48
<mat-icon class="app-profile-icon">arrow_back</mat-icon>
59
</button>
610
<h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>

projects/aca-content/assets/i18n/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"TITLE": "Packages",
3535
"NAME": "Name",
3636
"VERSION": "Version"
37-
}
37+
},
38+
"BACK_BUTTON_LABEL": "Go back"
3839
},
3940
"LANGUAGE": "Language",
4041
"SIGN_IN": "Sign in",

0 commit comments

Comments
 (0)