semantic-html-and-seo

semantic-html-and-seo is a skill for Claude Code, Codex from dembrandt/dembrandt-skills. It costs 64 tokens per session (2,502 once invoked), scanned C, original, MIT.

A guide to using HTML elements that describe the meaning and structure of web content, along with basic search and accessibility practices. It also covers alternative text for images and keeping important features usable when scripts or device features are unavailable.

In plain words
What is it for?
Use it when building or reviewing web pages, headings, navigation, articles, forms, image descriptions, metadata, and client-rendered applications.
Why use it?
Meaningful page structure helps search engines, browsers, and assistive technologies understand a site. It also makes pages more resilient and easier to use across devices and situations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building or reviewing web pages, headings, navigation, articles, forms, image descriptions, metadata, and client-rendered applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dembrandt/dembrandt-skills/semantic-html-and-seo
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dembrandt/dembrandt-skills --skill semantic-html-and-seo
Clone the repo
git clone --depth 1 https://github.com/dembrandt/dembrandt-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for semantic-html-and-seo

README.md
[![agentmods](https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/semantic-html-and-seo/github.svg)](https://agentmods.dev/skills/dembrandt/dembrandt-skills/semantic-html-and-seo)
Your own site
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/semantic-html-and-seo"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/semantic-html-and-seo/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for semantic-html-and-seo

Your own site · 80×15
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/semantic-html-and-seo"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/semantic-html-and-seo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,502 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 19 Apr 2026
  • Snyk pass 19 Apr 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.02502
Opus 5 $0.00032 $0.01251
Sonnet 5 $0.00013 $0.00500
Haiku 4.5 $0.00006 $0.00250

Measured 13d ago against content hash 97a428e08161, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

semantic-html-and-seo scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<article> <!-- self-contained content: blog post, product card, news item -->
skills/semantic-html-and-seo/SKILL.md · 311 lines

How it starts

The opening of the file, as written. The whole thing — 311 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Semantic HTML and SEO

Good HTML is not just markup — it is the contract between your content, search engines, assistive technologies, and the browser. Semantic HTML, correct metadata, and progressive enhancement make UI resilient, findable, and accessible by default.


Semantic HTML5

Use the element that describes the content's meaning, not just its appearance.

Document structure

<header>       <!-- site header, logo, primary nav -->
<nav>          <!-- navigation links -->
<main>         <!-- primary page content, one per page -->
<article>      <!-- self-contained content: blog post, product card, news item -->
<section>      <!-- thematic grouping with a heading -->
<aside>        <!-- tangentially related content: sidebar, callout -->
<footer>       <!-- site footer, secondary links, copyright -->

Headings

One <h1> per page — the primary topic. Headings form an outline: do not skip levels (h1h3 without h2).

<h1>Product name</h1>
  <h2>Features</h2>
    <h3>Feature detail</h3>
  <h2>Pricing</h2>

Interactive elements

<button>   <!-- clickable action, submits or triggers JS -->
<a href>   <!-- navigation to a URL -->
<input>    <!-- user data entry -->
<select>   <!-- option selection -->
<details> / <summary>  <!-- native disclosure/accordion -->

Never use <div> or <span> as interactive elements without full ARIA annotation — and even then, prefer the native element.


Images and Alt Text

Every <img> needs an alt attribute. What goes in it depends on context.

Image type Alt text
Informative (product photo, chart) Describe content: alt="Red leather sofa, three-seater"
Functional (icon button, logo link) Describe function: alt="Go to homepage"
Decorative Empty: alt="" — screen readers skip it
Complex (chart, diagram) Short alt + longer description nearby or in <figcaption>
<!-- Informative -->
<img src="sofa.jpg" alt="Red leather sofa, three-seater">

<!-- Decorative -->
<img src="divider.svg" alt="">

<!-- With caption -->
<figure>
  <img src="chart.png" alt="Bar chart showing revenue growth Q1–Q4 2025">
  <figcaption>Revenue grew 42% year-on-year in Q4 2025.</figcaption>
</figure>

Read the full file on GitHub · 311 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 311 lines · 64 tokens per session scan C 97a428e08161

Subscribe to this mod's changes

semantic-html-and-seo is a skill published in the GitHub repository dembrandt/dembrandt-skills (54 stars, last pushed 2d ago), licensed MIT. It adds 64 tokens to every session and 2,502 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

indian-gov-web-ui

A set of design and accessibility rules for Indian government websites, portals, and administrative panels, including required standards such as GIGW and WCAG.

Yashraj00700/indian-gov-ui-skills · 95 tokens

ux4g-design-system

Use when building or reviewing UI with UX4G — India's official government design system (ux4g.gov.in, cdn.ux4g.gov.in, ux4g-web-components). Covers the v3.0.18 token API, the 52 components, install paths for HTML/React/Angular/Flutter, and the interop hazards. Triggers include "UX4G", "ux4g-web-components"…

Yashraj00700/indian-gov-ui-skills · 147 tokens

ui-ux-laws

Priority-ordered rulebook of core UX/UI laws, cognitive-psychology principles, Nielsen's usability heuristics, and accessibility requirements that Claude must actively apply (not just cite) whenever it designs, builds, redesigns, reviews, or critiques any user interface — websites, web/mobile apps, dashboards, forms…

AmirGhl/ui-ux-laws · 203 tokens

raweb-audit

Audit web pages and components against RAWeb 1.1 (Luxembourg Web Accessibility Framework). Use when reviewing existing code for accessibility compliance, generating audit reports, checking conformance levels, or preparing for Luxembourg accessibility certification. Covers all 17 themes with systematic test procedures.…

geoffreycrofte/luxembourg-accessibility-skillset · 66 tokens

raweb-code

Write accessible HTML, CSS, and JavaScript that conforms to RAWeb 1.1 (Luxembourg Web Accessibility Framework, based on EN 301 549 / WCAG 2.1). Use when developing web interfaces, components, forms, navigation, or any front-end code that must meet Luxembourg accessibility law. Covers all 17 RAWeb themes with…

geoffreycrofte/luxembourg-accessibility-skillset · 97 tokens

accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

addyosmani/web-quality-skills · 51 tokens