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

Make search a proper menu component #2449

Merged
merged 6 commits into from
Apr 19, 2024
Merged

Make search a proper menu component #2449

merged 6 commits into from
Apr 19, 2024

Conversation

hadley
Copy link
Member

@hadley hadley commented Apr 16, 2024

Fixes #2320

I tested the visual appearance manually in a few places, and it looks good to me. @maelle it'd be useful if you could kick the tires on it a bit too.

While working on this code, I realised that we'd been incorrectly labelling the search box as "toggle navigation" to screen readers 🤦 I've fixed that in this PR too.

Fixes #2320

I tested the visual appearance manually in a few places, and it looks good to me. @maelle it'd be useful if you could kick the tires on it a bit too.

While working on this code, I realised that we'd been incorrectly labelling the search box as "toggle navigation" to screen readers 🤦 I've fixed that in this PR too.
@hadley hadley changed the title Make the navbar a proper menu component Make search a proper menu component Apr 17, 2024
@hadley hadley added the breaking change ☠️ API change likely to affect existing code label Apr 17, 2024
Copy link
Collaborator

@maelle maelle left a comment

Choose a reason for hiding this comment

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

I was able to use this from rotemplate.

tests/testthat/test-navbar.R Show resolved Hide resolved
@hadley hadley requested a review from maelle April 19, 2024 13:51
@hadley hadley merged commit e4a72c2 into main Apr 19, 2024
12 checks passed
@hadley hadley deleted the navbar-search branch April 19, 2024 14:10
SebKrantz pushed a commit to SebKrantz/pkgdown that referenced this pull request Jun 1, 2024
Fixes r-lib#2320

I tested the visual appearance manually in a few places, and it looks good to me. @maelle it'd be useful if you could kick the tires on it a bit too.

While working on this code, I realised that we'd been incorrectly labelling the search box as "toggle navigation" to screen readers 🤦 I've fixed that in this PR too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change ☠️ API change likely to affect existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navbar icons left of search
2 participants