We explore what WCAG requires—and doesn’t—when your interface includes a hover state
4/23/2025 2:27:11 PM
Content contributors: Kim Lanahan-Lahti, Digital Accessibility Coordinator, MNIT partnering with Minnesota Department of Transportation; David Miller, Senior Quality Analyst MNIT partnering with Minnesota Department of Corrections; Stephanie Waegener, Digital Accessibility Analyst, MNIT Office of Accessibility
As the State of Minnesota’s Office of Accessibility, we have a responsibility to uphold the State’s digital accessibility standard. Effective July 1, 2024, Minnesota adopted WCAG 2.1, Level AA as the required standard, replacing WCAG 2.0, Level AA.
WCAG 2.1 introduces 12 new success criteria, sparking valuable discussion among our Digital Accessibility Coordinators as they learn and implement the updates.
This article summarizes a recent discussion about user interface (UI) components and how hover states are impacted by WCAG requirements, especially with new success criteria 1.4.11 Non-text Contrast.
Learn the key principles and best practices for applying accessible hover states.
WCAG defines UI components as interactive parts of a web page—such as buttons, links, text input fields and form elements —that users recognize as separate controls with specific functions. These components must be operable and adaptable, allowing all users, including those using assistive technologies, to access and interact with them in ways that meet their individual needs.
UI components can have different states. WCAG defines a "state" as a dynamic property that describes characteristics of a component that may change in response to user actions or automated processes. States do not change the component itself but represent data tied to it or possible user interactions. Examples include:
When a web page includes user interface (UI) components, those components must meet several WCAG success criteria. This helps users recognize the component as interactive and ensures they can identify when they reached it and can interact with it.
These WCAG 2.0 Level, AA criteria affect UI components — either in how they function, appear, or interact with users (especially those using assistive technologies):
WCAG 2.1, Level AA adds these SC that directly impact UI components:
WCAG does not require user interface (UI) components to have hover states. However, if a hover state is included, it must be accessible. Exactly how to meet that requirement can vary—and that’s what sparked a great discussion.
Here’s what we learned:
It’s a best practice to have visual consistency with UI component’s keyboard focus states and hover states.
When a keyboard focus has a visual indicator, it meets SC 2.4.7 Focus Visible (from WCAG 2.0). However, WCAG 2.1 introduced a new requirement, SC 1.4.11, that layers on to visible keyboard focus. Although SC 1.4.11 doesn’t require the focus indicator, when one is used and it's essential for the user to understand interaction, then it must meet the Non-text contrast ratio of 3:1 (don’t forget that any text on a UI component must also meet SC 1.4.3 Contrast (Minimum).
An additional point was brought up that a keyboard focus color change should contrast with the default state of the UI component, if necessary for the user to understand the change.
If a hover state changes the mouse presentation (like an arrow to a text cursor) which are handled by the operating system/browser, it is exempt from WCAG contrast requirements. And it isn’t required to have an additional color change on the hover focus.
Note: Many WCAG criterion start with the assumption that people are using a modern browser, and the browser's default behaviors aren't overridden. For the examples above where hover state must meet SC 1.4.11, this assumption does not apply, as the default hover state is being altered.
We only covered a few WCAG success criteria in this discussion related to UI components. But the list above had 21 total WCAG 2.1, Level AA criteria that directly or significantly affect UI components. We look forward to continuing these conversations, where we ask questions, challenge assumptions, and refine implementations. We best understand the nuances of these success criteria when we explore them together.
Whether you're a seasoned accessibility lead or just beginning to align your work with these standards, your insights matter. Through ongoing discussion, shared examples, and collaborative interpretation, we deepen our own expertise and shape a more inclusive digital experience for everyone!
Would you like to learn more about the accessibility work being done by Minnesota IT Services and the State of Minnesota? Once a month we will bring you more tips, articles, and ways to learn more about digital accessibility.
Accessibility
Accessibility