Skip to content

ARIA input fields do not have accessible names #656

Open

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: codemirror/dev#1127 (comment)

Activity

  1. jaywcjlove commented on Jun 7, 2024

    @jaywcjlove
    Member

    If you add it, how do you think about internationalization? @datnd99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions