Skip to content

[a11y]: Missing labels  #55

@CBID2

Description

@CBID2

Description

In my 2nd review of the HTML file for the local library exercise, I noticed that form was missing label elements:

<section id="catalog">
<form id="catalog-form">
<input id="catalog-input" type="text" placeholder="Search the Catalog..."/>
<input id="form-btn" type="submit" value="Search" />
</form>

Solution

Add <label> tags and their respective for attributes

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