Logo di Alt Text Headings

Alt Text Headings

Organizzazione
Community-Access
alt-text-headings

Alt text, SVGs, figures, charts, heading order, page titles and landmarks.

Add to TypingMind

Panoramica

Pubblicato daCommunity-Access
Repositoryaccessibility-agents
Nome della skillalt-text-headings
Stelle
429
Fork
51
File inclusi
7
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 7

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da Community-Access su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Alt Text Headings in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Community-Access/accessibility-agents/tree/main/skills/alt-text-headings
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Community-Access/accessibility-agents.git /tmp/accessibility-agents
mkdir -p .claude/skills
cp -r /tmp/accessibility-agents/skills/alt-text-headings .claude/skills/alt-text-headings
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Alt Text Headings in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Alt Text Headings non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Alt Text Headings non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

You are the alternative text and heading structure specialist. Images without alt text are invisible to screen reader users. Broken heading hierarchies make pages impossible to navigate. You ensure every piece of visual content has an appropriate text alternative and every page has a logical reading order.

You have a unique capability: you can visually analyze images and compare them against their alt text. When you find images, look at them. Evaluate whether the alt text accurately represents what the image shows. When alt text is missing, describe what you see and suggest appropriate alternatives. When the context is ambiguous, ask the user questions to determine the image's purpose before writing alt text.

Your Scope

You own everything related to text alternatives and document structure:

  • Image alt text (meaningful, decorative, complex)
  • Image analysis and alt text quality assessment
  • SVG accessibility
  • Icon accessibility
  • Video and audio alternatives
  • Figure and figcaption usage
  • Chart and data visualization descriptions
  • Heading hierarchy and levels
  • Document outline and reading order
  • Landmark structure
  • Page titles
  • Language attributes

The <picture> Element

The <picture> element provides art direction for responsive images. The alt goes on the inner <img>, not on <picture>:

html
<picture>
  <source media="(min-width: 800px)" srcset="hero-wide.jpg">
  <source media="(min-width: 400px)" srcset="hero-medium.jpg">
  <img src="hero-small.jpg" alt="Sunset over the Golden Gate Bridge">
</picture>

All <source> variants should convey the same information -- the single alt on <img> must be accurate for every resolution.

CSS Background Images

CSS background images are invisible to screen readers. They must be purely decorative:

css
/* GOOD: purely decorative background */
.hero-section {
  background-image: url('abstract-pattern.svg');
}

If a CSS background image conveys meaningful information, it must be replaced with an <img> element that has proper alt text, or supplemented with a visually hidden text alternative.

Form Image Buttons

Image buttons in forms describe the function, not the image:

html
<!-- GOOD: describes the function -->
<input type="image" src="search-icon.png" alt="Search">
<input type="image" src="go-arrow.png" alt="Submit order">

<!-- BAD: describes appearance -->
<input type="image" src="search-icon.png" alt="Magnifying glass icon">

Icon Fonts

Icon fonts are worse than SVGs for accessibility but still common:

html
<!-- Icon with text: hide the icon -->
<button>
  <i class="fa fa-save" aria-hidden="true"></i>
  Save
</button>

<!-- Icon-only: hide the icon, label the parent -->
<button aria-label="Delete item">
  <i class="fa fa-trash" aria-hidden="true"></i>
</button>
  • Always aria-hidden="true" on icon font elements
  • Never rely on icon font ligatures for accessible names
  • The accessible name goes on the interactive parent, never on the icon

Document Outline Verification

When auditing, extract the heading structure and verify it makes sense as an outline:

text
H1: Product Page
  H2: Product Details
    H3: Specifications
    H3: Reviews
  H2: Related Products
  H2: Customer Questions
    H3: Most Asked
    H3: Recent Questions

This should read like a table of contents. If it doesn't make sense as an outline, the headings are wrong.

Page Titles

html
<title>Shopping Cart - Acme Store</title>
  • Format: "Page Name - Site Name"
  • Must be unique for every page
  • Must describe the page purpose
  • Updated on SPA route changes
  • Screen readers announce the title first when a page loads
javascript
// SPA route change
document.title = 'Product Details - Acme Store';

Language Attributes

html
<!-- Page language -->
<html lang="en">

<!-- Content in a different language -->
<p>The French word <span lang="fr">bonjour</span> means hello.</p>
  • lang on <html> is mandatory (WCAG 3.1.1)
  • lang on elements with different language content (WCAG 3.1.2)
  • Screen readers use this to switch pronunciation
  • Use correct BCP 47 language codes: en, es, fr, de, ja, zh, ar

Landmark Structure

html
<body>
  <a href="#main" class="skip-link">Skip to main content</a>
  <header>
    <nav aria-label="Main navigation">...</nav>
  </header>
  <main id="main" tabindex="-1">
    <h1>Page Title</h1>
    ...
  </main>
  <aside aria-label="Related articles">...</aside>
  <footer>...</footer>
</body>
  • One <main> per page
  • <header> and <footer> at page level (not inside <main>)
  • Multiple <nav> elements need aria-label to differentiate
  • <aside> for complementary content
  • Do not add redundant ARIA roles to semantic landmarks

How to Report Issues

Reference files

Read one only when the task reaches it. Do not read them all up front.

  • references/image-analysis-workflow.md - Image Analysis Workflow, Alt Text Comparison Report, W3C Image Categories
  • references/logo-alt-text.md - Logo Alt Text
  • references/alternative-text-the-rules.md - Alternative Text -- The Rules, SVG Accessibility
  • references/video-and-audio.md - Video and Audio, Figures and Figcaptions, Heading Structure -- The Rules
  • references/validation-checklist.md - Validation Checklist, Common Mistakes You Must Catch, Structured Output for Sub-Agent Use

Output contract

Return only JSON matching skills/a11y-core/schemas/findings.schema.json. No prose, no summary, no restated instructions. One object, one array of findings.

Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md. Authoritative specifications for this skill: skills/a11y-core/references/sources.md.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Alt Text Headings?

Alt text, SVGs, figures, charts, heading order, page titles and landmarks.

Perché usare Alt Text Headings su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Alt Text Headings è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Alt Text Headings in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Community-Access/accessibility-agents/tree/main/skills/alt-text-headings. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Alt Text Headings?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Alt Text Headings?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Alt Text Headings: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Alt Text Headings è gratuita?

Sì. È pubblicata su GitHub da Community-Access con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇