Skip to content

Select component issues #32

@danielelder

Description

@danielelder

The govSelect component has the following issues:

  • The label has to be either a H1, H2 or H3, there is no support for a non-heading i.e. a "standard" label.
  • The label has a hardcoded ID to link it to the select element, but the select element's ID is dynamic (set using the variable {fieldId})
  • If an error message and/or hint text is present a reference should be added to the select element using the aria-describedby attribute.
  • Hard coded "error:" prefix does not allow for language translations.

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