-
Notifications
You must be signed in to change notification settings - Fork 150
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
Visual helper for text spacing fails to change the spacing for text in input fields and buttons #4800
Comments
This issue has been marked as ready for team triage; we will triage it in our weekly review and update the issue. Thank you for contributing to Accessibility Insights! |
I was able to reproduce this. |
triaged with Peter, needs investigation to understand how to fix this issue |
This issue requires additional investigation by the Accessibility Insights team. When the issue is ready to be triaged again, we will update the issue with the investigation result and add "status: ready for triage". Thank you for contributing to Accessibility Insights! |
This issue requires additional investigation by the Accessibility Insights team. When the issue is ready to be triaged again, we will update the issue with the investigation result and add "status: ready for triage". Thank you for contributing to Accessibility Insights! |
You could you the same method as the JS bookmarklet that was reference in #6553 which does work that was closed as a duplicate of this. |
I've also seen this have trouble changing headings when testing against libraries using css-in-js or elements that have classes attached that define the line-height, letter-spacing, and word-spacing properties. It would be possible to change everything by leveraging the current injected class and targeting all elements:
|
Visual helper for text spacing fails to change the spacing for text in input fields and buttons
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The spacing of the text in the input field and on the button does change.
Screenshots
Before:
After:
Context (please complete the following information)
Are you willing to submit a PR?
Did you search for similar existing issues?
Yes
Additional context
This bug is caused because the tool attempts to use inheritance to change text spacing. This however is very weak and easily overridden. A colleague of mine created an html code snippet which pins down the underlying problem:
The text was updated successfully, but these errors were encountered: