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

Text spacing rule should not fail empty elements #4232

Open
WilcoFiers opened this issue Nov 2, 2023 · 0 comments
Open

Text spacing rule should not fail empty elements #4232

WilcoFiers opened this issue Nov 2, 2023 · 0 comments
Labels
Milestone

Comments

@WilcoFiers
Copy link
Contributor

A recent update to ACT added test cases to the spacing not important rules where there is no text effected by the spacing. Axe-core should not fail such examples:

<div style="letter-spacing: 0.1em !important;"></div>
<div style="letter-spacing: 0.1em !important">
	<p style="letter-spacing: 0.2em !important;">
		The toy brought back fond memories of being lost in the rain forest.
	</p>
</div>

See: https://www.w3.org/WAI/standards-guidelines/act/rules/24afc2/proposed/

@WilcoFiers WilcoFiers added this to the Axe-core 4.9 milestone Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant