agentsclimarketplace

Web accessibility

Skill OpenElementsLabs/agentic-support-coding/skills/web-accessibility

Audit and improve web accessibility following WCAG 2.1 guidelines. Use when the user mentions accessibility, a11y, ARIA, screen readers, keyboard navigation, color contrast, alt text, focus management, or accessible forms. Also use during front-end development to ensure accessible web experiences, or when reviewing HTML for accessibility compliance.From its SKILL.md

Install
npx -y skills add OpenElementsLabs/agentic-support-coding --skill web-accessibility

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.9 KB, as published. Nobody here has run it

Accessibility (a11y) for web developers

Accessibility guidelines based on WCAG 2.1 and Lighthouse accessibility audits. The goal of this skill: make content usable by everyone, including people with disabilities.

WCAG Principles: POUR

PrincipleDescription
PerceivableContent can be perceived through different senses
OperableInterface can be operated by all users
UnderstandableContent and interface are understandable
RobustContent works with assistive technologies

Examples

Text alternatives

Images require alt text:

<!-- ❌ Missing alt -->
<img src="chart.png">

<!-- ✅ Descriptive alt -->
<img src="chart.png" alt="Bar chart showing 40% increase in Q3 sales">

<!-- ✅ Decorative image (empty alt) -->
<img src="decorative-border.png" alt="" role="presentation">

<!-- ✅ Complex image with longer description -->
<figure>
    <img src="infographic.png" alt="2024 market trends infographic"
         aria-describedby="infographic-desc">
    <figcaption id="infographic-desc">
        <!-- Detailed description -->
    </figcaption>
</figure>

Icon buttons need accessible names:

<!-- ❌ No accessible name -->
<button>
    <svg><!-- menu icon --></svg>
</button>

<!-- ✅ Using aria-label -->
<button aria-label="Open menu">
    <svg aria-hidden="true"><!-- menu icon --></svg>
</button>

<!-- ✅ Using visually hidden text -->
<button>
    <svg aria-hidden="true"><!-- menu icon --></svg>
    <span class="visually-hidden">Open menu</span>
</button>

Additonal examples

more examples will be added soon.

Testing checklist

Automated testing with Lighthouse or axe-core

# Lighthouse accessibility audit
npx lighthouse https://example.com --only-categories=accessibility

# axe-core
npm install @axe-core/cli -g
axe https://example.com

References

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.