Skip to content
check-images logo

Check Images

check-images

Analyze and validate images on web pages. Use when users ask to check image alt tags, verify image accessibility, find missing alt attributes, audit image SEO, or check image optimization. Detects missing alt, empty alt, decorative images without proper markup, oversized images, and missing dimen...

SKILL.md

Full skill instructions

Check Images

Analyze and validate images on web pages for accessibility and SEO compliance.

Quick Start

cd /​path/​to/​html-checker/​scripts
bun src/​check-images.ts <URL>

CLI Options

OptionShortDefaultDescription
--verbose-vfalseShow all images including valid ones
--json-jfalseOutput results as JSON

Checks Performed

CheckSeverityDescription
Missing altErrorImage has no alt attribute
Empty altWarningImage has alt="" (verify if decorative)
Generic altWarningAlt text like "image", "photo", "picture"
Long altInfoAlt text exceeds 125 characters
Missing dimensionsWarningNo width/​height attributes (CLS risk)
No lazy loadingInfoLarge images without loading="lazy"

Usage Examples

# Basic check
bun src/​check-images.ts https://example.com

# Verbose output
bun src/​check-images.ts https://example.com --verbose

# JSON output
bun src/​check-images.ts https://example.com --json

Output Example

Image Analysis for https://example.com

Summary:
  Total Images: 25
  With alt: 20
  Missing alt: 3
  Empty alt: 2

Issues Found: 5
  [ERROR  ] Missing alt at position 5
    <img src="/​hero.jpg">
  [WARNING] Empty alt at position 12
    <img src="/​divider.png" alt="">
  [WARNING] Generic alt at position 18
    <img src="/​team.jpg" alt="image">

Recommendations:
  - Add descriptive alt text to all informative images
  - Use alt="" only for decorative images
  - Add width/​height to prevent layout shifts

Accessibility Guidelines

  • Informative images: Describe the content/​function
  • Decorative images: Use empty alt (alt="")
  • Functional images: Describe the action (e.g., "Search", "Submit")
  • Complex images: Use longdesc or aria-describedby

SEO Impact

  • Alt text helps search engines understand images
  • Improves image search rankings
  • Required for Google Images indexing

Related Files

  • Command: plugins/​html-checker/​commands/​check-images.md
  • Scripts: plugins/​html-checker/​scripts/​src/​check-images.ts
  • Check Links: plugins/​html-checker/​skills/​check-links/
  • Check A11y: plugins/​html-checker/​skills/​check-a11y/

More Marketing skills

copywriting logo
Marketing

copywriting

Marketing copy for homepages, landing pages, pricing pages, and other conversion-focused web pages.

53.3K 216.1K
View
flux-2-klein logo
Marketing

flux-2-klein

Fast image generation with Flux 2 Klein, optimized for sub-second iteration and multi-reference brand styling.

52 176.2K
View

Psychological principles and mental models for understanding customer behavior and influencing marketing decisions.

53.3K 153K
View

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
ai-seo logo
Marketing

ai-seo

Optimize content for discovery, citation, and visibility across AI search platforms and LLM assistants.

53.3K 136.7K
View
copy-editing logo
Marketing

copy-editing

Systematic improvement of existing marketing copy through seven focused editing passes.

53.3K 136.4K
View

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View
revops logo
Marketing

revops

Design and optimize systems connecting marketing, sales, and customer success into a unified revenue engine.

53.3K 104.9K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Convert websites into professional HyperFrames videos with guided storyboarding and brand-aligned composition.

57K 93.5K
View

Sales & marketing AI tools

KreadoAI logo
Sales & marketing

KreadoAI

Revolutionize Video Creation with AI-Generated Avatars and Voices

Paid
View
Followr logo
Sales & marketing

Followr

Social media on autopilot

Paid
View
Logodiffusion logo
Sales & marketing

Logodiffusion

Design custom logos instantly with AI.

Paid
View
I
Sales & marketing

Ideogram

Text-heavy marketing and design images

Freemium
View
Prompt Silo logo
Sales & marketing

Prompt Silo

Boost Your SEO with Content and SEO Silos

Free
View
Marketing Blocks logo
Sales & marketing

Marketing Blocks

Revolutionize Your Marketing with AI-Powered MarketingBlocks!

Paid
View
Scrip AI logo
Sales & marketing

Scrip AI

10X faster & free AI content creation for 100+ use cases

Free
View
Tribescaler logo
Sales & marketing

Tribescaler

Tribescaler | Make Your Tweets Go Viral

Paid
View