Skip to content

[WIP] Algolia DocSearch - #128

Closed
andrewgarner wants to merge 1 commit into
masterfrom
algolia-search
Closed

andrewgarner wants to merge 1 commit into
masterfrom
algolia-search

Conversation

@andrewgarner

Copy link
Copy Markdown
Contributor

Work in progress. The search results are not read out by a screen reader when tabbed through.

See https://trello.com/c/vSbk1HoF/51-add-search-to-docs & alphagov/tech-docs-template#66

@tijmenb
tijmenb temporarily deployed to govuk-tech-docs-pr-128 April 12, 2017 16:39 Inactive
@tijmenb

tijmenb commented Apr 12, 2017

Copy link
Copy Markdown
Contributor

After we tried this last week, @andrewgarner had a chat with @fofr about this and he raised some accessibility issues.

I emailed with one of the people behind DocSearch and they pointed me to the recent work Kaelig (Saleforce engineer) had done to improve the accessibility:

https://medium.com/@kaelig/making-open-source-accessible-for-all-8131429913b1

Some interesting PRs: algolia/autocomplete#148 and algolia/docsearch#164

It looks like VoiceOver Chrome & Safari are still problematic though. @fofr do you see any way to help them with these issues?

I'm tempted to go for this solution because it's such a better experience than using Google search. We'll learn a lot from it too if we want to implement search ourselves in the tech-docs-template (alphagov/tech-docs-template#66).

@fofr

fofr commented Apr 12, 2017

Copy link
Copy Markdown
Contributor

A good starting point is to assess the tool against the criteria defined here:
https://github.com/alphagov/accessible-typeahead/blob/master/accessibility-criteria.md

@fofr

fofr commented Apr 12, 2017 •

Copy link
Copy Markdown
Contributor

@andrewgarner The demos in http://autocompletejs-a11y.surge.sh/test/playground.html test significantly better than the versions we were looking at. Are the accessibility improvements in the latest shipped version?

Edit: The "Multi-sections auto-complete" in that demo has the same problem – the autocomplete results aren't announced by VoiceOver when navigating using arrow keys, as we witnessed when testing.

@tijmenb tijmenb closed this Jun 2, 2017
tijmenb added a commit that referenced this pull request Oct 11, 2017
This adds [Algolia DocSearch][al]. It's a free service used by
prominent projects such as React, Stripe and Scala. We have an account
set up, which is configured in
https://github.com/algolia/docsearch-configs/blob/master/configs/publish
ing_service_gov_uk.json.

We previously discussed this in
#128. We didn't go
for this then because there were questions about accessibility. I think
it would make sense to implement it now after all because the Google is
very slow, causing new pages to be indexed weeks after first being
published.

[al]: https://community.algolia.com/docsearch
@tijmenb tijmenb mentioned this pull request Oct 11, 2017
@barrucadu
barrucadu deleted the algolia-search branch May 15, 2018 08:02

This branch was previously deployed

1 inactive deployment
govuk-tech-docs-pr-128 — a8a8e41f Deployed Apr 12, 2017 by tijmenb
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