# Why aria-disabled does not make a link inert

Canonical: https://githtml.com/guides/aria-disabled-does-not-disable-links
Published: 2026-11-23
Publisher: WaveTech LLC / gitHtml

Aria-disabled communicates an unavailable state but does not automatically prevent an element's behavior. A link can still navigate unless its implementation changes. In a static reading document, use explanatory non-link text for an unavailable destination or provide a real working alternative rather than presenting a control that only looks disabled.

## Understand the access barrier

A gray link with aria-disabled=true can still be activated by a reader. That mismatch is confusing because the visual and programmatic state promise unavailability while the browser retains the href behavior.

## Use a deliberate document pattern

Explain why the destination is unavailable and when it can be used. If the document contains an interactive application, handling disabled behavior requires deliberate input handling; a static export should avoid carrying incomplete widget logic.

1. Distinguish a communicated disabled state from behavior that is actually prevented.
2. Use plain text for unavailable links in a reading-only artifact.
3. Provide a useful explanation or alternative rather than a silent dead control.

````html
<p>Detailed results are not included in this reading copy. Contact the report owner for authorized access.</p>
````

## Check the actual reading experience

Check pointer and keyboard activation separately. A CSS pointer-events rule alone does not establish that all interaction paths are disabled.

## Choose an honest unavailable state

Suppose a report contains a Download raw data link, but the exported reading copy cannot provide the protected dataset. Gray text and aria-disabled=true do not remove the href or prevent keyboard activation. A reader may still leave the document and encounter an authorization failure. A clearer static presentation is ordinary text stating that raw data is excluded, who may request it, and the approved access route if one exists.

If the destination is temporarily unavailable in a real application, keeping a disabled control discoverable can sometimes help people understand the available workflow. That choice requires complete behavior: pointer activation, keyboard activation, and any scripted activation path must all respect the state. It also needs an explanation that is available without hovering. A CSS rule that blocks pointer events addresses only one input path, while a low-opacity style communicates no reliable programmatic state by itself.

Do not replace the destination with href="#" as a pretend disabled link. That can move the reading position and still present a link that appears actionable. Likewise, the native disabled attribute does not turn an anchor into a disabled form control. Choose the element based on what the reader can actually do. If access depends on being online or signing in elsewhere, state that condition directly instead of calling the destination permanently disabled. Check the result in a keyboard-only pass and a screen-reader pass, then confirm the visible explanation remains understandable when styles are removed or the document is copied.

## Sources and further reading

- [MDN: aria-disabled](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-disabled)

## Related guides

- [Remove focusable links from aria-hidden regions](https://githtml.com/guides/aria-hidden-focusable-links-report)
- [Add a useful transcript beside an audio recording](https://githtml.com/guides/audio-transcript-html-reading-copy)
- [Isolate mixed-direction names in HTML report sentences](https://githtml.com/guides/bdi-isolate-user-names-report)
- [Keep caption tracks attached to HTML video examples](https://githtml.com/guides/caption-track-missing-html-video)

Editorial approach: https://githtml.com/guides/about
