Skip to content

Commit c9137b5

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 fix(cdk-experimental/accordion): removes inert attribute from accordion trigger Removes the inert attribute from accordion trigger to enable screen readers to access the accordion trigger id and aria attributes to be able to announce more helpful/informative screen reader messages to the user. Fixes b/438312273
1 parent 54f641e commit c9137b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/cdk-experimental/accordion/accordion.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ 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',
9796
'[attr.disabled]': 'hardDisabled() ? true : null',
9897
'[attr.tabindex]': 'pattern.tabindex()',
9998
'(keydown)': 'pattern.onKeydown($event)',

0 commit comments

Comments
 (0)