From f5286df7f1112975566da3b0707b4fa9e3dfafbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:49:57 +0300 Subject: [PATCH] Fixed #16079 - Breadcrumb | HomeBreadcrumb can still receive focus from the keyboard even when it is disabled --- src/app/components/breadcrumb/breadcrumb.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/breadcrumb/breadcrumb.ts b/src/app/components/breadcrumb/breadcrumb.ts index 3b416daadb9..1f4631c3049 100755 --- a/src/app/components/breadcrumb/breadcrumb.ts +++ b/src/app/components/breadcrumb/breadcrumb.ts @@ -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"