---
title: "NVDA bug: anchor links broken if they point to a parent element"
url: https://daily.dev/posts/nvda-bug-anchor-links-broken-if-they-point-to-a-parent-element-ppgfropas
source_url: https://www.matuzo.at/blog/2025/anchor-links-nvda-bug
type: article
source: "Manuel Matuzović"
published: 2026-06-22T14:42:22.994Z
updated: 2026-06-22T14:44:00.398Z
tags: ["html", "accessibility"]
reading_time: 2
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# NVDA bug: anchor links broken if they point to a parent element

**[Manuel Matuzović](https://daily.dev/sources/matuzo)** · 2 min read · 0 upvotes · 0 comments

## Summary

NVDA has a bug where anchor links that point to a parent element don't work correctly in browse mode — the cursor stays at the bottom of the page instead of jumping to the target. This affects both Chrome and Firefox, but not JAWS or VoiceOver. The root cause is that NVDA skips scroll events when the caret is already within the scroll target container. The workaround is to move anchor links (like 'back to top') outside their target element rather than nesting them inside it.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.matuzo.at/blog/2025/anchor-links-nvda-bug>

## Similar posts on daily.dev

- [Dropdowns Inside Scrollable Containers: Why They Break And How To Fix Them Properly — Smashing Magazine](https://daily.dev/posts/dropdowns-inside-scrollable-containers-why-they-break-and-how-to-fix-them-properly-smashing-magaz-dpa86mwmk) · Smashing Magazine · 0 upvotes · 0 comments
- [Why is Anchor Positioning not working?](https://daily.dev/posts/why-is-anchor-positioning-not-working--l7i3nmmxd) · CSS Tip · 2 upvotes · 0 comments

---

Tags: [#html](https://daily.dev/tags/html), [#accessibility](https://daily.dev/tags/accessibility)

[View this post on daily.dev](https://daily.dev/posts/nvda-bug-anchor-links-broken-if-they-point-to-a-parent-element-ppgfropas)
