Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

accessibility-checklist

FreeNo executable scriptsNot checked

WCAG AA accessibility checklist and verification protocols for Somali dialect classifier dashboard. Covers keyboard navigation, screen readers, color…

ilyasibrahimby ilyasibrahim★ 87 GitHub stars

About this skill

Accessibility Checklist (WCAG AA)

Keyboard Navigation

✅ Requirements

Tab Order:

  • All interactive elements reachable via Tab
  • Logical tab order (left-to-right, top-to-bottom)
  • Skip links provided for repetitive navigation
  • No keyboard traps

Interactive Elements:

  • Buttons activate with Enter/Space
  • Links activate with Enter
  • Form inputs accessible via Tab
  • Dropdowns navigable with Arrow keys
  • Modals closable with Escape

Testing:

1. Unplug mouse
2. Navigate entire dashboard using only keyboard
3. Verify all features accessible
4. Check tab order is logical

Focus Indicators

✅ Requirements

Visibility:

  • Focus indicators visible on ALL interactive elements
  • Minimum 2px outline or 3px box-shadow
  • Sufficient color contrast (3:1 minimum)
  • Not removed with outline: none unless replaced

Implementation:

/* Good focus states */
.btn:focus-visible {
  outline: 3px solid var(--tableau-blue);
  outline-offset: 3px;
}

.data-toggle__option:focus-visible {
  outline: 2px solid var(--data-blue-primary);
  outline-offset: 2px;
  z-index: 1;
}

/* Chart canvas focus */
canvas:focus-visible {
  outline: 2px solid var(--data-cyan-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

Color Contrast

✅ Requirements (WCAG AA)

Normal Text (< 18px):

  • Minimum 4.5:1 contrast ratio

Large Text (≥ 18px or 14px bold):

  • Minimum 3:1 contrast ratio

UI Components:

  • Buttons: 3:1 minimum
  • Form inputs: 3:1 border contrast
  • Icons: 3:1 against background

Verified Combinations:

Foreground Background Ratio Status
White Tableau Blue (#0176D3) 4.83:1 ✅ AA
White Tableau Navy (#032D60) 13.55:1 ✅ AAA
Text (#333) White 12.63:1 ✅ AAA
Data Cyan (#33BBEE) White 2.4:1 ❌ (use dark text)

Testing Tool:


Semantic HTML

✅ Requirements

Landmarks:

  • <header> for site/page header
  • <nav> for navigation
  • <main> for main content
  • <aside> for sidebars
  • <footer> for footer

Headings:

  • Logical heading hierarchy (H1 → H2 → H3, no skipping)
  • One H1 per page
  • Headings describe content

Lists:

  • <ul>/<ol> for lists
  • <dl> for definition lists

Buttons vs Links:

  • <button> for actions (submit, toggle, delete)
  • <a> for navigation (go to another page)

Example:

<!-- Good semantic structure -->
<header>
  <h1>Somali Dialect Classifier Dashboard</h1>
  <nav aria-label="Main navigation">
    <ul>
      <li><a href="/overview">Overview</a></li>
      <li><a href="/data">Data Sources</a></li>
    </ul>
  </nav>
</header>

<main>
  <section aria-labelledby="metrics-heading">
    <h2 id="metrics-heading">Pipeline Metrics</h2>
    <!-- Content -->
  </section>
</main>

ARIA Labels

✅ Requirements

Icon Buttons:

<button aria-label="Delete dataset">
  <svg><!-- trash icon --></svg>
</button>

Status Indicators:

<span
  className="status-icon"
  aria-label="Pipeline status: healthy"
  role="img"
>
  ✓
</span>

Charts (Canvas):

<canvas
  aria-label="Bar chart showing dialect distribution: Northern 60%, Southern 25%, Central 15%"
  role="img"
></canvas>

Form Inputs:

<label for="dataset-name">Dataset Name</label>
<input
  id="dataset-name"
  type="text"
  aria-describedby="name-help"
/>
<p id="name-help" className="help-text">
  Choose a descriptive name for your dataset
</p>

Alt Text for Images

✅ Requirements

Informative Images:

  • Descriptive alt text explaining content
  • Context-specific descriptions

Decorative Images:

  • alt="" (empty alt attribute)

Examples:

<!-- Informative -->
<img
  src="confusion-matrix.png"
  alt="Confusion matrix showing Northern dialect correctly classified 94% of the time, Southern 82%, Central 79%"
/>

<!-- Decorative -->
<img src="decorative-pattern.svg" alt="" />

Charts as Images:

  • Provide detailed description in alt text OR
  • Provide data table alternative

Form Accessibility

✅ Requirements

Labels:

  • All inputs have associated <label>
  • Labels visible (not placeholder-only)
  • Labels describe purpose clearly

Error Messages:

  • Error messages associated via aria-describedby
  • Errors announced to screen readers
  • Error styling includes text/icons (not color-only)

Example:

<div className="form-field">
  <label for="source-url">Source URL</label>
  <input
    id="source-url"
    type="url"
    aria-describedby="url-error"
    aria-invalid="true"
  />
  <p id="url-error" className="error-message" role="alert">
    Invalid URL format. Use: https://example.com
  </p>
</div>

Screen

Full SKILL.md on GitHub

Install accessibility-checklist in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Read

FAQ

What does the accessibility-checklist skill do?

WCAG AA accessibility checklist and verification protocols for Somali dialect classifier dashboard. Covers keyboard navigation, screen readers, color contrast, ARIA labels, and accessibility testing procedures.

How do I install the accessibility-checklist skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the accessibility-checklist skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare accessibility-checklist with