-
Notifications
You must be signed in to change notification settings - Fork 92
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
Accessibility: make sure, that the focus of all interactive elements is consistent #2824
Comments
@nextcloud/designers Please, can you suggest a color for the focus? So that the focus color can be defined as a variable in nextcloud core css? I have seen more use of outline: 2px solid var(--color-main-text) !important; Example : #2899
|
@fenn-cs so Airbnb for example uses black+white so it works on any background, any theme, even images: |
@marcoambrosini at least this is what I also remember you suggested? cc @nextcloud/designers too. |
@jancborchardt I think it's possible we just need a consensus so that we can enforce this going forward to ensure the needed consistency. |
I would also say that using --color-primary-element as border-line looks much better. WDYT @jancborchardt @nimishavijay |
The problem with |
I think we now adjust the color if it should be too bright or dark: nextcloud/server#38159 |
This is an accessibility issue.
Some elements on the page have not the same focus styles. There are some examples:
Try to make sure, that all interactive elements have the same focus on a NC Vue level. It is important, that this styles have enough contrast + width.
The text was updated successfully, but these errors were encountered: