[fix] StepIndicator should handle custom heading levels to allow semantic html #1751
Labels
a11y
Relates to accessibility standards and practices
good first issue
Good for newcomers
status: wip
Work in progress - not ready for code review
type: bug
Something isn't working like it's supposed to
ReactUSWDS Version & USWDS Version:
Describe the bug
To Reproduce
Steps to reproduce the behavior:
<StepIndicator>
<h4>
tags and there are no props on the component to adjust this. This is an accessibility issue.Expected behavior
Consumer can adjust the heading level to allow semantic HTML. his could be a
type
prop on the component similar to the proposedIconList
interface.FYI this type of functionality is also mentioned in the USWDS docs for Step indicator
The text was updated successfully, but these errors were encountered: