You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improvement: Add tooltips explaining why a disabled control is disabled #1949
Disabled buttons / fields / controls give no reason for being disabled.
Current behavior
Tooltip primitives exist (packages/ui/src/components/overlays/tooltip.tsx, app wrapper services/platform/app/components/ui/overlays/tooltip.tsx) but are not systematically attached to disabled controls. Note: disabled elements don't emit pointer events, so the tooltip trigger needs a wrapper span / pointer-events handling.
Proposed change
Add a shared disabledReason (tooltip) affordance to the shared Button, IconButton, and form-field primitives that, when disabled, wraps the control so a tooltip + aria-describedby explains why.
Apply it to all controls that have a disabled state.
Acceptance criteria
Every disabled button/field/control surfaces a reason on hover/focus.
Works for keyboard users (accessible name/description).
Activity
fix(ui): add disabledReason tooltip explaining why a control is disab…
fix(ui): add disabledReason tooltip to form fields and adopt on wizard (
fix(ui): set readOnly on soft-disabled slider to silence React warning (
fix(ui): default soft-disabled buttons to type=button and gate aria-d…
fix(ui): fall back to native disable for empty disabledReason (#1949)
fix(ui): add disabledReason tooltip explaining why a control is disab…