Do we need a Standard Accessibility Patterns Library for the web?

Programming languages have standard libraries. There is no such thing for the web. Especially not for accessibility. The ARIA Authoring Practices Guide is the wrong starting point for most website patterns. But people copy code from it without questioning if there is a better practice or a native way. The really valuable knowledge, about which patterns are the current best practices, is scattered throughout a million blog articles.


There seems to be no such thing as an up-to-date standard library for accessible patterns, which raises the question:

Do we need a field-tested, copy-paste-ready, accessible patterns library for the web?

What would be needed to pull it off? How do we work on it together? This post is not a finished plan. It is a call for discussion. (I asked a similar question two years ago: My thoughts on a Global Design System.)

Motivation

In my work as an accessibility consultant, not a single day goes by without a question that could be answered by pointing designers/developers to an established pattern.

From simple questions like “button vs. link” to drop-downs, menus, auto-suggests and drag & drop up to visual workflow builders and complex collaboration tools. After researching the topic and many discussions (also at Accessibility Club Summit 2026), I am under the impression that we, the accessibility community, might lack an established, comprehensive and up-to-date repository of accessible patterns for common use cases.

Did that trigger you to say: “There is this really great resource I know that has everything you asked for”?

Yes, there are many great resources on accessible patterns. The GOV.UK Design System, the APG patterns, the brand new TetraLogical Accessible Components Library, lots of best practices in blog articles, books and also some libraries. And yes, I know the XKCD about competing standards.

Why do we need it?

I am speaking a lot about the ARIA patterns here, because the closest to an official resource we have are the APG patterns. I have seen them fail many times. Not only because the implementation was bad. When I conducted studies with people with disabilities, participants using the keyboard or other assistive technologies often did not know how to use specific ARIA patterns. They were simply not familiar with them. When I asked them directly if they knew the patterns, most of them told me they did not know how to use them. (For the nitpickers: that is not a WCAG failure, but it is bad UX.)

The numbers point in the same direction. In the WebAIM Screen Reader User Survey #10 (1,539 respondents, 2023/24), “interactive elements like menus, tabs, and dialogs that do not behave as expected” ranked as the second most problematic item, right after CAPTCHA.

So a specific pattern might be implemented perfectly, but still fail for real-world users. That is why a standard library should prefer native and familiar patterns over custom ARIA widgets.

And there are so many important patterns which are not part of the APG at all.

Developers are busy. Most of them will not read the whole spec to find out why no ARIA is better than bad ARIA, or read through the whole web to find the best practices article on a specific pattern. They want a reliable source with patterns they can use and trust. Let’s give it to them.

To sum it up bluntly: to make the web better for everyone.

List of important patterns

Patterns which people get wrong all the time, or which are hard to implement:

The problems with current resources

For example:

  1. The patterns of the ARIA Authoring Practices Guide feature the ARIA menu pattern, while the website menu most people actually need is only an example under the disclosure pattern. And for some reason people keep implementing the ARIA menubar pattern, which is not the right pattern for most website menus. That is not only the APG’s fault. But a guide that teaches ARIA first gets used as an ARIA cookbook. And APG patterns get copied into frameworks and other tools (A11Y.md) and then end up as a reference.
  2. The GOV.UK Design System is based on great research, but it is opinionated and has a limited set of patterns.
  3. Kolibri is based on web components. Web components are a web standard, but not every software project / product can or wants to adopt a whole component library to get one accessible pattern. The components need JavaScript to work at all. And Kolibri’s own known issues show the price of the Shadow DOM: aria-label and aria-labelledby on the icon component don’t work reliably in Firefox, and focus and text selection inside the components behave inconsistently in some browsers. To their credit, they document this openly.
  4. TetraLogical just released their Accessible Components Library. They are the right people for the job, and the project is at the very beginning: version 1.0.0 comes with eight components. The components are opinionated and built for TetraLogical’s own needs. And in my opinion, the accordion uses an antipattern: it rebuilds with buttons and aria-expanded what native <details>/<summary> already does. There can be good reasons for that, but I did not find them documented.

Others have also posted about these problems: Die frustrierend unübersichtliche Situation der WAI Authoring Practices

Proposal

A pattern library with patterns which are…

…and which come with

To succeed we need

Each of these deserves its own post, so I don’t get into every detail of how we could get funding or how governance could work. But a lot of thought already went into this. This post is here to get the idea out and get feedback early on.

And most important of all: this only works if the community works together, agrees on one standard and contributes to it. Otherwise it is just one more library next to all the others, and we end up in exactly the XKCD comic from the beginning.

Where should it live?

Yes, I started this post by calling the APG the wrong starting point. But it could be a place to fix the problem. So one option: extend the ARIA Authoring Practices Guide.

What speaks for it

What speaks against it

So the pages of the WAI could be the right place, but only if the project can make decisions fast enough to keep the patterns up to date.

A good idea or doomed to fail? Let’s talk about it!

There is a pattern library that checks all the boxes and I missed it? You think this idea is great and want to participate? You think this is all garbage and want to let the world know why? And where do you think it should live?

Let’s discuss it in the Web-A11Y-Slack in the #articles-and-podcasts channel in this thread. To join the Web-A11Y-Slack, you need an invitation. Let me know via email if you need one and I will submit it to the admins.

I will collect all the feedback, and if there is enough interest, I will write a follow-up post.

Content Warning: Dark Addendum

This is a late comment after this post has been finished for some time and it technically belongs to the part “What speaks against it”.

The situation right now is that AI seems to eat up everything we as accessibility advocates care about. It is able to write reasonably accessible code (if you don’t believe me, let’s talk), it can perform reasonably okay web accessibility audits (also, if you don’t believe me, let’s talk about it). It still makes mistakes, but it is getting so much better at everything so fast, at this point I doubt there will be much work for us left in the future. Right now the entire IT industry seems to be on the brink of collapse. So I don’t know if an accessible pattern library would do something good or just feed the AIs so they get even better. This is the emo part of this post and I will keep it. So I am not sure if it still makes sense to invest in the craft, if it is taken over by whipping iPods.

What I think we need to do right now is think about what makes us human and embrace exactly that. Respect and help each other, make art, music and wonderful weird stuff. That’s all I have.

Update 22.10.2026

I’ve gotten some fair criticism for saying the web has no standard library. You could absolutely argue that HTML and browser APIs are the web’s standard library. But my point is a different one: we have the bricks, but lack the blueprints for building accessible interfaces.

Portrait of Moritz Glantz

👋 Moritz Glantz is my name…

…and I am an Specialist for Web Accessibility and UX-Engineer with over 20 years of experience, by day and a podcaster by night.

I help organizations build accessible websites by offering talks about accessibility, workshops & trainings, accessibility reviews and developing strategies for developers and management.

If that sounds like you could use my help, let’s talk! 💬