<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/link-popover-navigation-ojnhasllg" -->

---
title: Link + Popover Navigation | daily.dev
description: A practical guide to building accessible navigation menus using the native HTML popover API, updating a 2019 pattern that relied on ARIA disclosure widgets....
canonical: https://daily.dev/posts/link-popover-navigation-ojnhasllg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Link + Popover Navigation | daily.dev
og:description: A practical guide to building accessible navigation menus using the native HTML popover API, updating a 2019 pattern that relied on ARIA disclosure widgets....
og:url: https://daily.dev/posts/link-popover-navigation-ojnhasllg
og:image: https://api.daily.dev/og/posts/OJNHaSllg.png
og:image:alt: Link + Popover Navigation
og:image:width: 1200
og:image:height: 630
og:locale: en
---

[Adrian Roselli](https://daily.dev/sources/adrianroselli)

[Read post](https://api.daily.dev/r/OJNHaSllg)

# [Link + Popover Navigation](https://api.daily.dev/r/OJNHaSllg "Go to post")

A practical guide to building accessible navigation menus using the native HTML popover API, updating a 2019 pattern that relied on ARIA disclosure widgets. The approach uses a link plus a button trigger with \`popovertarget\`, eliminating the need for JavaScript to show/hide submenus. Key benefits include free Esc and click-to-close support, automatic \`aria-expanded\` state, and proper semantics. The post covers HTML structure, button naming with \`aria-labelledby\`, focus order considerations, CSS anchor positioning challenges across browsers, and styling tips including forced-colors and logical properties support.

[#html](/tags/html "Check all #html posts")[#accessibility](/tags/accessibility "Check all #accessibility posts")

Jul 09•6m read time•From [adrianroselli.com](https://api.daily.dev/r/OJNHaSllg "adrianroselli.com")

[![Post cover image](https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001)](https://api.daily.dev/r/OJNHaSllg "Go to post")

Table of contents

[popover vs. Disclosure Widgets # anchor](https://api.daily.dev/r/OJNHaSllg?a=Popover "popover vs. Disclosure Widgets # anchor")[The Pattern # anchor](https://api.daily.dev/r/OJNHaSllg?a=Pattern "The Pattern # anchor")[Pattern History # anchor](https://api.daily.dev/r/OJNHaSllg?a=History "Pattern History # anchor")[Wrap Up # anchor](https://api.daily.dev/r/OJNHaSllg?a=Wrap "Wrap Up # anchor")[Tags](https://api.daily.dev/r/OJNHaSllg "Tags")[Other Posts](https://api.daily.dev/r/OJNHaSllg "Other Posts")[No comments? Be the first!](https://api.daily.dev/r/OJNHaSllg "No comments? Be the first!")

867 Impressions

Comment

Bookmark

Copy

![Placeholder image for anonymous user](https://media.daily.dev/image/upload/s--qsFuKGv_--/t_logo,f_auto/public/noProfile)Share your thoughtsPost

[![Adrian Roselli's image](https://media.daily.dev/image/upload/s--srPC5zE---/f_auto/v1710012549/logos/adrianroselli)](https://daily.dev/sources/adrianroselli)

[Adrian Roselli](https://daily.dev/sources/adrianroselli "https://daily.dev/sources/adrianroselli")

Adrian Roselli is a web developer, accessibility advocate, and expert in web standards. Readers can ... Read more

37 Followers

•

203 Upvotes

#### Would you recommend this post?

Copy link

WhatsApp

Facebook

X

New Squad

Copy linkShare with your friends

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Link + Popover Navigation","url":"https://daily.dev/posts/link-popover-navigation-ojnhasllg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/link-popover-navigation-ojnhasllg"},"datePublished":"2026-07-09T13:05:48.091Z","dateModified":"2026-07-09T13:06:07.467Z","description":"A practical guide to building accessible navigation menus using the native HTML popover API, updating a 2019 pattern that relied on ARIA disclosure widgets....","image":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","thumbnailUrl":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","isAccessibleForFree":true,"articleSection":"Adrian Roselli","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Adrian Roselli","logo":"https://media.daily.dev/image/upload/s--srPC5zE---/f_auto/v1710012549/logos/adrianroselli","url":"https://daily.dev/sources/adrianroselli"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/link-popover-navigation-ojnhasllg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"html,accessibility","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Adrian Roselli","item":"https://daily.dev/sources/adrianroselli"},{"@type":"ListItem","position":3,"name":"Link + Popover Navigation"}]}
```

