Skip to content

Z108: EMPTY_LINK_TEXT

  • Severity: Error


    Penalty: 0.0 points | Category: general

  • Remediation & Opt-In


    Auto-Fixable: No | Opt-In: No


Rationale

This rule is emitted when an inline link tag [...] contains empty brackets or whitespace-only text.

Links without accessible text labels violate web accessibility standards (WCAG 2.1) and screen readers cannot describe the link destination to visually impaired users.


How to Fix

Inspect the flagged location in the Markdown file and update the content or configuration:

  • Failing Pattern (Triggers Z108)


    docs/example.md
    <!-- BAD: Empty or whitespace-only link label -->
    [](https://zenzic.dev/docs)
    
  • Passing Pattern (Resolves Z108)


    docs/example.md
    <!-- GOOD: Accessible descriptive link text -->
    [Zenzic Documentation Catalog](https://zenzic.dev/docs)
    

Configuration

# Automatically fix empty link text across workspace
zenzic fix --only Z108

Reference

See the Finding Codes Index for finding code details.