<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/buttons-and-the-baader-meinhof-phenomenon-s7ai1quap" -->

---
title: Buttons and the Baader–Meinhof phenomenon | daily.dev
description: A practical guide to accessible button labeling patterns in HTML. Covers multiple correct approaches including text-only buttons, text with icons, and...
canonical: https://daily.dev/posts/buttons-and-the-baader-meinhof-phenomenon-s7ai1quap
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Buttons and the Baader–Meinhof phenomenon | daily.dev
og:description: A practical guide to accessible button labeling patterns in HTML. Covers multiple correct approaches including text-only buttons, text with icons, and...
og:url: https://daily.dev/posts/buttons-and-the-baader-meinhof-phenomenon-s7ai1quap
og:image: https://api.daily.dev/og/posts/S7Ai1QUaP.png
og:image:alt: Buttons and the Baader–Meinhof phenomenon
og:image:width: 1200
og:image:height: 630
og:locale: 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.

# Buttons and the Baader–Meinhof phenomenon

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

## Summary

A practical guide to accessible button labeling patterns in HTML. Covers multiple correct approaches including text-only buttons, text with icons, and icon-only buttons using sr-only classes, aria-label, aria-labelledby, SVG title elements, alt attributes, and background images. Also highlights common mistakes like empty buttons, unlabeled SVGs, and images with empty alt attributes. Backed by WebAIM data showing 27.2% of tested websites have empty buttons.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.matuzo.at/blog/2022/button-baader>

## Similar posts on daily.dev

- [Building Better Buttons](https://daily.dev/posts/building-better-buttons-kfg2u6xfq) · Simple Thread · 68 upvotes · 5 comments
- [Fixing my tooltip accessibility mistake](https://daily.dev/posts/fixing-my-tooltip-accessibility-mistake-xabm2iz7t) · Jake Archibald · 7 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/buttons-and-the-baader-meinhof-phenomenon-s7ai1quap)

```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":"Buttons and the Baader–Meinhof phenomenon","url":"https://daily.dev/posts/buttons-and-the-baader-meinhof-phenomenon-s7ai1quap","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/buttons-and-the-baader-meinhof-phenomenon-s7ai1quap"},"datePublished":"2026-06-22T14:42:37.983Z","dateModified":"2026-06-22T14:44:49.249Z","description":"A practical guide to accessible button labeling patterns in HTML. Covers multiple correct approaches including text-only buttons, text with icons, and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a3f4fc2d1a3f650dd39122cfe319dcbc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a3f4fc2d1a3f650dd39122cfe319dcbc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Manuel Matuzović","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":"Manuel Matuzović","logo":"https://media.daily.dev/image/upload/s--EstFG5yE--/f_auto,q_auto/v1782139307/logos/matuzo","url":"https://daily.dev/sources/matuzo"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/buttons-and-the-baader-meinhof-phenomenon-s7ai1quap","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"html,accessibility,web-components","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Manuel Matuzović","item":"https://daily.dev/sources/matuzo"},{"@type":"ListItem","position":3,"name":"Buttons and the Baader–Meinhof phenomenon"}]}
```

