@@ -50,12 +50,12 @@ <h2 class="title">Listings</h2>
50
50
</ div >
51
51
</ ng-template >
52
52
53
- < p-table #table [value ] ="listings " [scrollable ] ="true " scrollHeight =" {{isCEU?'550px':'500px'}} "
54
- [(selection)] ="selectedListings " styleClass ="p-datatable-sm " [tableStyle] =" { 'min-width': '50rem' } "
55
- [selectionPageOnly] ="true ">
53
+ < p-table #table [ariaLabel ] ="'table-of- listings' " [value ] ="listings " [scrollable] =" true "
54
+ scrollHeight =" {{isCEU?'550px':'500px'}} " [(selection)] ="selectedListings " styleClass ="p-datatable-sm "
55
+ [tableStyle] =" { 'min-width': '50rem' } " [ selectionPageOnly] ="true ">
56
56
< ng-template pTemplate ="header ">
57
57
< tr >
58
- < th style ="width: 4rem ">
58
+ < th [ariaLabel] =" 'select-listing' " style ="width: 4rem ">
59
59
< p-tableHeaderCheckbox > </ p-tableHeaderCheckbox >
60
60
</ th >
61
61
< th class ="sortable-header " id ="status_header "
@@ -152,7 +152,7 @@ <h2 class="title">Listings</h2>
152
152
< ng-template pTemplate ="body " let-row >
153
153
< tr >
154
154
< td >
155
- < p-tableCheckbox [value] ="row "> </ p-tableCheckbox >
155
+ < p-tableCheckbox [ariaLabel] =" 'select-listing-row' " [ value] ="row "> </ p-tableCheckbox >
156
156
</ td >
157
157
< td >
158
158
< div [ngSwitch] ="row.listingStatusType " class ="align-center status-col ">
@@ -175,11 +175,12 @@ <h2 class="title">Listings</h2>
175
175
</ td >
176
176
< td > {{ row.offeringOrganizationNm }}</ td >
177
177
< td >
178
- < a target ="_blank " class ="listing-id-link " [href] ="row.platformListingUrl "> {{
178
+ < a [ariaLabel] ="'platform-listing-url' " target ="_blank " class ="listing-id-link "
179
+ [href] ="row.platformListingUrl "> {{
179
180
row.platformListingNo }}</ a >
180
181
</ td >
181
182
< td class ="align-center ">
182
- < a pButton class ="details-button-with-icon " target ="_blank "
183
+ < a [ariaLabel] =" 'open-listing-details' " pButton class ="details-button-with-icon " target ="_blank "
183
184
[routerLink] ="'/listing/'+row.rentalListingId "> < i class ="pi pi-list "> </ i > </ a >
184
185
</ td >
185
186
< td
0 commit comments