-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Styled input checkbox focus state is not visible on Ubuntu/Firefox #14354
Comments
Also happens on Firefox ESR 102.9 on macOS with 4.0.0b1. |
I just noticed that focus is visible on checkboxes within dialogs: This is thanks to: jupyterlab/packages/apputils/style/dialog.css Lines 125 to 128 in b251211
I think that we should harmonise the styles so that it applies to all checkboxes with Labelling as a good first issue, if someone wants to work on this please submit a (draft) pull request. |
Hello! This is my first time taking a swing at open source contributions and would love some feedback if possible! |
Thanks @alden-ilao for working on this. @krassowski (thanks for the review), did #15612 fix this fully? |
Yes, thanks for catching this! |
Description
For checkboxes with
jp-mod-styled
class the focus state is not visible. This might be Operating System specific.Reproduce
On Ubuntu/Firefox
The one on right is focused.
The styles are defined here:
jupyterlab/packages/ui-components/style/styling.css
Lines 45 to 48 in 89154f5
but it has no effect on styles for me in Firefox on Ubuntu.
Manually adding
outline: 3px solid red;
toinput.jp-mod-styled:focus
shows an indication properly:Of note, the styles are effective on Ubuntu/Chromium but the indicator is rather faint:
Expected behavior
Some kind of indicator is visible for checkboxes across browsers
Context
The text was updated successfully, but these errors were encountered: