Introducing the Accessible Components Library
yesterdayNewstetralogical.com

In brief

  • The author's company has open-sourced its Accessible Components Library, including the HTML, CSS, and JavaScript code.
  • Each component's requirements map to WCAG 2.2 success criteria at levels A, AA, and AAA, plus extra recommendations WCAG does not cover.
  • In version 1.0.0, 97% of scenarios are fully automated, and the rest produce a manual checklist for reviewers.

Why it's worth reading: Designers get documented accessibility requirements and runnable tests they can share with developers and testers, though the author warns the components are opinionated and not production-ready.

Summary by Mosaic, Designed's AI · may contain mistakes

We've open-sourced our Accessible Components Library, and, as you might expect, this includes the HTML, CSS, and JavaScript code. But, we thought, "Why stop there?" So, we've also published our documentation, including the accessibility requirements, test scenarios, and even the working automated tests which validate each one.

Here's what we've released, how it works, and why automated tests are worth the effort. One caveat: these components are opinionated and built for our needs. Feel free to reuse or adapt them, but test them in your product before relying on them. They're not a production-ready design system.

What we've released

As part of our efforts to provide useful resources to the accessibility community, we've released version 1.0.0, which includes eight components. We will be releasing more in the future, but for now you can check out:

Accordion

Breadcrumbs

Dialog

Disclosure

Pagination

Tabs

Text input

Textarea

Each component ships with working examples, the HTML, CSS, and JavaScript behind it, and documentation which explains:

What problem it solves

When to use it

When not to use it

Where to use it

Accessibility requirements

Test scenarios

Assistive technology compatibility

The accessibility requirements are the part which we think separates what we're doing from other component libraries. For every component, we've documented the applicable success criteria from the Web Content Accessibility Guidelines (WCAG) 2.2, at levels A, AA, and AAA. We've also added our own recommendations for things WCAG doesn't cover, such as usability when using high contrast themes.

Because WCAG can be challenging to navigate, we've grouped the requirements into ten themes, including…

SystemsDesign systemUsabilityAnimation

0 Comments

Sign in to join the discussion.

Be the first to comment.

← Back to Designed News