Platform

Explore the Yext Digital Presence Platform

Scout

Monitor AI search visibility and track competitors in real time

Listings

Manage & optimize your location information across the web

Knowledge Graph

Organize your content for search and AI-powered experiences

Reviews

Manage your reputation to boost your local ratings and rank

Social

Amplify your brand’s local social presence across all locations

Pages

Drive engagement with search-optimized local pages

Search

Create your own intelligent search tool for your website

Chat

Automate conversations with your own AI-powered chatbot

Relate

Unlock enterprise-grade, compliant 1:1 engagement

Publishers

Explore the publisher network

Google Business Profile

Architect your first impression through Google Business Profile.

Apple

Manage location data with Apple Business Connect.

Facebook

Control the facts about your brand on your Facebook.

OpenAI

Deliver natural language responses to user queries.

Bing

Increase local discoverability on Bing.

Tripadvisor

Connect with more guests and grow your business on Tripadvisor.

Featured

Meet Scout: Your AI Search & Competitive Intelligence Agent

BLOG POST

Latest News: The Search Shift

Industries

Financial Services

From branch to advisor—see and shape your digital presence.

Healthcare

Connect patients to care faster—across AI, search, and digital channels.

Retail

AI-ready visibility and insights to grow every retail location.

Food

Stay visible and competitive—every store, every search, every meal.

Hospitality

From search to stay—Yext helps hospitality brands win locally.

View all

Customer Stories

View All

Featured

BLOG POST

The New Rules for Search: Staying Relevant in an AI-Driven World

BLOG POST

Under the Microscope: How AI is Transforming Healthcare Marketing

Blog

Stay up-to-date with insights and commentary from industry experts.

Customer Stories

See how our customers are leveraging Yext.

Events

Find upcoming and on-demand events.

Publications

Read our latest ebooks, reports, and whitepapers.

Featured

BLOG POST

AI Is Your New Customer: Structuring Data for Success in AI Searches

BLOG POST

6 Ways to Improve Your Local SEO Strategy in the Age of AI Search

Help Center

Get support and find the answers to your product questions.

Documentation

This is your one-stop-shop for getting started guides, product reference and API docs.

Guides

Step-by-step guides to effectively use our features and tools.

Featured

June '25 Release Notes

About

Why Yext?

Newsroom

Company updates and industry news.

Investors

The latest financial information.

Careers

The next big thing in your career.

Partners

Find or become a Yext partner.

See how Yext can transform your search experience anywhere people ask questions about you
Get Started
Sign inContact UsSupport
EnglishDeutschFrançais日本語Italiano
Sign inContact UsSupport
EnglishDeutschFrançais日本語Italiano
Get Started
  • Home
  • Blog
  • WCAG and Search: Developing an Accessible Search Experience

Product and Engineering

2 min

WCAG and Search: Developing an Accessible Search Experience

What’s WCAG? WCAG stands for the Web Content Accessibility Guidelines (WCAG). WCAG is not always black and white; its rules often have a variety of interpretations.

Rose Grant, Associate Product Manager

Nov 5, 2020

2 min

ADA stands for the American Disabilities Act, which is "a civil rights law that prohibits discrimination against individuals with disabilities in all areas of public life, including jobs, schools, transportation, and all public and private places that are open to the general public." (https://adata.org/learn-about-ada).

WCAG stands for the Web Content Accessibility Guidelines (WCAG). These are the practical standards for the ADA – by creating a website that adheres to the best practices set in WCAG, you're helping your site be in-line with ADA standards. (https://www.w3.org/WAI/standards-guidelines/wcag/).

WCAG is not always black and white; its rules often have a variety of interpretations.

It can be frustrating to need to add another box to an already long SDK and Theme deployment checklist. However, at Yext, we feel strongly that Answers is accessible and available to all. By abiding by WCAG best practices, you'll not only ensure that everyone can find the truth about your brand, but also take a small step to make the internet a more inclusive place.

WCAG impacts each layer of an Answers experience: The core functionality and default layout, any added customization, and finally the integration itself. We'll walk through each layer and describe that impact.

This layer consists of elements that are customizable and unique per implementation. The Items that fall into this category are selecting colors that have sufficient contrast, defining descriptive alt-text for any images, descriptive labels for buttons and any custom HTML or interaction added beyond the library and the theme. At this layer, the responsibility for aligning with WCAG falls on the implementer.

Finally, there's the integration step, which dictates how Answers fits onto a page. For example, the page where you host Answers should correctly use semantic HTML (like a header and footer) and an H1 articulating the core purpose of the page. Depending on how you integrate, this area may be outside of Yext's scope.

The first layer of an Answers experience (built by the Answers Javascript Library and the Yext Hitchhikers Theme), are built with WCAG best practices in mind. You'll notice this throughout attributes in the Javascript library and elements in the theme.

As an example, here's our configuration for the DirectAnswer component.

<div class="direct-answer-container"></div>

ANSWERS.addComponent('DirectAnswer',

{ container: '.direct-answer-container',

//other attributes here

positiveFeedbackSrText: 'This answered my question',

negativeFeedbackSrText: 'This did not answer my question' })

In an Answers experience, you'll notice that the screen reader text controls the sr-only text for the thumbs up and thumbs down buttons in a direct answer:

We're always open to feedback on our library and WCAG approach. Feel free to post your questions and recommendations to the community.

  • W3.org Quick Reference

  • MDN Accessibility Docs

  • How People with Disabilities Use the Web

Share this Article

Read Next

loading icon
loading icon
View Content Library
Turn Your Digital Presence <br>
into a Differentiator™

Turn Your Digital Presence

into a Differentiator™

Get a demo

Company

About

Careers

Press

Partners

Investors

Office Locations

Platform

Listings

Search

Knowledge Graph

Reviews

Social

Analytics

Pages

Chat

Relate

Solutions

Marketing

Support

Commerce

Workplace

Industry

Financial Services

Healthcare

Public Sector

High Tech

Food Services

Resources

Blog

Publications

Customer Stories

Events

Trust Center

Support

Help Center

Training

Guides

Documentation

EnglishDeutschFrançais日本語Italiano
  • Privacy Policy
  • Terms
  • AdChoices
  • Copyright
image/svg+xml