Skip to content

Commit

Permalink
Fixed #16079 - Breadcrumb | HomeBreadcrumb can still receive focus fr…
Browse files Browse the repository at this point in the history
…om the keyboard even when it is disabled
  • Loading branch information
mehmetcetin01140 committed Jul 23, 2024
1 parent 98f9682 commit f5286df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/breadcrumb/breadcrumb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import { BreadcrumbItemClickEvent } from './breadcrumb.interface';
(click)="onClick($event, home)"
[target]="home.target"
[attr.title]="home.title"
[attr.tabindex]="home.disabled ? null : '0'"
[attr.tabindex]="home.disabled ? '-1' : '0'"
[attr.ariaCurrentWhenActive]="isCurrentUrl(home)"
[fragment]="home.fragment"
[queryParamsHandling]="home.queryParamsHandling"
Expand Down

0 comments on commit f5286df

Please sign in to comment.