The history of disabled: how Apple invented the rules and what best practices look like today 🔘
← Go back

The history of disabled: how Apple invented the rules and what best practices look like today 🔘

Where the HTML disabled attribute behavior originated in Apple Lisa interfaces, why it hurts accessibility, and why modern design systems are moving to aria-disabled.

The history of disabled: how Apple invented the rules and what best practices look like today 🔘

The familiar behavior of the HTML disabled attribute—a button turns gray, ignores clicks, and gets skipped during Tab navigation—feels like a fundamental law of the web. In reality, that rule was never invented for buttons, and over 45 years it has come full circle.

The hipuku blog published a great historical deep dive into where disabled came from and why modern design systems are increasingly moving away from it.

Where it all started: Apple Lisa and menus

  • 1980 (first draft): An early interface standard for the Apple Lisa computer (signed by Bill Atkinson) included a section on menu items that do nothing. When a command did not apply (for example, Cut with no text selected), it was dimmed, but the user could still click it—it simply had no effect.
  • 1983–1985 (Lisa and Mac releases): By the time the computers shipped, the rule had been rewritten into a strict constraint: if an item is dimmed, it cannot be selected. In the Inside Macintosh guidelines, that exact behavior was carried over from the top menu bar to dialog box buttons (OK / Cancel).
  • 1997 (HTML 4): The specification brought the exact same model to web forms: disabled blocks clicks, removes the element from the tab order, and excludes its value from form submission.

What is the problem today?

The author compared 8 popular design systems (Material 3, Carbon, Polaris, Primer, Atlassian, React Aria, GOV.UK, and shadcn/ui) and highlighted the main pain points:

  • Broken contrast: WCAG exempts disabled controls from contrast requirements, so their text contrast often drops to 1.36:1 – 3.35:1 (well below the standard 4.5:1).
  • A blind spot for keyboards and tooltips: In a menu, the reason an action is unavailable is immediately obvious (no text is selected right behind the open menu). In a long form, a user might have no idea why the “Submit” button is disabled, and you simply cannot attach a keyboard-accessible explanatory tooltip to a native <button disabled>.

What is the modern approach?

The industry is moving in two directions:

  1. Don’t disable buttons at all. Guidelines from GOV.UK, Atlassian, and GitHub Primer explicitly advise against using disabled in forms—it is better to keep the button active and show a clear validation error when clicked.
  2. Use an “accessible” disabled state via aria-disabled="true". The button remains focusable via Tab and receives clicks, while JavaScript prevents the action from firing. Screen readers can still discover it, and hovering or clicking can reveal a helpful tooltip. Material 3 (softDisabled state) and GitHub Primer (inactive for service outages) have already adopted this pattern.

In essence, web standards have circled back to Apple’s original 1980 idea: an inactive element should remain interactive enough to explain to the user what is going on.

👉 Read the full article (opens in new tab)

How do you handle this in your projects: do you lock submit buttons with disabled until the form is filled out, or keep them clickable and highlight validation errors on click? 👇

Copied