Menu item disabled accessible #2693
andredewaard
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i'm trying to implement some functionality with the Menu component but sometimes a function is 'disabled'. Right now when a button is disabled HeadlessUI will not make it focusable. But accessible wise it would be better if it is focusable but it will describe why you cant interact with it. Im thinking about showing a tooltip on hover/focus or a dialog on click/enter to why this button is disabled.
Or is there a better way of doing this?
if i just disable the button some user may never find this functionality because its would not be focusable when they dont do certain actions before.
Beta Was this translation helpful? Give feedback.
All reactions