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

fix(navigation): fix tab order and layout shift #1793

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

thecristen
Copy link
Collaborator

Summary of changes

Asana Ticket: Address keyboard navigation issues with header navigation bar
Asana Ticket: Opening navbar dropdowns shifts whole page

The first was addressed by changing a CSS property; setting display: none takes the element out of the accessibility tree, thus it's not reachable via tab key.

The second needed the addition of { reserveScrollBarGap: true } to the disableBodyScroll call, along with some CSS and JS hackery to get the expanded menu and the background grey cover to look decent.

@thecristen thecristen requested a review from a team as a code owner November 9, 2023 01:45
@thecristen thecristen requested a review from i0sea November 9, 2023 01:45
@thecristen thecristen merged commit 7efe83e into master Nov 9, 2023
@thecristen thecristen deleted the cbj/fix-navigation-focus-order branch November 9, 2023 18:51
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.

2 participants