Skip to content

fix(a11y): add the accessibility statement - #256

Merged
MaggieCabrera merged 2 commits into
WordPress:trunkfrom
faisalahammad:fix/45-accessibility-statement
Nov 30, 2026
Merged

MaggieCabrera merged 2 commits into
WordPress:trunkfrom
faisalahammad:fix/45-accessibility-statement

Conversation

@faisalahammad

Copy link
Copy Markdown
Contributor

Description

Closes #45

Adds accessibility.txt to the theme root, in the format the accessibility-ready guidelines ask for. It has all the required sections: statement, quick information, testing tools and method, screen reader text class, accessibility features, help contact and where to report issues.

A few notes:

  • "Accessibility audit completed" is set to "No", because no formal audit was done yet. The testing section links to the review in Accessibility-ready review #44.
  • The screen reader text class is .screen-reader-text. WordPress core loads its styles for block themes, so the theme does not ship its own copy.
  • The features list only names things that are already merged: skip link, focus outline, underlined links, named landmarks, contrast per variation, reduced motion, long word wrapping and hidden decorative characters.
  • Issues go to GitHub until 1.0, then to Trac under the Bundled Theme component with the "accessibility" keyword.

This replaces #74, which went stale.

Testing Instructions

  1. Check out this branch and open accessibility.txt in the theme root.
  2. Check that every section in the guidelines format is there and that the links work.
  3. In the editor, add a Heading block, put screen-reader-text in Advanced > Additional CSS class(es), and save.
  4. View the page. The heading is hidden on screen but a screen reader still reads it.

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus
Used for: Drafting the file from the guidelines and checking the feature list against the theme code. I reviewed the text and tested it myself.

Adds accessibility.txt in the format the accessibility-ready guidelines ask for: statement, quick information, testing method, screen reader text class, features, help contact and where to report issues.

Closes WordPress#45
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: faisalahammad <faisalahammad@git.wordpress.org>
Co-authored-by: MaggieCabrera <onemaggie@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub or WordPress.org user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

Match the Twenty Twenty-Four and Twenty Twenty-Five statements for the help contact and where to report issues. The theme's support forum does not exist yet, and the GitHub repository is archived at 1.0, so the references to it and to its label process are removed.

Also say which controls get the dotted focus outline, since buttons and search fields use a different one.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@MaggieCabrera MaggieCabrera left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made some changes to keep this in line with other default themes, and removed mentions to GH since release is so close anyway

@MaggieCabrera
MaggieCabrera merged commit 9a88bd8 into WordPress:trunk Nov 30, 2026
6 checks passed
MaggieCabrera added a commit to MaggieCabrera/wordpress-develop that referenced this pull request Nov 30, 2026
Adds `accessibility.txt` with the theme's accessibility statement, in the format the accessibility-ready guidelines ask for, like Twenty Twenty-Four and Twenty Twenty-Five. It lists the testing done and the accessibility features already in the theme, and says where to report issues.

Synced from WordPress/ipsum#256.

See #66817.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write an accessibility statement

2 participants