Skip to content

Commit 3a52715

Browse files
committed
tweak
1 parent 7aef232 commit 3a52715

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/material/stepper/stepper.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
@switch (orientation) {
1212
@case ('horizontal') {
13-
<div class="mat-horizontal-stepper-wrapper" role="group">
14-
<div class="mat-horizontal-stepper-header-container">
13+
<div class="mat-horizontal-stepper-wrapper">
14+
<div class="mat-horizontal-stepper-header-container" role="group">
1515
@for (step of steps; track step) {
1616
<ng-container
1717
[ngTemplateOutlet]="stepTemplate"
@@ -22,7 +22,7 @@
2222
}
2323
</div>
2424

25-
<div class="mat-horizontal-content-container">
25+
<div class="mat-horizontal-content-container" role="group">
2626
@for (step of steps; track step) {
2727
<div
2828
#animatedContainer
@@ -76,10 +76,7 @@
7676
(keydown)="_onKeydown($event)"
7777
[tabIndex]="_getFocusIndex() === step.index() ? 0 : -1"
7878
[id]="_getStepLabelId(step.index())"
79-
[attr.aria-posinset]="step.index() + 1"
80-
[attr.aria-setsize]="steps.length"
8179
[attr.aria-controls]="_getStepContentId(step.index())"
82-
[attr.aria-selected]="step.isSelected()"
8380
[attr.aria-label]="step.ariaLabel || null"
8481
[attr.aria-labelledby]="(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null"
8582
[attr.aria-disabled]="step.isNavigable() ? null : true"

0 commit comments

Comments
 (0)