Skip to content
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

[#67] Header navigation #80

Merged
merged 11 commits into from
May 23, 2024
Merged

[#67] Header navigation #80

merged 11 commits into from
May 23, 2024

Conversation

nathan-schmidt-viget
Copy link
Contributor

Summary

This styles the header navigation. Removed the WP default a11y as it was not fully 100% a11y and built my own with AlpineJS. Because we can't access some of the navigation HTML I had to inject the Alpine with JS onto the DOM.

The dark version will just change if we add dark to the parent div in the parts.

The styles are pretty basic allowing us to customize per client.

Issues

Testing Instructions

  1. Add navigation items in the admin.
  2. Test out that navigation on desktop and mobile.
  3. Test with keyboard and screen reader to make sure everything is a11y.

Screenshots

Screenshot 2024-05-21 at 8 13 18 AM Screenshot 2024-05-21 at 8 13 04 AM
Screenshot 2024-05-21 at 8 14 34 AM Screenshot 2024-05-21 at 8 15 02 AM
May-21-2024.08-14-12.mp4

@nathan-schmidt-viget nathan-schmidt-viget marked this pull request as ready for review May 21, 2024 15:07
@nathan-schmidt-viget nathan-schmidt-viget self-assigned this May 21, 2024
Copy link
Contributor

@bd-viget bd-viget left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just added a few notes, but I may have a few more we can go over during our meeting.

@nathan-schmidt-viget nathan-schmidt-viget merged commit a44a6f3 into main May 23, 2024
@nathan-schmidt-viget nathan-schmidt-viget deleted the ns/67-header-style branch May 23, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants