-
Notifications
You must be signed in to change notification settings - Fork 165
[form-single-select] Invalid example foucs and safari browser issue fixes #3902
Conversation
--terra-form-select-single-select-invalid-focus-border-color: #004c76; | ||
--terra-form-select-single-select-invalid-focus-box-shadow: 0 0 1px 3px #004c76, 0 0 7px 4px #004c76; |
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.
Were inputs from UX taken regarding these. On focus the red color disappears which does not seem correct
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.
These styles has been removed and added outline around the red colour border when it gets focussed. So that we can see the red colour border as usual with outline.
@@ -37,6 +37,8 @@ | |||
--terra-form-select-invalid-focus-background-size: 0 0; | |||
--terra-form-select-invalid-focus-border-color: #fb4c4c; | |||
--terra-form-select-invalid-focus-box-shadow: 0 0 0 1px #fb4c4c, 0 0 0 1px #fb4c4c; | |||
--terra-form-select-single-select-invalid-focus-border-color: #004c76; |
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.
style values are missing for orion-fusion-theme
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.
Above styles has been removed and added outline around the red colour border. Since there is no red colour border for invalid example in fusion theme, outline is not required so i have removed outline for fusion theme.
Summary
Invalid example focus issue - Previously, under 'Invalid' group 'Select a colour' combo box, Focus is not visible on Select a colour combo box. As a result Accessibility user unable to identify the focus. - It has fixed now.
Safari browser issue - Previously, In Safari browser when we bring focus on combobox and expand, and Press 'Escape' key to close combobox menu, browser is getting minimised - It has fixed now.
What was changed:
Added focus to the Invalid example.
Safari browser minimising issue has fixed.
Why it was changed:
Invalid example focus issue - As a result Accessibility user unable to identify the focus.
Safari browser issue - When we expand the combobox and press escape key browser shouldn't get minimised.
Testing
This change was tested using:
Reviews
In addition to engineering reviews, this PR needs:
Additional Details
This PR resolves:
UXPLATFORM-9570, 9572
Thank you for contributing to Terra.
@cerner/terra