Quantcast
Channel: Government Digital Service
Viewing all articles
Browse latest Browse all 965

How we’ve been improving site search on GOV.UK

$
0
0

In the past few weeks, a small team in the Government Digital Service has been working to make significant improvements to site search on GOV.UK.

When GOV.UK came out of beta in October 2012, replacing the Directgov and Business Link websites, there were around 3,800 pieces of content. Six months on, and the bringing together of information from 24 departments and 31 agencies has added around 52,000 additional documents. In that time, it’s become even harder for users to find what they’re looking for using site search on GOV.UK. And our analytics data and user feedback have consistently told us that search simply hasn’t been good enough. Time for some improvements.

Here’s what we’ve done in the past couple of months.

1. We started with user needs

Based on existing user testing, user feedback and analytics, the team captured a list of user needs. We pulled together everything we already knew from our research to create 5 personas based on real user behaviour. This helped us to consider the needs of different types of users – from people with limited internet experience through to professionals who use the site every day for their work.

2. We agreed some principles for the project

We wanted to:

  • help more people find what they want using search
  • always return the most relevant results
  • avoid forcing users to understand the internal structure of the site
  • allow users to control their results
  • give results that feel familiar to users and don’t deviate from established models of what search looks like

3. We designed and developed with data

Our analytics helped us understand our users’ searching behaviour before we started work. We ran four rounds of user testing with participants recruited to represent users with a range of different needs. Week by week, we’ve added and improved new features based on the feedback and behaviour we’ve seen in our lab, making changes based on what we’ve learned. We’ve also tested our search results against our simple ‘health check’ tool (which verifies that the expected results appear for specific search terms) to prevent us accidentally making things worse.

4. We made it much more accessible

The original search results page had been implemented in a rush so we did a major clean up of the code and took the opportunity to make some much needed improvements:

  • the search query in the page heading is now legible and less confusing to screen-reader users
  • lists of search results are now properly marked up as HTML lists, allowing screen-readers and users of assisted technology to jump through results easily
  • the metadata for results is now more explicit in describing what this content actually is, making it less likely that users will become confused and frustrated

5. We give richer search results

Based on our user testing, we’ve recently introduced some improvements to search results:

  • changing the approach to tabbed search results (one of the biggest complaints with the previous version) to combine results more appropriately, helping people find what they’re looking for more easily
  • showing better metadata in search results, giving users more confidence in finding the right result
  • providing top 3 results above the tabs to help users find the most relevant content from across GOV.UK more easily
  • providing deep links directly within search results allows users to go straight to the right content without an additional click

Richer search results

6. Better support for ‘power users’

Some of the most frequent users of search on GOV.UK are researchers and other civil servants, often trying to use GOV.UK every day to find specific content to help them do their jobs. We’ve got lots of ideas for improvements (including better support for exact phrase matching, supporting search operators and providing more detailed filtering options) but for now we’ve added the ability for users to filter results by department/organisation.

Organisation filtering on GOV.UK site search

7. We tried to make it ‘just work’

Probably our biggest improvement so far is improving the algorithm to drastically reduce the number of irrelevant results.

“…everybody expects search to read their minds.”
Martin Belam, 2009

We know that almost half of site searches on GOV.UK use 2 or 3 words. Additional words in a search query are often intended to narrow down a set of results to a more specific set of results (eg horse passports vs. passports) but instead we were returning results containing any of the words, which would often draw in many irrelevant results and frustrate users. We’ve now tweaked the search behaviour to ensure that adding terms narrows down the search results, reducing the number of irrelevant results.

Before and after

In the future, we’re also looking at automatically handling misspellings and offering a ‘did you mean?’ suggestion.

8. We cleared some technical debt

Making progress in the past few weeks has involved a fair bit of tidying up. We’ve made it easier to make it even better in future.

We’re still not finished. We’ll continue to analyse the data and test our improved search with users, and we’ve already uncovered a list of additional improvements and new features that we think will make search even better.


Filed under: Alpha.gov.uk prototype, Content, GDS, Single government domain

Viewing all articles
Browse latest Browse all 965

Trending Articles