nextcloud-libraries / nextcloud-libraries/nextcloud-vue

Make aria-label mandatory for buttons

Open
#4,214 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage accessibility feature: button
Dominant language
Vue
Stars
246
Forks
99
Avg merge
1d 20h
Merged PRs (30d)
103

Description

We've logged a warning for a while

You need to fill either the text or the ariaLabel props in the button component

I think it would be fair to start enforcing this prop in a future major version.

Ref https://github.com/nextcloud/nextcloud-vue/commit/d441b9dfb47aebae17bae4c21493057e4a7c862c @marcoambrosini

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

Start with the button component and review the existing warning about the text and ariaLabel props, using the referenced commit for context. Done means the required accessibility prop is enforced as proposed for the next major version, with the component's existing behavior and validation covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.