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

feat(v2): improve Algolia search accessibility #3166

Merged

Conversation

francoischalifour
Copy link
Contributor

Motivation

This improves the Algolia search accessibility by including #3138 in DocSearch itself, and introducing support for typing a query when the search button is focused.

Have you read the Contributing Guidelines on pull requests?

Yes.

Test Plan

(See keys pressed.)

docusaurus-docsearch-focus

Related PRs

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jul 30, 2020
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Jul 30, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 1fc3435

https://deploy-preview-3166--docusaurus-2.netlify.app

Copy link
Collaborator

@slorber slorber left a comment

Choose a reason for hiding this comment

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

Thanks @francoischalifour

I think you need to ensure that the modal code is loaded because on first attempt it fails hard :)

@francoischalifour
Copy link
Contributor Author

@slorber Great call! Fixed in 1fc3435.

@slorber
Copy link
Collaborator

slorber commented Jul 31, 2020

LGTM thanks

@slorber slorber added pr: bug fix This PR fixes a bug in a past release. pr: new feature This PR adds a new API or behavior. and removed pr: bug fix This PR fixes a bug in a past release. labels Jul 31, 2020
@slorber slorber merged commit e442ac9 into facebook:master Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants