Skip to content

Support for hint text in addition to label #332

Open
@edwardhorsford

Description

@edwardhorsford

In various places in our service we use hint text in addition to a label.

screenshot 2019-02-28 at 12 34 11

Looking at various markup in the design system, it seems the pattern is now to have a separate span with the hint text, and add aria-describedby to the input. However talking with @tvararu it doesn't sound like this would get copied over to the autocomplete if we added it to the select.

I think our best option right now is to have hint text be within the label with a span. However if it could support the syntax of other components, that feels like the preferable option. It sounds like it may be as simple as updating a whitelist of attributes that get copied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions