Skip to content

Commit

Permalink
fix: use role correctly
Browse files Browse the repository at this point in the history
button is not a valid role on `li`
  • Loading branch information
chintankavathia committed Nov 18, 2024
1 parent 552cd0e commit e02df61
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ import { Page } from '../../types/internal.types';
</li>
@for (pg of pages; track pg.number) {
<li
role="button"
[attr.aria-label]="'page ' + pg.number"
class="pages"
[class.active]="pg.number === page"
>
<a (click)="selectPage(pg.number)">
<a role="button" (click)="selectPage(pg.number)">
{{ pg.text }}
</a>
</li>
Expand Down

0 comments on commit e02df61

Please sign in to comment.