Skip to content

Commit

Permalink
Merge pull request #16252 from Pablo200206/select-button-fix
Browse files Browse the repository at this point in the history
fix(select button): focused on tab #16251
  • Loading branch information
mehmetcetin01140 authored Sep 10, 2024
2 parents ed5b191 + b9d093c commit e7c81a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/selectbutton/selectbutton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const SELECTBUTTON_VALUE_ACCESSOR: any = {
<div
*ngFor="let option of options; let i = index"
pRipple
[attr.tabindex]="i === focusedIndex ? '0' : '-1'"
[attr.tabindex]="i === focusedIndex && !disabled ? '0' : '-1'"
[attr.aria-label]="option.label"
[role]="multiple ? 'checkbox' : 'radio'"
[attr.aria-checked]="isSelected(option)"
Expand Down

0 comments on commit e7c81a3

Please sign in to comment.