Add InstantSearch and Autocomplete to your search experience in just 5 minutes
A good starting point for building a comprehensive search experience is a straightforward app template. When crafting your application’s ...
Senior Product Manager
A good starting point for building a comprehensive search experience is a straightforward app template. When crafting your application’s ...
Senior Product Manager
The inviting ecommerce website template that balances bright colors with plenty of white space. The stylized fonts for the headers ...
Search and Discovery writer
Imagine an online shopping experience designed to reflect your unique consumer needs and preferences — a digital world shaped completely around ...
Senior Digital Marketing Manager, SEO
Winter is here for those in the northern hemisphere, with thoughts drifting toward cozy blankets and mulled wine. But before ...
Sr. Developer Relations Engineer
What if there were a way to persuade shoppers who find your ecommerce site, ultimately making it to a product ...
Senior Digital Marketing Manager, SEO
This year a bunch of our engineers from our Sydney office attended GopherCon AU at University of Technology, Sydney, in ...
David Howden &
James Kozianski
Second only to personalization, conversational commerce has been a hot topic of conversation (pun intended) amongst retailers for the better ...
Principal, Klein4Retail
Algolia’s Recommend complements site search and discovery. As customers browse or search your site, dynamic recommendations encourage customers to ...
Frontend Engineer
Winter is coming, along with a bunch of houseguests. You want to replace your battered old sofa — after all, the ...
Search and Discovery writer
Search is a very complex problem Search is a complex problem that is hard to customize to a particular use ...
Co-founder & former CTO at Algolia
2%. That’s the average conversion rate for an online store. Unless you’re performing at Amazon’s promoted products ...
Senior Digital Marketing Manager, SEO
What’s a vector database? And how different is it than a regular-old traditional relational database? If you’re ...
Search and Discovery writer
How do you measure the success of a new feature? How do you test the impact? There are different ways ...
Senior Software Engineer
Algolia's advanced search capabilities pair seamlessly with iOS or Android Apps when using FlutterFlow. App development and search design ...
Sr. Developer Relations Engineer
In the midst of the Black Friday shopping frenzy, Algolia soared to new heights, setting new records and delivering an ...
Chief Executive Officer and Board Member at Algolia
When was your last online shopping trip, and how did it go? For consumers, it’s becoming arguably tougher to ...
Senior Digital Marketing Manager, SEO
Have you put your blood, sweat, and tears into perfecting your online store, only to see your conversion rates stuck ...
Senior Digital Marketing Manager, SEO
“Hello, how can I help you today?” This has to be the most tired, but nevertheless tried-and-true ...
Search and Discovery writer
Is your website and app search functionality accessible to the estimated 1 billion adults around the world who are living with a disability?
For instance, can users easily see the search bar and navigate to what they want to find using text alternatives? Do they have enough time to do what they came to accomplish on your site? Are your visuals easy on the eyes so that sight-impaired people can see them?
If you’re one of those people, it’s obviously important to you that disabled individuals can get access to the Web as well as abled individuals can. The more that sites can ensure that their services and products are accessible and ready to help all users, the better for folks with disabilities. (And the less likely it may be that some companies are sued for not adopting the standards.)
When designing accessible websites and interfaces, developers and designers should be mindful that users may have any number of disabilities, temporary limitations, and situational issues, including:
To help users, companies are encouraged to meet the Web Content Accessibility Guidelines (WCAG) and the Americans with Disabilities Act (ADA) digital standards for websites and apps.
The WCAG guidelines are published and updated by the Web Accessibility Initiative (WAI) of the World Wide Web Consortium (www.W3.org), the organization dedicated to developing international standards for the Internet. The guidelines are regularly updated; for instance, the organization has recently moved from version WCAG 2.1 to WCAG 2.2.
The ADA set of guidelines applies to websites and other digital experiences, but ADA doesn’t specifically provide digital accessibility success criteria. ADA compliance for the Web essentially means conforming to the WCAG standards.
In terms of digital accessibility issues, the WCAG success criteria consists of four pillars. To be compliant with the accessibility guidelines, a website must be:
According to W3C, “Information and user interface components must be presentable to users in ways they can perceive…it can’t be invisible to all of their senses.” One example: enlarging text using reflow helps people with impaired vision avoid issues with scrolling, clearly see characters, and successfully read content. Another helpful step: provide additional input modalities (e.g., a pointer) instead of just a keyboard.
Digital accessibility experts say users must be able to easily “operate” the components in the user interface, as well as successfully navigate.
People must be able to comprehend the information as well as how the interface works. One W3C recommendation that helps with easy understanding is ensuring an appropriate reading level for all viewers. Other recommendations: make sure headings and labels can be easily understood, and that abbreviations aren’t confusing.
Sites should be structurally sound so that the content can be reliably interpreted, plus web standards need to be compatible with assistive technologies, both now and in the future.
The good news is that companies are increasingly adopting web accessibility standards. According to Forrester, 84% of companies are working on making their sites accessible.
What about your site? For instance, how accessible is your search functionality?
By ensuring WCAG compliance, you can make it easier for people of all ability levels to access your search engine, navigate your user interfaces, and get to the content they need. And as an added benefit, by supplying content in an accessible way, you could substantially broaden your market.
As daunting as it may sound — and there can certainly be some challenges — conducting a WCAG compliance audit and making any needed changes may not be as complicated as you imagine. You can also break down the project into smaller tasks. To address vision-related disabilities, for instance, you can assess aspects of your website such as color contrast, animation, and transitions, and then make appropriate usability alternatives available.
Here’s a summary of some of the important aspects of accessibility to consider when building and managing a search interface. Each principle contains various guidelines, which can be implemented at one of three levels of conformance:
Level A is the minimum — better than nothing. Generally, organizations attempt to implement level AA. To reach the AAA level, an organization has to meet more stringent foreground and background color contrast requirements.
If you’re building a custom search interface or reviewing a site search installation on your website, you want to ensure that your website search experience complies with WCAG 2.2 (or a newer version) AA standards, as well as meets accessibility standards for sight-impaired users.
Note: If your search interface or any other component of the website experience does not comply with the same level of conformance as the rest of your site, the site overall is relegated to the lower level of compliance.
You can start with this W3C quick reference guide to evaluate every aspect of your site search functionality for accessibility.
If you’re testing your site compliance using a Mac, an easy way is with the VoiceOver utility in Mac OS X.
If you’re testing compliance using Microsoft Windows, you can use Jaws (Job Access with Speech) or some other voice-assistance software.
User experience testing assesses:
By testing, you’ll uncover many of the problems you need to address in order to achieve WCAG compliance.
First up: how’s your search bar?
How do you make the search bar or search icon on your site “viewable” for people who can’t see and thereby need to navigate with the help of a handy screen reader? You provide a label for the search field or an icon that the assistive technology can announce.
Your user search experience should:
For instance, the search bar should be positioned where people would expect to find it, which is generally in the upper right corner of the screen.
When it comes to images, buttons, and icons, the color contrast ratio, such as between the text color and background color, should be sufficient for easy viewing and reading.
If you’re using a magnifying-glass (or some other symbol) search icon, the image should contain an alt-text=”Search” attribute in the <img> tag. An icon in the search bar should have an alt-text attribute to describe it since it’s non-text content.
Aria-label attributes are used to provide labels for objects, which can then be read to the user. As shown below, a WCAG-compliant standard website search interface uses aria-label=”Search” within the button div class.
Users should be able to navigate in and out of the search field using the Tab button on their keyboard:
Users with disabilities should be able to both search and navigate easily. One thing that facilitates a smooth journey: while they’re entering a query in the search bar, the keyboard focus should remain on the search bar so that, if needed, they can continue to enter or modify their query.
If they navigate using the Tab keyboard button, the focus order should be sequential and match the HTML/DOM. Ideally, they should be able to navigate with the keyboard from the search bar to their search results, then to pagination, then to the URL of the page in their browser, and then back to the web page.
When providing a search bar, the text input field should have a label identifying its functionality.
In this code for a website search bar, you can see the aria-label description “Search through the site content”:
You can set up your search results page in a variety of ways, such as in a grid or on a list, based on your website design and user-experience requirements. The standard way is a list, but the guidelines apply to any design you choose.
When the search results are displayed, the user should be able to navigate through them using the Tab key. The description and status message (e.g., “149 results for ‘site search'”) are not accessible by using the Tab key. However, the screen-reader software or voice-over utility should be able to read the description and status message to the user, which makes all the necessary information available without interfering with the navigation.
When a user enters a search term, the content of the page is updated and the search results are displayed. The status message should be automatically picked up and read by the screen reader. By adding an aria status role (role=”status”) message to the code, you can allow the screen reader to announce the number of returned results.
Decorative images don’t contribute content to a web page, so the ones that appear in search results don’t need to be focused on when the user navigates through the results. These images also don’t require an alt attribute, as there’s no loss of information.
If you use pagination to allow users to navigate through the search results, it should also be accessible and operable by using the keyboard.
For easy visibility, the color of the text in the title, description, URL, and other elements should have a contrast ratio of at least 4:5:1.
You can test your contrast ratio using this tool.
Check the appearance of the search results in both portrait and landscape orientation on both desktop and mobile devices. The results text must be resizable up to 200% without any loss of content or functionality.
If you’re displaying search results in an overlay window, the user should be able to navigate to the close button, and the close button (if it’s an icon) should have the correct aria-label or alt-description attribute.
All your filters and facets should be accessible and operable from the keyboard and have the appropriate aria-label descriptions, along with the statuses of those features.
About aria-label grouping controls
This sums up the key considerations for optimizing your site user experience for everyone. Ensuring website accessibility with your search functionality with the help of the WCAG standards is one of the most vital improvements you can make to let people of all ability levels fully find their way around on and experience your site in the richest way possible.
Looking for other ways to improve the user search experience on your site? Algolia can help. Let us know you’re interested in hearing about the benefits of great search and we’ll be happy to look at your site and make personalized recommendations.
Powered by Algolia Recommend