-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UX][A11Y] Visually indicate a View Display is disabled #4293
Comments
Good catch and it's a minimal change. |
My only concern is that people may not realise they can click on the disabled view display to re-enable it... |
We also need to check that contrast for accessibility. We might want to do a ghost button instead. |
How about indicating disabled displays by making the "This display is disabled" text a warning at the top of the page, instead of using opacity? That way, we don't have to worry about readability. Then we could be appending Something like this for example?: ...and I think that we should also be indicating disabled displays in the main views listing page: |
Not sure but an Interesting idea! If we choose this approach, I'd prefer a blue info message instead of a warning to not confuse it with the "All changes are stored temporarily" warning which appears as soon as you start to configure a view. In any case, for a disabled display it should be sufficient to just inform about the state. |
Yup, it indeed feels better with the message being of type |
Thanks for updating the PR, @klonos. As we have two PRs now, I've added the I've also tested @klonos' PR in the sandbox site. It works fine but when I saved a view, the info message was rendered twice. Speaking of the info message, I'd prefer to not show the info at the top but below the warning message, so that the info is placed directly above the Displays heading when there are other messages. Screenshot mockup: strike-through for name of disabled display |
I'm neither hot nor cold re this; let's wait for some more feedback before I update the PR.
Ah yes, this does happen sometimes. Usually the solution is to add a "blank"
Hmm 🤔 I don't think that you can control the order of messages thrown by ...and here's a screenshot from the updated PR (with the "dirty form" message): |
Is the duplicated messages related to #4247? Maybe it's a broader issue... |
Yes @BWPanda, it is. I've missed that issue, so thanks for pointing it out 👍 |
I like this (and agree we might as well fix the grey-out accessibility issue right in this issue). The info message is great, and adding "(disabled)" to the display name works for me. I don't have a strong opinion on whether to also add a lineout to the name. |
Seems like this issue has stalled back in early 2020. Changes have been requested, but never got addressed. Additionally, this PR contains loads of completely unrelated changes. Time to remove the milestone. |
The main content of the view display gets greyed out if it is disabled, but the main link to the display does not. I think it makes sense to carry that through to the display links at the top like this:
PR: backdrop/backdrop#3049Alt PR: backdrop/backdrop#3058
The text was updated successfully, but these errors were encountered: