diff --git a/src/material/stepper/step-header.ts b/src/material/stepper/step-header.ts index eb95f01ad708..db473527aab7 100644 --- a/src/material/stepper/step-header.ts +++ b/src/material/stepper/step-header.ts @@ -36,7 +36,7 @@ import {_CdkPrivateStyleLoader, _VisuallyHiddenLoader} from '@angular/cdk/privat 'class': 'mat-step-header', '[class.mat-step-header-empty-label]': '_hasEmptyLabel()', '[class]': '"mat-" + (color || "primary")', - 'role': 'tab', + 'role': '', // ignore cdk role in favor of setting appropriately in html }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, diff --git a/src/material/stepper/stepper.html b/src/material/stepper/stepper.html index 0f75e58c012b..6f4e3660f668 100644 --- a/src/material/stepper/stepper.html +++ b/src/material/stepper/stepper.html @@ -11,7 +11,10 @@ @switch (orientation) { @case ('horizontal') {