Skip to content

Helper texts does not display well in input groups #700

@azmeuk

Description

@azmeuk

Describe the issue

Image

Current Behavior

If one input in a group has helper texts, they are displayed on the right side of the input instead of the bottom.

<label>Enter your domain
    <fieldset role="group">
      <input aria-describedby="domain-helper" aria-invalid="true" type="text" value="yolo">
      <small id="domain-helper">
        This is not a valid domain<br>This domain is not registered
      </small>
      <input id="submit" name="submit" type="submit" value="Check">
    </fieldset>
</label>

Expected Behavior

I would except the helper to be displayed as usual at the bottom of the input.

Reproduction URL

https://codepen.io/azmeuk/pen/emJZLQy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions