Skip to content
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

fix(styles): screenreaders attempting to read icons from content [ci visual] #4518

Merged
merged 2 commits into from May 12, 2023

Conversation

mikerodonnell89
Copy link
Member

part of SAP/fundamental-ngx#9556

Screenreaders try to read the "content" property of CSS pseudoelements, so we are seeing this type of thing on checkboxes and icons:

Screenshot 2023-05-10 at 12 51 59 PM

This PR provides an alternate (empty) value so that the content property is not read.

@mikerodonnell89 mikerodonnell89 added the Bug Something isn't working label May 10, 2023
@mikerodonnell89 mikerodonnell89 added this to the Sprint 112 milestone May 10, 2023
@mikerodonnell89 mikerodonnell89 requested a review from a team May 10, 2023 18:53
@mikerodonnell89 mikerodonnell89 self-assigned this May 10, 2023
@netlify
Copy link

netlify bot commented May 10, 2023

Deploy Preview for fundamental-styles ready!

Name Link
🔨 Latest commit 2c41ad9
🔍 Latest deploy log https://app.netlify.com/sites/fundamental-styles/deploys/645bf2ddccc6c80008e56fda
😎 Deploy Preview https://deploy-preview-4518--fundamental-styles.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@N1XUS
Copy link
Contributor

N1XUS commented May 10, 2023

@mikerodonnell89 please fix commit message

@InnaAtanasova
Copy link
Contributor

@mikerodonnell89 can you enable the visual tests? We need to check if this broke something in the other components.

@mikerodonnell89 mikerodonnell89 changed the title fix(styles): screenreaders attempting to read icons from content fix(styles): screenreaders attempting to read icons from content [ci visual] May 10, 2023
@mikerodonnell89
Copy link
Member Author

@mikerodonnell89 please fix commit message

@N1XUS i think this was a CI hiccup

@mikerodonnell89
Copy link
Member Author

@mikerodonnell89 can you enable the visual tests? We need to check if this broke something in the other components.

@InnaAtanasova done

@mikerodonnell89 mikerodonnell89 merged commit 14de174 into main May 12, 2023
13 checks passed
@mikerodonnell89 mikerodonnell89 deleted the fix/checkbox-pseudoelement branch May 12, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Development
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

3 participants