Semantic markup
Using the right HTML elements so meaning is available to all software.
Semantic HTML, with real buttons, headings, labels and landmarks, gives assistive technology the structure it needs. It also improves SEO and makes code easier to read. ARIA is for the gaps, not a replacement for the right element.
Why it matters for a product engineer
Semantic HTML uses the element that means what you want: a button, a heading, a label, a nav.
Assistive technology reads that structure, search engines read it, and so does the next engineer.
The right element does most of the accessibility work for free. ARIA exists for the gaps, not to
replace the right element.
How to do it
- Use headings in order,
h1toh3, to show the structure of the page, not to make text large. - Use landmarks:
header,nav,mainandfooter, so people can jump between regions. - Give every form field a
labelconnected to it. - Use
buttonfor actions anda hreffor navigation, never adivfor either. - Use lists for lists and tables for tabular data.
- Add ARIA only when no HTML element does the job, and test the result with a screen reader.
Common mistakes
divandspanfor everything, with ARIA roles added on top.- Headings chosen for their size, so the outline makes no sense.
- Placeholder text instead of a label.
aria-hidden="true"on content that people need.
Example
WebAIM’s 2026 scan of the top million home pages found 133 ARIA attributes per page on average, more than six times as many as in 2019. Pages with ARIA had more accessibility errors than pages without it. WebAIM is careful: those pages were also more complex, so ARIA is not proven to cause the errors. But more ARIA did not mean more accessible.
ARIA and errors on the top million home pages, 2026
- 133
- ARIA attributes per page
- More than six times 2019
- 59.1
- Errors per page with ARIA
- 42
- Errors per page without ARIA
ARIA is meant to help, yet pages that use it had about 17 more barriers on average. The right HTML element comes first.
MeasuredWebAIM, The WebAIM Million, 2026 report
Sources: HTML: a good basis for accessibility (MDN Web Docs) ↗ · WAI-ARIA basics (MDN Web Docs) ↗ · The WebAIM Million, 2026 report (WebAIM) ↗
Resources
2- docsStart here
HTML: a good basis for accessibility ↗
MDN Web Docs · 25 minWhy the right HTML element does most of the accessibility work for you, with examples to compare.
- docsGo deeper
WAI-ARIA basics ↗
MDN Web Docs · 25 minWhen ARIA fills a real gap in HTML, and when it makes things worse.
Tools
3- ToolFreemium
axe DevTools
Automated accessibility checks in the browser and in tests, built on the open-source axe-core engine.
- ToolFree
- ToolOpen source
Lighthouse
Open-source audits for performance, accessibility, SEO and best practices, built into Chrome.