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
399399 '[class.mat-button-toggle-disabled]' : 'disabled' ,
400400 '[class.mat-button-toggle-appearance-standard]' : 'appearance === "standard"' ,
401401 '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' ,
405402 '[attr.aria-label]' : 'null' ,
406403 '[attr.aria-labelledby]' : 'null' ,
407404 '[attr.id]' : 'id' ,
408405 '[attr.name]' : 'null' ,
409406 '(focus)' : 'focus()' ,
407+ 'role' : 'presentation' ,
410408 }
411409} )
412410export class MatButtonToggle extends _MatButtonToggleMixinBase implements OnInit , AfterViewInit ,
You can’t perform that action at this time.
0 commit comments