Skip to content

EuiSearchBar does not pass through aria-label property #1184

Closed

Description

@bmcconaghy

EuiSearchBar component does not pass through the aria-label property, so there is not a good way to add this to it. I did find that I can add aria-label to the box property and it works, as the component does {...box} and so it passes through that way, but that's obviously a hack.

Activity

  1. snide commented on Sep 12, 2018

    @snide
    Contributor

    Note that I added some generic aria labeling to searchbar in this PR.

    #1181

    Do you think it needs to be a prop? I think it's OK (and likely better) as a generic label as set up in that PR. Mostly because whether it's indeterminate or not it should have different text queues.

  2. snide commented on Sep 12, 2018

    @snide
    Contributor

    Should note that the PR was just merged, so you wouldn't see it in Kibana yet. Hopely that closes this issue though.

  3. bmcconaghy commented on Sep 12, 2018

    @bmcconaghy
    ContributorAuthor

    @snide yeah I think that addresses the issue.

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