fix(admin): polish reviews
Same select-all/row-checkbox accessible-name gap in table view; grid view already had aria-label on its row checkbox (customer name), table view was the gap. New adminModeration.selectAllRows key added across en/ru/hy. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
<app-table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input type="checkbox" (change)="facade.toggleAll($any($event.target).checked)" /></th>
|
||||
<th><input type="checkbox" [attr.aria-label]="'adminModeration.selectAllRows' | translate" (change)="facade.toggleAll($any($event.target).checked)" /></th>
|
||||
<th>{{ 'adminModeration.customer' | translate }}</th>
|
||||
@if (isColumnVisible('product')) { <th>{{ 'adminModeration.product' | translate }}</th> }
|
||||
@if (isColumnVisible('rating')) { <th>{{ 'adminModeration.rating' | translate }}</th> }
|
||||
@@ -83,7 +83,7 @@
|
||||
<tbody>
|
||||
@for (review of facade.reviews(); track review.id) {
|
||||
<tr>
|
||||
<td><input type="checkbox" [checked]="isSelected(review.id)" (change)="facade.toggleSelection(review.id, $any($event.target).checked)" /></td>
|
||||
<td><input type="checkbox" [checked]="isSelected(review.id)" [attr.aria-label]="review.customerName" (change)="facade.toggleSelection(review.id, $any($event.target).checked)" /></td>
|
||||
<td>{{ review.customerName }}</td>
|
||||
@if (isColumnVisible('product')) { <td>{{ review.productName }}</td> }
|
||||
@if (isColumnVisible('rating')) { <td>{{ review.rating }}★</td> }
|
||||
|
||||
Reference in New Issue
Block a user