Test Suite — VA-025
Landmark Boundary Filter
Tests that vesper-duplicate-link-text only fires when both links are in the same landmark region. Cross-landmark pairs with identical accessible names must not be flagged. All links are fully visible.
VA025-lm-01 — nav vs footer (cross-landmark)
PASS — no duplicate-link-text. Identical text "Quick access" in nav and footer are in different landmark regions and must not be compared.
VA025-lm-02 — nav vs main (cross-landmark)
PASS — no duplicate-link-text. Same text "Browse the collection" split across nav and main.
VA025-lm-03 — nav vs aside (cross-landmark)
PASS — no duplicate-link-text. Same text "Contact us" split across nav and complementary aside region.
VA025-lm-04 — Two links in same nav
FAIL — vesper-duplicate-link-text. Both "Visit section" links are inside the same nav landmark and point to different destinations.
VA025-lm-05 — Two links in same main
FAIL — vesper-duplicate-link-text. Both "Read more" links are inside the same main landmark and point to different destinations.
VA025-lm-06 — Two links in same footer
FAIL — vesper-duplicate-link-text. Both "Get involved" links are inside the same footer (contentinfo) landmark.
VA025-lm-07 — Named nav vs named breadcrumb nav (cross-landmark)
PASS — no duplicate-link-text. Two separate nav elements with distinct aria-labels are treated as separate landmark instances. "Home" in each must not be compared cross-landmark.
VA025-lm-08 — Nested landmark: nav inside header
FAIL — vesper-duplicate-link-text fires for the two links inside the inner nav (same landmark). The outer header link is in a separate landmark and must not join the comparison.
Expected: 1 violation fires for the 2 inner-nav "Support" links. The outer header "Support" link is in a different (banner) landmark and is not included.