Skip to content

Button disabling vs hiding #3127

Answered by SiTaggart
mma1504 asked this question in General
Mar 28, 2023 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @mma1504 great question!

is the desired and most accessible design, then, to leave the buttons clickable, and throw an error that they don't have the right permissions?

The short answer is, yes, this is what we'd recommend.

A better solution might be to explicitly call out access limitations on the page before you start interacting with it. Just because a button is disabled, doesn't mean you won't waste a bunch of time doing something on the page you can't do or save. It's much better to place a callout or alert on the page telling the user up front that they can't do something on the page and give them ways to either unblock, or guide them to a resolution, and not hide that from them.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@mma1504
Comment options

mma1504 Mar 29, 2023
Collaborator Author

Answer selected by nkrantz
Comment options

You must be logged in to vote
1 reply
@SiTaggart
Comment options

Comment options

You must be logged in to vote
1 reply
@SiTaggart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants