Skip to content

bug(CdkStepper): Does not automatically assign roles or aria labels for accessibility like it says it will in the documentation #23044

Closed
@Jacobra93

Description

@Jacobra93

Reproduction

Issue is present in provided example from documentation:
https://stackblitz.com/angular/xaanarvvorqn?file=src%2Fapp%2Fcdk-custom-stepper-without-form-example.ts

Steps to reproduce:

  1. Extend the cdkStepper for a custom component

Expected Behavior

In the CdkStepper documentation overview there is an "Accessibility" section, where it says it automatically sets roles and aria labels. I do not see these being set in the example cdkStepper in stackblitz or in my project. Not sure if there is something special I need to do, but since it said it did it automatically by default I assumed nothing special had to be done.

Actual Behavior

No roles or aria labels are automatically set.

Environment

  • Angular: 12
  • CDK/Material: 12

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentdocsThis issue is related to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions