Skip to content

Add labels to all form inputs for accessibility #798

Closed

Description

@jenweber

For accessibility, all form inputs should have labels. The for on the label should match the id on the input. Add them to all places that inputs are used in the guides/release directory. This PR should branch from master and be merged back into master.

Before:

{{input value=something}}

After:

<label for="my-id">Something descriptive: </label>
{{input value=something id="my-id"}}

Activity

  1. added
    help wanted
    on May 20, 2019
  2. added a commit that references this issue on May 20, 2019
  3. rajasegar commented on Jun 1, 2019

    @rajasegar
    Contributor

    @jenweber Added labels to input fields in the following 5 places where we have used {{input}} fields

    • Components / Defining a Component
    • Components / The Component Life Cycle
    • Components / Triggering changes with actions
    • Templates / Input helpers
    • Testing / Testing components
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

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions