# How removing aria-label broke my tooltip's accessible name

Original title: Fixing my tooltip accessibility mistake

> Hacker News story 49082647 · language: en · submitted 2026-07-28
> Web version: https://zeli.app/story/49082647
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 51 · by [robin_reala](<https://news.ycombinator.com/user?id=robin_reala>) · 💬 21
[original](<https://jakearchibald.com/2026/my-tooltip-a11y-mistake/>) · [HN discussion](<https://news.ycombinator.com/item?id=49082647>)

## Summary

Jake Archibald shares an accessibility mistake he made while building a tooltip with popover="hint". He initially used aria-describedby to connect the tooltip, but removed the aria-label from the button, leaving it without an accessible name. Screen readers announced "clickable image" instead of the button's purpose, and JAWS even mixed up sibling tooltips. The fix: use aria-labelledby to derive the accessible name from the tooltip, resulting in a clean announcement like "Bold, Command B, button." He emphasizes testing with multiple screen readers.

## Key quote

> Always ensure interactive elements have an accessible name.

## HN discussion (21 comments)

### [ChiperSoft](<https://news.ycombinator.com/item?id=49228396>)

> I appreciate the diff lines in each progressive code example, makes it really easy to follow

### [mort96](<https://news.ycombinator.com/item?id=49229587>)

> This is horrible. I ... will keep not doing it that way. Screen readers can read just the title attribute.

---

## Cite

- Page: https://zeli.app/story/49082647
- Date: 2026-07-28
- Source: jakearchibald.com (https://jakearchibald.com/2026/my-tooltip-a11y-mistake/)
- Hacker News: https://news.ycombinator.com/item?id=49082647

## Other languages

- zh: https://zeli.app/zh/story/49082647 · markdown: https://zeli.app/zh/story/49082647.md
- ja: https://zeli.app/ja/story/49082647 · markdown: https://zeli.app/ja/story/49082647.md
- ko: https://zeli.app/ko/story/49082647 · markdown: https://zeli.app/ko/story/49082647.md
- de: https://zeli.app/de/story/49082647 · markdown: https://zeli.app/de/story/49082647.md
- es: https://zeli.app/es/story/49082647 · markdown: https://zeli.app/es/story/49082647.md
