The first rule of ARIA: use native HTML instead

Published 27 October 2026

In short: ARIA exists to repair semantics that native elements do not already provide. W3C's first rule of ARIA use: if you can use a native HTML element with the semantics and behavior you need, do that instead of repurposing another element with a role. Misused ARIA routinely makes pages less accessible than no ARIA at all.

What is the first rule of ARIA?

From W3C's "Using ARIA" guide: if you can use a native HTML element or attribute with the semantics and behavior you require already built in, then do so. A <button> gives you focusability, keyboard activation (Enter and Space), and the right role announcement for free. A <div role="button"> gives you none of those - you must rebuild them all by hand, and most implementations miss at least one.

What are the most common ARIA mistakes?

  • Role without behavior: role="button" on a div that cannot be tabbed to or activated from the keyboard.
  • Redundant roles: <button role="button"> adds nothing and signals cargo-cult markup.
  • aria-hidden on focusable content: hiding an element from assistive technology while it can still receive keyboard focus - a guaranteed trap.
  • Overriding native semantics: <h2 role="tab"> breaks the heading structure screen-reader users navigate by.
  • Live regions everywhere: aria-live on too many regions produces a stream of announcements nobody can follow.

When is ARIA the right tool?

For genuinely custom widgets that have no native equivalent - tabs, comboboxes, tree views, dialogs with specific behaviors - following the ARIA Authoring Practices patterns. Even then, the rule is to start from the closest native element and add only what is missing.

What is the Android equivalent?

Same principle, different toolkit. Android's native widgets (Button, CheckBox, Switch) ship with correct semantics: role, state announcements and focus handling. The accessibility problems appear in custom Views and heavily styled Compose components where you draw your own control - there you must supply contentDescription, state descriptions, and click/long-click semantics yourself, and test with TalkBack (our 15-minute script covers the pass). Reaching for a native component first is the Android version of the first rule of ARIA.

How do I audit what I have?

On the web, search your markup for role= and aria- attributes and justify each one; our free web scan also flags some ARIA misuse via axe-core rules on one page at a time. On Android, run the layout through Accessibility Scanner and then navigate the screen with TalkBack - the second step is where role mistakes actually surface.

From the same small team: Memory Quest, a free memory-training game for Android, on Google Play.

Sources