Skip to content

Commit dfc7e96

Browse files
update accordion item tabindex based on disabled state
1 parent 338a405 commit dfc7e96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/components/accordion/accordion.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ export class Accordion implements ComponentInterface {
533533

534534
'in-accordion-group-expand-inset': hostContext('.accordion-group-expand-inset', this.el),
535535
}}
536+
tabindex={disabled ? -1 : undefined}
536537
>
537538
<div
538539
onClick={() => this.toggleExpanded()}

0 commit comments

Comments
 (0)