Skip to content

Z122: JUMP_LINK_DETECTED

  • Severity: Error


    Penalty: 0.0 points | Category: general

  • Remediation & Opt-In


    Auto-Fixable: No | Opt-In: No


Rationale

Emitted when an HTML <a> tag uses href="#", indicating a placeholder or unrouted jump anchor link.


How to Fix

Replace href="#" with a specific fragment destination or target page URL.

  • Failing Pattern (Triggers Z122)


    docs/example.md
    <a href="#">Top</a>
    
  • Passing Pattern (Resolves Z122)


    docs/example.md
    <a href="#section-heading">Section Heading</a>
    

Reference

See the Finding Codes Index for finding code details.