react-component / react-component/upload

openFileDialogOnClick为 false 时,role 依然为 button

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
804
Forks
323
Avg merge
12m
Merged PRs (30d)
1

Description

openFileDialogOnClick 为false时,组件点击是没有反应的,但 role 依然是button,
当openFileDialogOnClick为 true 时,是否考虑把 role给删掉。

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

No file, test, or entry point is named. Start by locating the upload component's handling of openFileDialogOnClick and its role attribute, then inspect any existing accessibility tests; done means the role behavior is explicitly defined and covered for both true and false values.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.