Skip to content

landmark-complementary-is-top-level docs' failing example doesn't fail #4949

@dbjorge

Description

@dbjorge

Product

axe-core

Description

The landmark-complementary-is-top-level doc page includes this failing example:

The following example FAILS the Complementary landmarks are at the top level rule:

<main>
  <p>Some text</p>
  <aside><p>An aside</p></aside>
</main>

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions