-
Notifications
You must be signed in to change notification settings - Fork 83
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
feat: add readonly property to checkbox and checkbox-group #7199
Conversation
1f64d90
to
8941cdd
Compare
8941cdd
to
79464bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Checked box bg color (see line comment)
- Optional border set with
--vaadin-input-field-border-width
should be suppressed in readonly (otherwise there'll be two borders on top of each other) - Unchecked label text color should deafult to
--lumo-secondary-text-color
Otherwise looks good!
Done.
Done. |
86064ca
to
5741c7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Co-authored-by: Sascha Ißbrücker <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for 24.4
to be branched out and main
updated to 24.5
before merging.
Quality Gate passedIssues Measures |
UPD: as agreed internally, this change is OK to include to |
This ticket/PR has been released with Vaadin 24.4.0. |
Description
Fixes #688
Type of change
Note
According to HTML test cases and my tests,
aria-readonly
isn't supported by VoiceOver (NVDA and JAWS work).