Skip to content

[a11y]: Improving Semantic Structure  #54

@CBID2

Description

@CBID2

Description

In my review of the HTML file for the local library exercise, I noticed that some of the sections are missing headings. Here are some examples:

  1. <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>
  2. <section id="welcome">
    <p>
    Guided by our dedication to literacy and learning and patron-focused services and programs, the Library is a fun space for using information and technology to build knowledge and foster community, social connection.
    </p>
    </section>

Solution

To solve these issue, I can up with the following solution

  1. Add an h2 heading in the Welcome section
  2. Add an h2heading in the Catalog section

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