GAAD Pledge - Publish Accessibility Coding Standards

Created on 11 May 2022, almost 3 years ago
Updated 31 January 2023, about 2 years ago

Problem/Motivation

The GAAD Pledge requires us to publish accessibility coding standards

We have a fairly extensive set of coding standards published online https://www.drupal.org/docs/develop/standards however nothing on accessibility.

WordPress has adopted this https://developer.wordpress.org/coding-standards/wordpress-coding-standa...

It doesn't need to be too exhaustive, as we already have some good content posted elsewhere. We can choose to link to it.

We can state like:
- code should have no axe-core errors (axe clean)
- WAI-ARIA should only be used if semantics cannot be achieved through HTML
- Dynamic changes to the DOM will be announced to the reader with Drupal.announce()
- Elements will be hidden in a consistent fashion with the Drupal CSS classes (visually-hidden, hidden & focusable)
- The TabbingManager should be used of the tab order needs to be adjusted

I don't think we need to repeat content that is provided elsewhere. This can just be a concise place to provide high-level accessibility guidance for busy developers.

📌 Task
Status

Active

Component

Idea

Created by

🇨🇦Canada mgifford Ottawa, Ontario

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024