Adds transparent borders to File Upload and Remove File buttons
Adds stroke to X on high contrast mode only in hover/ focus states
Also reverts checkbox tick from mask image back to background image so that it can be seen on Windows High Contrast Mode
Code changes
File Uploader
Before
After - buttons have outlines
Contrast stroke on cross in hover state (using HIGH_CONTRAST media query)
Bug Fix - Checkbox
Before - This checkbox is ticked. The masked image tick is not visible at all
After - Reverted changes made in https://github.com/bbc/simorgh/pull/11663 so that the tick shows on Windows High Contrast Mode. (I think when we tested this we only did it on Firefox high contrast mode and not Edge/ Windows High Contrast Mode). The tick is black so it's hard to see but at least it is visible.
Testing
Visit Storybook link on Windows High Contrast mode. (Also see screengrabs above)
Check the X should be distinguishable.
Check the Upload button should be distinguishable as a button.
Resolves JIRA https://jira.dev.bbc.co.uk/browse/WSTEAM1-1084
Overall changes
Adds transparent borders to File Upload and Remove File buttons Adds stroke to X on high contrast mode only in hover/ focus states Also reverts checkbox tick from mask image back to background image so that it can be seen on Windows High Contrast Mode
Code changes
File Uploader
Before
After - buttons have outlines
Contrast stroke on cross in hover state (using HIGH_CONTRAST media query)
Bug Fix - Checkbox
Before - This checkbox is ticked. The masked image tick is not visible at all
After - Reverted changes made in https://github.com/bbc/simorgh/pull/11663 so that the tick shows on Windows High Contrast Mode. (I think when we tested this we only did it on Firefox high contrast mode and not Edge/ Windows High Contrast Mode). The tick is black so it's hard to see but at least it is visible.
Testing
Visit Storybook link on Windows High Contrast mode. (Also see screengrabs above)
Check the X should be distinguishable.
Check the Upload button should be distinguishable as a button.
Visit Storybook link without high contrast mode
Check that when you hover over the X button a stroke does not appear.
Helpful Links
Add Links to useful resources related to this PR if applicable.
Coding Standards
Repository use guidelines