Skip to content

[BUG] - Autocomplete basic example triggers a11y warnings on open and search #6691

Description

@pauksztello

HeroUI Version

3.2.1

Describe the bug

Component: Autocomplete
Docs: https://heroui.com/en/docs/react/components/autocomplete#usage

Steps: Use the basic usage example → click the field → type in search.

Warnings:

  • On open - If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
  • On typing - If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility

Expected: No a11y warnings with the documented example.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Docs: https://heroui.com/en/docs/react/components/autocomplete#usage

Use the basic usage example → click the field → type in search.

Expected behavior

No a11y warnings with the documented example.

Screenshots or Videos

No response

Operating System Version

macOS

Browser

Chrome

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