Skip to content

Linear MatStepper step headers do not pass aXe accessibility checks #10727

Closed
@mitchellwills

Description

@mitchellwills

Bug, feature request, or proposal:

When in linear mode the mat stepper headers fail aXe accessibility checks because they do not have enough contrast.

What is the expected behavior?

Checks do not fail

What is the current behavior?

The number (in the circle next to the label text) fails with:
Element has insufficient color contrast of 2.67 (foreground color: #ffffff, background color: #9e9e9e, font size: 10.5pt, font weight: normal)

The actual label fails with:
Element has insufficient color contrast of 2.67 (foreground color: #9e9e9e, background color: #ffffff, font size: 10.5pt, font weight: normal)

What are the steps to reproduce?

https://stackblitz.com/edit/angular-vy7pqw?file=app/stepper-overview-example.html

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

HEAD

Metadata

Metadata

Labels

AccessibilityThis issue is related to accessibility (a11y)P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions