Skip to content

Commit 20fd9a6

Browse files
committed
refactor(cdk-experimental/accordion): removed inert attribute from accordion trigger
Updates previous fix to remove the inert attribute from the accordion trigger after confirming using the dev-app to test how the screen reader announces the disabled trigger with its associated expanded panel.
1 parent 5a523fa commit 20fd9a6

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)