Skip to content

Commit

Permalink
removes nav role attr from the ul for Sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneBenHMCTS committed Feb 7, 2025
1 parent b53a9a0 commit 1c92621
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<pagination-template #p="paginationApi" [id]="id" [maxSize]="maxSize" (pageChange)="pageChange.emit($event)"
(pageBoundsCorrection)="pageBoundsCorrection.emit($event)">
<nav role="navigation" [attr.aria-label]="'Pagination' | rpxTranslate">
<ul class="ngx-pagination" role="navigation" [attr.aria-label]="screenReaderPaginationLabel | rpxTranslate"
<ul class="ngx-pagination" [attr.aria-label]="screenReaderPaginationLabel | rpxTranslate"
[class.responsive]="responsive" *ngIf="!(autoHide && p.pages.length <= 1)">
<li class="pagination-previous" [class.disabled]="p.isFirstPage()" *ngIf="directionLinks">
<a tabindex="0" *ngIf="1 < p.getCurrent()" (keyup.enter)="p.previous()" (click)="p.previous()"
Expand Down

0 comments on commit 1c92621

Please sign in to comment.