vuejs / vuejs/devtools

accessibility / aria issue in vue devtools button

Open
#928 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.9k
Forks
279
PR merge metrics
No merged PRs in 30d

Description

when using axe devtools via its chrome browser extension to check for accessibility issues on a page, there is a complaint about the vue devtools:

Issues: 1
Ensure ARIA attributes are not prohibited for an element's role
https://dequeuniversity.com/rules/axe/4.10/aria-prohibited-attr?application=AxeChrome

Element Location: .vue-devtools__anchor-btn

<div data-v-640ec535="" class="vue-devtools__anchor-btn panel-entry-btn" title="Toggle Vue DevTools" aria-label="Toggle devtools panel" style="filter: saturate(0);"

To solve this problem, you need to fix the following:

aria-label attribute cannot be used on a div with no valid role attribute.

screenshot:

Image

Contributor guide

No contributing guide indexed for this repository

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 by locating the implementation of .vue-devtools__anchor-btn and review the reported markup and ARIA usage. Check the Vue DevTools button with axe DevTools; done means the aria-prohibited-attr violation for this element is no longer reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, devtools, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.