benjaminolsen.dev

Repair the meaning of a recipe

The recipe looks roughly organised, but generic containers imitate its heading and lists. Its image has no useful alternative, and the table lacks headings. Repair the meaning while preserving the recipe.

Before starting: m2-build

Get started

  1. Read the starter HTML rather than judging only its appearance.
  2. Replace the fake heading, ingredients and method with the matching native elements. Repair the image alternative and table headings.
  3. Verify source order and keyboard navigation, then run the checks.
Start in browser editorDownload starter filesOpen practice checks

Requirements

Manual checks

Hints

Hint 1

Start with tags that currently say div even though their text names a topic or sequence.

Hint 2

Use h1 for the title, ul/li for the ingredient group and ol/li for the method. Read the image as someone who cannot see it.

Hint 3

Replace the title div with h1, each ingredient div with li inside ul, each step div with li inside ol, and the first table row cells with th scope="col". Add a caption and describe the toast illustration in alt.

Explain your decision

Name one repair that improves the document even when its appearance changes very little.

Compare a practice solution after your attempt

This is one valid solution, not the only design. Compare the structure and behaviour rather than copying the appearance.

Download practice solution