-
Notifications
You must be signed in to change notification settings - Fork 26
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(NavBar): adjust styling for nav items #936
Conversation
Preview branch generated at https://fix-navbar-styles.d1gko6en628vir.amplifyapp.com |
9ade374
to
abcff1d
Compare
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.
👏
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.
I discussed this with @bobbyomari. General research has suggested that some people have more difficulty reading all capital letters vs not:
- https://www.a11yproject.com/posts/how-to-accessible-heading-structure/#all-caps
- https://www.w3.org/TR/low-vision-needs/#capitalization
While not officially a wcag violation, we should probably err on the side of caution and try to follow best practices as best as we can.
@bobbyomari said we will likely make updates in UX pin to match this. Everything else looks good.
abcff1d
to
0483319
Compare
Preview branch generated at https://fix-navbar-styles.d1gko6en628vir.amplifyapp.com |
As requested by @bobbyomari I made the following adjustments to the NavItem css:
--font-weight-normal
for nav items unless they're active, in which case, use--font-weight-medium