Skip to content

Commit

Permalink
fix: reset focus to the main after navigating (#19694)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdrozdsap committed Dec 19, 2024
1 parent 72dc64a commit 71ac007
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,7 @@ <h2 *ngIf="title">{{ title }}</h2>
</ng-container>
</div>

<div
*ngIf="!hideIndicators && size < items.length"
role="tablist"
class="indicators"
>
<div *ngIf="!hideIndicators && size < items.length" class="indicators">
<ng-container *ngFor="let _ of items; let i = index">
<!-- TODO: (CXSPA-6904) - Remove feature flag next major release -->
<ng-container *cxFeature="'a11yFocusableCarouselControls'">
Expand All @@ -125,7 +121,6 @@ <h2 *ngIf="title">{{ title }}</h2>
numberOfSlides: size,
}
"
role="tab"
>
<cx-icon [type]="indicatorIcon" aria-hidden="true"></cx-icon>
</button>
Expand Down

0 comments on commit 71ac007

Please sign in to comment.