Learning web design from an AI draft

If an AI tool has made you a web page, you can learn a lot by taking that page apart.

Some of its faults show up in quick checks published by the W3C (the World Wide Web Consortium). Each fault points to a skill you can then go and learn.

The example below was written for this page. It is a short piece of a page with five faults left in.

<h1>Example Bakery</h1>
<img src="loaves.jpg">
<h4>Order a cake</h4>
<p style="color:#bbbbbb">Cake orders need two days' notice.</p>
<input type="text" placeholder="Your name">
<li>Open daily from 8am</li>

The photo with no alt text

The img line has no alt attribute. The W3C describes alt text as a short description that gives the purpose of an image.

People who are blind and use a screen reader rely on it, and so do some people with low vision who have pages read aloud. The W3C's image check marks any image that is missing it.

A purely decorative image is handled differently. MDN's lesson on images says to give it a blank alt="", so that a screen reader can skip it.

MDN's lesson "HTML images" teaches how to write alt text.

The heading that jumps a level

The page goes from h1 straight to h4. The W3C's heading check asks whether any heading levels are skipped.

The W3C compares headings to the contents list of a book. Screen reader users can jump from heading to heading with a single key.

MDN's "HTML: A good basis for accessibility" shows how to give a page a sound structure.

The faint grey text

The W3C says good contrast is important for many people with low vision, and that people with colour blindness often need it too. Light grey on white is hard to tell apart.

The W3C's quick check is to view the page in grayscale. For an exact answer, it points to its list of evaluation tools, where you can search for "colour" to find contrast checkers.

The W3C's Digital Accessibility Foundations course teaches the basics behind it, and the W3C says the course is free.

The name box with no label

The input has a placeholder, but no label is joined to it in the code. The W3C says form fields need a label tied to them in the code, so that a screen reader can find it, along with other assistive technology.

A label joined in the code also helps people with low dexterity, because the label itself becomes something they can click to reach the field.

MDN's "Web forms" module teaches how to build and label forms.

The list item with no list

The last line is an li with no ul or ol around it. The W3C Markup Validation Service reads the HTML of a web page and lists the errors in it. You can give it an address or paste in the code.

When this example was run through it on 25 November 2026, the validator reported the stray list item. It also flagged the missing alt text and the skipped heading levels.

MDN's "Learn web development" area teaches HTML from the beginning.

What these checks leave out

The W3C says its Easy Checks are "designed to be quick and easy, rather than exhaustive." It adds that a web page "could seem to pass these checks, yet still have significant accessibility barriers."

For a fuller grounding, the Foundations course takes most people about 16 to 20 hours, at their own pace.

Useful links