uiwjs / uiwjs/react-codemirror
ARIA input fields do not have accessible names
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
Describe the issue
While running a Lighthouse audit I saw the following accessibility warning relating to the React CodeMirror editor:
ARIA input fields do not have accessible names
When an input field doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. Learn more about input field labels.
You can easily reproduce it with the React CodeMirror website: https://uiwjs.github.io/react-codemirror/
Is there an option to set aria-labels similar to this comment?
Refer: https://github.com/codemirror/dev/issues/1127#issuecomment-1503175849
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the warning on the React CodeMirror website and read the linked CodeMirror issue comment first. Trace how the React editor exposes its input to determine whether an accessible name can be configured; done when the reported ARIA warning is resolved and the requested labeling behavior is available.
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
- Mostly clear
- Newbie friendliness
- 35/100