Skip to content

Text spacing rule should not fail empty elements #4232

Open
@WilcoFiers

Description

@WilcoFiers

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions