-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: [Eyebrow] display as <div> with ".h5" class instead of <h5> #204
Conversation
✅ Deploy Preview for cfpb-design-system-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heyo! Nice fix @meissadia! I'm going to be using this component in the Institutional Details page, so thanks for working on it!
One small thing though, is that I think even the main "h1 header" should also only be styled as an h1 in your Eyebrow story and just be a div in the markup also? I think that's how the design system does it...
That'll probably be the most flexible?
@billhimmelsbach Thanks for catching that, updated 👍🏾 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Closes #203
Changes
No visual change, just a structural change in how the heading is implemented to improve accessibility (no longer displaying an h5 ahead of an h1)
Screenshots