Skip to content

Commit

Permalink
fix(core): wizard steps - anchors should have role="navigation" (#12477)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikerodonnell89 authored Sep 27, 2024
1 parent 83befa8 commit 4b20c72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/core/wizard/wizard-step/wizard-step.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[style.cursor]="visited ? 'pointer' : 'auto'"
[style.pointer-events]="visited ? 'auto' : 'none'"
[attr.tabindex]="status === 'current' ? 0 : -1"
[attr.aria-roledescription]="ariaRoleDecription"
role="navigation"
>
<ng-content select="fd-wizard-step-indicator"></ng-content>
<div class="fd-wizard__label-container" [class.fd-wizard__label-container--optional]="optionalText">
Expand Down
2 changes: 1 addition & 1 deletion libs/core/wizard/wizard-step/wizard-step.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class WizardStepComponent implements OnChanges, AfterViewInit, OnDestroy
ariaLabel: Nullable<string>;

/**
* The aria-label for the step container.
* @deprecated
*/
@Input()
ariaRoleDecription = 'Navigation';
Expand Down

0 comments on commit 4b20c72

Please sign in to comment.