dequelabs / dequelabs/axe-core
Text spacing rule should not fail empty elements
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 29
Description
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:
```html
```
```html
The toy brought back fond memories of being lost in the rain forest.
```
See: https://www.w3.org/WAI/standards-guidelines/act/rules/24afc2/proposed/
Contributor guide
Research direction
Start with the ACT spacing rule linked in the issue and reproduce both supplied HTML examples in axe-core. Locate the corresponding rule entry point and tests, then verify that empty elements and elements whose text is nested under a differently spaced parent no longer fail while affected text still receives the intended check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- accessibility
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100