File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/material/button-toggle Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -399,14 +399,12 @@ const _MatButtonToggleMixinBase: CanDisableRippleCtor & typeof MatButtonToggleBa
399
399
'[class.mat-button-toggle-disabled]' : 'disabled' ,
400
400
'[class.mat-button-toggle-appearance-standard]' : 'appearance === "standard"' ,
401
401
'class' : 'mat-button-toggle' ,
402
- // Always reset the tabindex to -1 so it doesn't conflict with the one on the `button`,
403
- // but can still receive focus from things like cdkFocusInitial.
404
- '[attr.tabindex]' : '-1' ,
405
402
'[attr.aria-label]' : 'null' ,
406
403
'[attr.aria-labelledby]' : 'null' ,
407
404
'[attr.id]' : 'id' ,
408
405
'[attr.name]' : 'null' ,
409
406
'(focus)' : 'focus()' ,
407
+ 'role' : 'presentation' ,
410
408
}
411
409
} )
412
410
export class MatButtonToggle extends _MatButtonToggleMixinBase implements OnInit , AfterViewInit ,
You can’t perform that action at this time.
0 commit comments