Skip to content

Autocompletion popup not announced with VoiceOver in Safari #1624

@muchktom

Description

@muchktom

Describe the issue

Description

When using VoiceOver with Safari, the CodeMirror autocompletion popup is not announced to the screen reader, even when focused. This makes the autocompletion feature inaccessible for VoiceOver users in Safari.

Image

The behavior works as expected in Chrome (popup is announced properly), but Chrome is not the recommended browser for VoiceOver users. Safari is the primary browser for VoiceOver accessibility testing and usage.

Steps to Reproduce

  1. Enable VoiceOver on macOS.
  2. Visit the CodeMirror autocompletion demo: https://codemirror.net/examples/autocompletion/
  3. Navigate to the first autocompletion example input field.
  4. Trigger the autocompletion with Ctrl + Space (as suggested on the page).
  5. Observe that in Safari the autocompletion popup appears visually, but VoiceOver does not announce it.

Expected Behavior

The autocompletion popup should be announced by VoiceOver when it appears and receives focus, including details about available suggestions.

Actual Behavior

The popup is rendered visually but not announced at all in Safari with VoiceOver enabled.

Environment

Notes

  • Works correctly in Chrome + VoiceOver.
  • Accessibility support in Safari is critical, as it’s the primary browser for macOS screen reader users.

Browser and platform

No response

Reproduction link

No response

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