
ARIA When Not to Use: Native HTML Beats Bad Roles
WebAIM Million 2024 found pages with ARIA average more detected accessibility errors than pages without. The rules of ARIA use, common misuses, and the native HTML map for common ARIA roles.
TL;DR: The W3C's ARIA Authoring Practices Guide puts it bluntly: "No ARIA is better than Bad ARIA." The WebAIM Million 2024 report found that homepages with ARIA averaged more detected errors than pages without it. WebAIM is careful to call this a correlation, not proof that ARIA caused the errors, but it is a warning sign about how ARIA is applied in practice. This guide covers the five rules of ARIA, common misuse patterns, the native HTML elements that replace common role redefinitions, the cases where ARIA is genuinely required, and a removal plan that does not break your site.
Why "no ARIA is better than bad ARIA" is the W3C's actual guidance
The phrase is the heading of the "Read Me First" page in the W3C ARIA Authoring Practices Guide, and it is widely repeated for a reason. ARIA can override native semantics — which means a small mistake silently breaks the screen reader contract that HTML would have provided for free. An <a> tag that gets role="button" is no longer a link to assistive tech but is still a link in the DOM, and the divergence creates bugs that are hard to detect in code review.
The empirical evidence is direct. WebAIM's 2024 analysis of the top one million homepages found that homepages with ARIA present averaged 34.2 percent more detected errors than those without ARIA (WebAIM Million 2024). WebAIM notes that this does not necessarily mean ARIA introduced the errors — pages that use more ARIA also tend to be more complex — but misapplied ARIA can actively make a page worse than the plain HTML would have been.
ARIA is a polyfill for missing native semantics. When a suitable native element exists and is supported, prefer it. MDN's ARIA guide is explicit on this point: developers should prefer the correct semantic HTML element over ARIA when one exists. The WAI ARIA Authoring Practices Guide adds the other half — a role is a promise, because ARIA roles do not give an element any keyboard behavior; that work falls to the author.
The five rules of ARIA
The W3C's Using ARIA document (a draft that W3C retired as a Discontinued Draft in February 2026; its rules remain widely cited) set out five rules in its 2018 drafts (Using ARIA, Working Draft, Sep 2018); the version W3C retired in 2026 keeps the first four. They are easier to remember than they look.
| Rule | What it says |
|---|---|
| Rule 1 | If you can, use a native HTML element or attribute with the semantics and behavior you need instead of re-purposing another element with ARIA (the rule notes this may not be possible when the HTML feature is not implemented or lacks accessibility support, cannot be styled as required, or does not exist) |
| Rule 2 | Do not change native semantics unless you really have to |
| Rule 3 | All interactive ARIA controls must be usable with the keyboard |
| Rule 4 | Do not use `role="presentation"` or `aria-hidden="true"` on a focusable element |
| Rule 5 | All interactive elements must have an accessible name |
Rule 1 is the load-bearing rule. Take a checkbox as an example — <input type="checkbox"> is the right answer; <div role="checkbox"> requires reimplementing focus, keyboard handling, label association, and state management in JavaScript, all of which the browser does for free with the native input.
Rule 2 follows from rule 1. <a role="button"> violates rule 2 because the developer has chosen an element with the wrong semantics, then overridden them with ARIA. A real <button> works.
Rule 3 protects users who navigate by keyboard, switch device, or voice control. An ARIA control that responds only to pointer events such as click or tap is unusable for people who do not use a pointer, such as keyboard-only users.
Rule 4 prevents a specific bug: an element marked aria-hidden="true" is removed from the accessibility tree, but if it is also focusable (a button, a link, an input), the keyboard user can still Tab to it. WAI-ARIA 1.2 includes an element in the accessibility tree while it has focus, even when it or an ancestor has aria-hidden="true", but Using ARIA warns that hiding a focusable element this way leaves some users focusing on "nothing". The phantom focus stop is a disorienting failure because nothing visible signals the problem.
Rule 5 is the simplest. Every interactive element must have a name a screen reader can announce. The name can come from an aria-labelledby reference, an aria-label, a <label> associated with a form control, or the element's content — including the alt text of an image inside it. An icon-only button with no name gives screen reader users nothing to identify it by.
Common ARIA misuse patterns
Five patterns come up again and again in production code.
The first is role="button" on a <div> or <a>. The developer reinvents button behavior poorly — handles click but not Enter or Space, ships a missing :focus-visible style, forgets the disabled state, breaks form submission. A real <button> handles every one of these for free.
aria-hidden="true" on a focusable element creates the phantom focus stop described above. The element is hidden from the accessibility tree except while it has focus, and it still receives keyboard focus, so some screen reader users end up focusing on what Using ARIA calls "nothing" and cannot easily tell where they are.
aria-label that contradicts visible text creates a divergent experience between sighted users and screen reader users. The screen reader announces the label, the sighted user sees different text, and clarity is lost. The fix is usually to delete the aria-label — the visible text is already the accessible name.
role="heading" aria-level="2" on a <div> instead of an <h2> adds maintenance cost for zero benefit. Native heading elements are exposed correctly to assistive tech, included in heading navigation, styled by global CSS with no extra ceremony.
Redundant ARIA on landmark elements is a quiet misuse. <main role="main"> and <nav role="navigation"> are redundant — <main> and <nav> always expose those landmark roles. <header role="banner"> and <footer role="contentinfo"> are redundant only when the <header> or <footer> is not inside <article>, <aside>, <main>, <nav>, or <section>, or an element with role article, complementary, main, navigation, or region; there it already exposes banner or contentinfo. Inside those elements a <header> or <footer> is not exposed as a banner or contentinfo landmark, so adding role="banner" or role="contentinfo" changes its role rather than repeating it. ARIA in HTML marks a role that repeats an element's implicit role as unnecessary and not recommended: it makes the markup more verbose, incorrectly signals to other authors that the practice is useful, and can potentially lead to unintended consequences.
ARIA roles and the native HTML map
Many common role= redefinitions have a native equivalent that does the job better.
| Common ARIA role | Native HTML alternative |
|---|---|
| `role="button"` | `` (or `` for navigation) |
| `role="link"` | `` |
| `role="checkbox"` | `` with `` |
| `role="radio"` | `` with `` and a `` group |
| `role="textbox"` | `` or `` |
| `role="dialog"` | `` opened with `showModal()` |
| `role="navigation"` | `` |
| `role="main"` | `` |
| `role="banner"` | `` (when not inside ``, ``, ``, ``, or ``, or an element with role `article`, `complementary`, `main`, `navigation`, or `region`) |
| `role="contentinfo"` | `` (when not inside ``, ``, ``, ``, or ``, or an element with role `article`, `complementary`, `main`, `navigation`, or `region`) |
| `role="region"` | `` with `aria-labelledby` (or just an `aria-label`) |
| `role="heading" aria-level="2"` | `` |
| `role="list"` / `role="listitem"` | `` / `` and `` |
Three patterns have no native HTML equivalent and ARIA is genuinely required: role="tablist" / role="tab" / role="tabpanel", role="grid" / role="row" / role="cell", and role="tree" / role="treeitem". These are the patterns ARIA was designed for. The keyboard contracts are non-trivial — the ARIA Authoring Practices Guide documents the expected behaviors and includes reference implementations.
The <dialog> element deserves a specific note. It has been Baseline Widely available since September 2024 (as of Oct 2026, web-features), and it handles modal focus trap and inert on background content automatically when opened with showModal(). For the modal pattern, <dialog> plus a small CSS pass replaces the entire role="dialog" + custom focus-trap library + aria-modal stack that older codebases shipped.
When ARIA is the right answer
ARIA is the right answer for widgets HTML never gave us. The original purpose of ARIA was to enable rich web applications — multi-select grids, tab interfaces, tree views, menubars — that HTML and browsers did not support natively when ARIA was created. That purpose still applies.
Live regions are another category where ARIA earns its keep. aria-live, role="status", and role="alert" communicate dynamic content updates to assistive technology — a search-results count that updates as filters change, a form validation message that appears after submission, a toast notification from a background process. Apart from the <output> element, which has an implicit status role, these have no native HTML equivalent because the browser does not know which DOM changes are "important to announce."
aria-describedby is the right tool for supplementary descriptions — error messages, help text, character counts, format hints on form fields. The visible text remains in the DOM; aria-describedby tells the screen reader which element provides the additional context. The MDN ARIA reference lists the canonical descriptive attributes.
aria-current indicates the current item in a navigation set, breadcrumb trail, or paginated list. It takes values page, step, location, date, time, true, or false (the default). A breadcrumb's current page should have aria-current="page"; the current step in a wizard should have aria-current="step".
Landmark roles still have a place when native landmark elements cannot be used — for example, if a legacy component cannot be refactored to use <nav>, aria-label="Footer navigation" on the wrapping div with role="navigation" is acceptable. But this is a fallback, not a default.
ARIA attributes that often go wrong
Some ARIA attributes are easy to apply incorrectly. Five are worth specific attention.
aria-label on text content overrides the visible text for screen readers, creating divergent experiences. If a button reads "Save" and has aria-label="Save changes to your profile", the screen reader announces the longer label and the sighted user sees the shorter button. Pick one — either make the visible text accurate enough to stand alone, or use aria-describedby for supplementary context.
aria-describedby pointing to an element that no longer exists in the DOM fails silently. The reference is dropped, the screen reader announces nothing, and the bug is invisible in normal browser testing. Adding a runtime assertion in development that every aria-describedby resolves to a real element catches the regression.
aria-live="assertive" overused for non-urgent updates becomes hostile. An assertive announcement is meant to be presented immediately, which can interrupt whatever the user is currently reading. polite queues until the current utterance finishes, which is the right default for almost every dynamic update. Reserve assertive for genuine alerts.
role="presentation" on a <table> element — common in legacy email-style layout tables — strips the table semantics from the accessibility tree but does not propagate to interactive children. If the table itself is focusable or carries a global ARIA state or property, such as aria-label, browsers ignore the presentation role and expose the table with its implicit role. The result is interactive elements (a button inside a td) that have no programmatic context. If the table is for layout, replace it with grid or flexbox; if it is for data, use real table semantics.
aria-expanded on the wrong element is the disclosure-pattern bug. The attribute belongs on the trigger (the button that opens the panel), not on the panel that expands. Putting it on the panel makes the screen reader announce "expanded" or "collapsed" on the wrong element, and toggle controls behave incorrectly.
How to remove ARIA without breaking your site
Removing accumulated ARIA is a multi-step process, not a refactor in a single sweep.
Start with an inventory. Run axe DevTools or a custom Playwright script that grep's for role= and aria-* attributes across every template. Categorize each instance into one of three buckets: necessary (a custom widget without an HTML equivalent), redundant (covered by native semantics already), or harmful (overrides correct semantics).
When ARIA sits on a non-semantic element (such as <div role="button">), replace the element and remove the ARIA in the same commit, never in a separate refactor. Regressions are easy when paired changes slip — the ARIA gets removed in one commit, the native element still has not been promoted in another, and for a release window the page has neither.
Test each replacement with a screen reader. NVDA on Windows or VoiceOver on macOS through the affected component's primary flow catches what automated tools miss. The bug to look for is not the absence of an announcement — it is an announcement that is now wrong because removing ARIA exposed an underlying markup issue the ARIA was masking.
Add a CI check that flags new ARIA usage for code review. A simple eslint-plugin-jsx-a11y configuration plus a custom rule that requires a comment explaining each ARIA addition keeps the cleanup from being undone by the next sprint. Without such a gate, re-introduction is hard to prevent — ARIA gets added speculatively in PRs by authors trying to be helpful, and if the review process treats it as net-positive by default, the inventory grows back.
Remediation priorities for your ARIA usage
ARIA cleanup is high-leverage work. Long-lived codebases often carry years of accumulated misuse, and removing it tends to make the screen reader experience clearer.
- Run an inventory: every
role=attribute and everyaria-*attribute in the codebase, with the file and line - Categorize each instance: necessary, redundant, or harmful
- Replace landmark ARIA on generic elements (
<div role="main">,<div role="navigation">, etc.) with the native elements (<main>,<nav>), and remove landmark roles that only repeat a native element's implicit role - Replace
<div role="button">and<a role="button">with real<button>elements; verify the keyboard contract - Audit
aria-hiddenandaria-labelfor the patterns that often go wrong:aria-hiddenon focusable elements,aria-labelcontradicting visible text - Replace custom modal patterns (
role="dialog"+ focus trap library) with<dialog>+showModal()where the codebase supports it - Add CI rules that flag new ARIA usage for review
The native-HTML-first conversion plus a CI gate covers what audits flag and what comes back later.