WordPress / WordPress/accessibility-lab

[idea] Add a way to implement custom ARIA attributes at block level

Open
#8 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
11
Forks
3
Avg merge
16h 15m
Merged PRs (30d)
3

Description

Hi, this proposal is derivated from one of the custom plugins we use at Whodunit. It is not open sourced neither in the .org repository yet, but I'll put it on a GitHub repo next week.
The idea is to implement an interface to add custom ARIA attributes to any block in the editor, just like we have an interface to add custom CSS classes at the block level.

Of course, good use of ARIA attributes need a certain level of expertise, but I can see a good opportunity in this canonical plugin to test the implementation.

What do you think?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing block-level custom CSS class interface in the plugin and the proposal's requirements for custom ARIA attributes. Define how the interface should apply attributes to any editor block, then verify the behavior and accessibility constraints with appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.