Skip to content
Nazmul Nikhil
Menu

Interactive Elements Indicate Their Purpose and State (PageSpeed Manual Check)

Can users see where keyboard focus is, and whether a menu is open or a toggle is on? Here's how to check and fix focus and state styles.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Interactive Elements Indicate Their Purpose and State (PageSpeed Manual Check)
Photo: Philipp Katzenberger on Unsplash

In short

Users need to see which element has focus and what state a control is in (open, selected, on). The most common failure is CSS that removes focus outlines (outline: none) without a replacement. Tab through the page: is the focus always visible? Fix with a clear :focus-visible style, and use aria-expanded, aria-pressed or aria-current to expose states.

:focus-visible { outline: 3px solid #7C3AED; outline-offset: 2px; }

This guide isn't affiliated with or endorsed by Google.

Sources and references

TAGSPageSpeed InsightsInteractive elements indicate their purpose and stateFocus indicatorFocus-visible outline
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Page Speed & Core Web Vitals posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com