diff --git a/src/angular/processflow/processflow.html b/src/angular/processflow/processflow.html index 5d18b0f826..44b132970b 100644 --- a/src/angular/processflow/processflow.html +++ b/src/angular/processflow/processflow.html @@ -35,7 +35,6 @@ (@stepTransition.done)="_animationDone.next($event)" [id]="_getStepContentId(i)" [attr.aria-labelledby]="_getStepLabelId(i)" - [attr.aria-expanded]="selectedIndex === i" > diff --git a/src/angular/processflow/processflow.spec.ts b/src/angular/processflow/processflow.spec.ts index b0946884a6..e0ae8d8b52 100644 --- a/src/angular/processflow/processflow.spec.ts +++ b/src/angular/processflow/processflow.spec.ts @@ -124,22 +124,6 @@ describe('SbbProcessflow', () => { expect(processflowEl.getAttribute('role')).toBe('tablist'); }); - it('should set aria-expanded of content correctly', () => { - const stepContents = fixture.debugElement.queryAll(By.css(`.sbb-processflow-content`)); - const processflowComponent = fixture.debugElement.query( - By.directive(SbbProcessflow) - )!.componentInstance; - const firstStepContentEl = stepContents[0].nativeElement; - expect(firstStepContentEl.getAttribute('aria-expanded')).toBe('true'); - - processflowComponent.selectedIndex = 1; - fixture.detectChanges(); - - expect(firstStepContentEl.getAttribute('aria-expanded')).toBe('false'); - const secondStepContentEl = stepContents[1].nativeElement; - expect(secondStepContentEl.getAttribute('aria-expanded')).toBe('true'); - }); - it('should display the correct label', () => { const processflowComponent = fixture.debugElement.query( By.directive(SbbProcessflow)