File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/cdk-experimental/accordion Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ export class CdkAccordionPanel {
9494 '[attr.aria-expanded]' : 'pattern.expanded()' ,
9595 '[attr.aria-controls]' : 'pattern.controls()' ,
9696 '[attr.aria-disabled]' : 'pattern.disabled()' ,
97- '[attr.inert]' : 'hardDisabled() ? true : null' ,
9897 '[attr.disabled]' : 'hardDisabled() ? true : null' ,
9998 '[attr.tabindex]' : 'pattern.tabindex()' ,
10099 '(keydown)' : 'pattern.onKeydown($event)' ,
@@ -157,12 +156,8 @@ export class CdkAccordionTrigger {
157156 }
158157 }
159158
160- /** Determine the state labels of the Accordion Trigger to pass to the label. */
161- const expansionLabel = this . pattern . expanded ( ) ? '(Expanded)' : '(Collapsed)' ;
162- const disabledLabel = this . pattern . disabled ( ) ? '(Disabled)' : '' ;
163-
164159 /** Combine all parts into the final label. */
165- return `${ buttonText . trim ( ) } ${ expansionLabel } ${ disabledLabel } ` . trim ( ) ;
160+ return `${ buttonText . trim ( ) } ` . trim ( ) ;
166161 } ) ;
167162
168163 constructor ( ) {
You can’t perform that action at this time.
0 commit comments