File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
frontend/src/app/common/layout Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
- < div class ="header ">
1
+ < div class ="header " role =" banner " >
2
2
< div class ="header-top ">
3
3
< div class ="tile-container ">
4
4
< div class ="logo-container "> </ div >
5
- < div class ="main-title "> Short-Term Rental Data Portal</ div >
5
+ < div >
6
+ < h1 class ="main-title "> Short-Term Rental Data Portal</ h1 >
7
+ </ div >
6
8
</ div >
7
9
< div *ngIf ="userDataService.currentUser " class ="user-container ">
8
- {{userDataService.currentUser.displayName || 'Unknown User'}} < button pButton class =" do-not-print-it "
9
- icon ="pi pi-angle-down " (click) ="op.toggle($event) "> </ button >
10
+ {{userDataService.currentUser.displayName || 'Unknown User'}} < button aria-label =" Toggle dropdown to logout "
11
+ pButton class =" do-not-print-it " icon ="pi pi-angle-down " (click) ="op.toggle($event) "> </ button >
10
12
< p-overlayPanel #op >
11
- < button pButton [iconPos] ="'right' " class =" p-button-transparent " icon =" pi pi-sign-out "
12
- (click) ="logout() "> Logout</ button >
13
+ < button pButton [iconPos] ="'right' " aria-label =" Log out " class =" p-button-transparent "
14
+ icon =" pi pi-sign-out " (click) ="logout() "> Logout</ button >
13
15
</ p-overlayPanel >
14
16
</ div >
15
17
</ div >
16
18
< div class ="header-menu do-not-print-it ">
17
- < div class ="menu-container ">
19
+ < div class ="menu-container " role =" navigation " aria-label =" Main Navigation " >
18
20
< p-menubar [model] ="items "> </ p-menubar >
19
21
</ div >
20
22
</ div >
21
23
</ div >
22
24
23
- < div class ="content ">
25
+ < div class ="content " role =" main " >
24
26
< router-outlet />
25
27
</ div >
26
- < div class ="footer do-not-print-it ">
28
+ < div class ="footer do-not-print-it " role =" footerinfo " >
27
29
< div class ="cc "> © 2024 Government of British Columbia.</ div >
28
30
</ div >
29
31
You can’t perform that action at this time.
0 commit comments