[APP-1741][APP-1742][APP-1743] add components, calc contrast ratio, a…#346
Merged
[APP-1741][APP-1742][APP-1743] add components, calc contrast ratio, a…#346
Conversation
…dd logic for lightness
…-set.js Co-authored-by: gitstream-cm[bot] <111687743+gitstream-cm[bot]@users.noreply.github.com>
pkniazevych
reviewed
Jul 22, 2025
| sx={{ width: '150px' }} | ||
| onChange={onChangeColor} | ||
| /> | ||
| <SunIcon /> |
pkniazevych
reviewed
Jul 22, 2025
| }} | ||
| /> | ||
| <StyledColorDisplay sx={{ background: color }} /> | ||
| <IconButton onClick={resetColor} size="tiny"> |
Contributor
There was a problem hiding this comment.
Please add an aria-label
pkniazevych
reviewed
Jul 22, 2025
| {title} | ||
| </Typography> | ||
| <StyledColorSet> | ||
| <SunOffIcon /> |
pkniazevych
reviewed
Jul 22, 2025
| </Typography> | ||
| <StyledColorSet> | ||
| <SunOffIcon /> | ||
| <Slider |
Contributor
There was a problem hiding this comment.
It should have a label, bc a screen reader only announces a value with no other context.
pkniazevych
reviewed
Jul 22, 2025
|
|
||
| return ( | ||
| <Box> | ||
| <Typography variant="body2" as="h5"> |
Contributor
There was a problem hiding this comment.
I'm not sure it can be considered as a title. To me as="p" seems more appropriate.
Ideally, it should be a , but I don't see any form elements inside the slider component
pkniazevych
reviewed
Jul 22, 2025
| return ( | ||
| <StyledBox> | ||
| <Divider /> | ||
| <Typography variant="body2" as="h4"> |
Contributor
There was a problem hiding this comment.
I'm not sure it can be considered as a title. To me as="p" seems more appropriate.
…-set.js Co-authored-by: gitstream-cm[bot] <111687743+gitstream-cm[bot]@users.noreply.github.com>
…-set.js Co-authored-by: gitstream-cm[bot] <111687743+gitstream-cm[bot]@users.noreply.github.com>
Co-authored-by: gitstream-cm[bot] <111687743+gitstream-cm[bot]@users.noreply.github.com>
Co-authored-by: gitstream-cm[bot] <111687743+gitstream-cm[bot]@users.noreply.github.com>
pkniazevych
approved these changes
Jul 25, 2025
Contributor
There was a problem hiding this comment.
✨ PR Review
LGTM
Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using. We'd love your feedback! 🚀
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…dd logic for lightness
✨ PR Description
Purpose: Add color contrast components for accessibility assessment and implement color adjustment functionality in the accessibility scanner.
Main changes:
Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using. We'd love your feedback! 🚀