Skip to content

Commit 5a523fa

Browse files
committed
fix(cdk-experimental/accordion): removes inert attribute from accordion trigger
Updates accordion trigger attributes by removing the inert attribute to allow for screen readers to reference the aria-labelledby id value of the trigger when associating it with the accordion content panel. Fixes b/438312273
1 parent 54f641e commit 5a523fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk-experimental/accordion/accordion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class CdkAccordionPanel {
9393
'[attr.aria-expanded]': 'pattern.expanded()',
9494
'[attr.aria-controls]': 'pattern.controls()',
9595
'[attr.aria-disabled]': 'pattern.disabled()',
96-
'[attr.inert]': 'hardDisabled() ? true : null',
96+
// '[attr.inert]': 'hardDisabled() ? true : null',
9797
'[attr.disabled]': 'hardDisabled() ? true : null',
9898
'[attr.tabindex]': 'pattern.tabindex()',
9999
'(keydown)': 'pattern.onKeydown($event)',

0 commit comments

Comments
 (0)