-
-
Notifications
You must be signed in to change notification settings - Fork 768
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
New dropdown menu top nav bar #6854
New dropdown menu top nav bar #6854
Conversation
Want to review this pull request? Take a look at this documentation for a step by step guide! From your project repository, check out a new branch and test the changes.
Note that CONTRIBUTING.md cannot previewed locally; rather it should be previewed at this URL:
|
Hi @marioantonini and @roslynwythe! When you have a minute, please add your ETA and Availability. Thanks! |
|
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.
The links under Toolkit
are not resolving properly, but I guess that is an issue with the actual toolkit page not having the proper anchor tags. Some of the navigation links seem wonky (meaning they go inconsistently to either same page or different pages), but that is beyond the scope of this particular issue.
Apart from the requested changes involving classes and ids, the navigation looks good!
All the dropdowns work properly. Links are behaving as expected. And everything looks as nice as the figma files!!
After discussing with @ExperimentsInHonesty, the conclussion is that adding the anchor tags to the
@ramitaarora please add the proper anchor tags to the file toolkit.html |
Hey @roslynwythe and @marioantonini , I made the requested changes! For the #our-work anchor tag, I added it to the homepage under projects, but let me know if I should put it in a different place. As discussed in office hours, I left the toolkit links as is, since that seems to be a bigger issue. :) |
|
I don't see a menu item "Our Story" on the menu example of the figma layout
@ramitaarora Please make an ER for this
@roslynwythe @ramitaarora the accessibility is within the scope of this issue. |
@ExperimentsInHonesty I apologize, I meant to write that there was no named anchor target for the link "Our Work" on the homepage. Just to prove that navigation is working, an anchor was added on the homepage just above the heading "Explore our projects by Program Area". @ramitaarora please contact me on Slack if you need help writing the ER or with implementing keyboard navigation for the drop down. |
@roslynwythe I am working on the keyboard accessibility - which js file could I write this code in? Or should I make a new one? |
|
Changes look good. I tested the navigation, and apart from the discussed issue with the links in Toolkit, everything is pointing to the right place. |
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.
@ramitaarora great job adding assets/js/nav-accessibility.js
for keyboard navigation. However in mobile and tablet views, while the "hamburger" menu icon does expand via keyboard, the menu options themselves are not reachable via keyboard navigation.
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.
Great job @ramitaarora
- code changes are correct and clean
- PR is well-formed and descriptive
- changes check out in the browser
There are some changes we would like to see in the menu before the homepage launch, but we have decided to accept this PR as-is and to create new ERs/issues to address these changes. These changes are:
- remove hyperlinks from the top-level menu items
- improvement to keyboard navigation to use down arrow and/or Enter for submenu
- remove Toolkit menu item from header menu
- remove Toolkit item from footer menu
Fixes #2455
What changes did you make?
Why did you make the changes (we will use this info to test)?
Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)
Visuals before changes are applied
Visuals after changes are applied