Skip to content

[aria-disabled="true"]

The aria-disabled="true" attribute communicates to assistive technologies that an element is disabled, but it does not change whether the element is focusable or in the tab order.

Unlike the native disabled attribute, aria-disabled does not disable the element in the browser. If the element is already focusable — or you keep it focusable with tabindex — it can still be reached so screen readers can discover and announce it as disabled. Use it when you want to preserve keyboard navigability while visually and interactively disabling an element — for example, in wizards or pagination where a step isn't available yet but should be announced.

Note: aria-disabled does not prevent keyboard activation (Enter/Space). You must handle that with JavaScript. It also does not remove an element from the tab order; if you need that behavior, manage focusability separately, for example with tabindex="-1" where appropriate.

Basic Usage

live preview
editable html
<div>
  <button aria-disabled="true">
    Disabled button
  </button>
  
  <hr>
  
  <button tabindex="-1" aria-disabled="true">
    unfocusable button
  </button>
  
  <hr>
  
  <a aria-disabled="true">
    Disabled link
  </a>
</div>

aria-disabled vs disabled

disabledaria-disabled="true"
Prevents mouse interaction
Prevents keyboard activation❌ (needs JS)
Removed from tab order
Announced as disabled by screen readers
Excluded from form submission

Use disabled for most cases. Prefer aria-disabled when the element must remain focusable and discoverable by keyboard and assistive technology users, like in the case of pagination or a wizard.