dequelabs / dequelabs/axe-core
landmark-complementary-is-top-level docs' failing example doesn't fail
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 29
Description
### Product
axe-core
### Description
The [`landmark-complementary-is-top-level` doc page](https://dequeuniversity.com/rules/axe/4.11/landmark-complementary-is-top-level) includes this failing example:
> The following example FAILS the Complementary landmarks are at the top level rule:
>
> ```html
>
>
Some text
>
An aside
>
> ```
However, that example doesn't actually fail the rule - we started passing it when #2651 was fixed. We should replace the example with something that actually fails the rule.
### Context
See also #4950
Contributor guide
Research direction
Open the linked landmark-complementary-is-top-level documentation page and review the failing example in the issue, then check the rule behavior after the fix in #2651. Replace the example with one that actually fails the rule, and verify the documentation no longer presents a passing example as a failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- accessibility, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100