You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Header component page https://designsystem.digital.gov/components/header/ the "Component code" is using the outdated usa-nav-link class instead of the current usa-nav__link class for all of the "Simple link" menu items in all four "Component code" examples (Basic header, Basic header with megamenu, Extended header, and Extended header with megamenu).
Expand the "Component code" and find the anchor element for "Simple link," which is around line 77.
The class is set to usa-nav-link which no longer exists in USWDS. The class should instead be set to usa-nav__link.
When viewing the live version of the demo code, the a bar should appear underneath the link when you hover over it (just like it does for the other menu items). Instead, no bar appears.
Expected Behavior
The sample code should use the class usa-nav__link instead of usa-nav-link and the live demo page should show a bar underneath the menu item when you hover over it.
Describe the bug
On the Header component page https://designsystem.digital.gov/components/header/ the "Component code" is using the outdated
usa-nav-link
class instead of the currentusa-nav__link
class for all of the "Simple link" menu items in all four "Component code" examples (Basic header, Basic header with megamenu, Extended header, and Extended header with megamenu).Steps to reproduce the bug
usa-nav-link
which no longer exists in USWDS. The class should instead be set tousa-nav__link
.Expected Behavior
The sample code should use the class
usa-nav__link
instead ofusa-nav-link
and the live demo page should show a bar underneath the menu item when you hover over it.Screenshots
System setup
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: