Skip to content

Commit 58345bb

Browse files
committed
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 5a523fa commit 58345bb

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)