Skip to content

[Button] Enhancement - Add disabled state guidance for Buttons #4696

@alina-jacob

Description

@alina-jacob

Acceptance criteria

The button has a disabled state which doesn't receive any interaction or focus states, is not read by screen readers and also doesn't qualify the 3:1 color contrast; as intended. Having said that, its important to inform the end user on why the button is disabled and other relevant information associated with it.

This can be solved using any of the following

  • A helper text ($label-01 or $helper-text-01) below the button explaining why its disabled.
  • A Popover next to the button (best option).
  • A Callout or Inline Notification below the button.

Discuss more options (if any) and add it to the Usage guidance in the Button page.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    🕵️‍♀️ Triage

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions