A saffron co-op in Torbat-e Heydarieh takes orders through one small form. Written as a stack of divs it works when clicked with a mouse, and an accessibility engine run over it on 2026-09-01 reported three critical faults: no alternative text on the picture, and no label on either field.
Written with the elements that already mean those things, the same form reports none. Div soup returned 3 critical violations and semantic HTML returned none, on the same form, with nothing added except the right tag names.
<label for="grams">Grams</label><input type="number" id="grams" name="grams" min="1" required><img src="saffron.jpg" alt="Three grams of saffron threads on a paper scale"><button type="submit">Send</button>
Four elements, four behaviours nobody wrote. label for="grams" pairs with input id="grams", and clicking the label focuses the field, which is why a label is worth more than text sitting next to a box. type="number" brings up a numeric keypad on a phone, which is a different keyboard for the same field. required makes the browser refuse the submit with no script at all. And button type="submit" is focusable, keyboard operable and announced as a button, while a div with an onclick is not in the tab order and does not answer Enter.
That last pair is the whole argument in one line. The div version is not missing a feature, it is missing four, and each one was free.
The document is a tree, and the head is not part of the picture
Every page is one tree with one root, and the first fork is the one people skim past: head holds what the page is, body holds what the page shows. The title, the character encoding, the viewport line that decides whether a phone zooms out, and the description a search result prints all live in the head and are never drawn. Getting the encoding line wrong is how a Persian page arrives as boxes, and getting the viewport line wrong is how a page renders at desktop width on a phone and is then blamed on the styling.
One document
The fork most people skim past
Everything on a page hangs from one root, and half of what decides how it behaves is in the branch that is never drawn.
html
- headNever drawn, and four of its lines decide how the page behaves
- titleThe tab, the bookmark and the search result
- meta charsetGet it wrong and a Persian page arrives as boxes
- meta viewportGet it wrong and a phone renders the page at desktop width
- meta descriptionWhat a search result prints under the title
- bodyEverything shown, in the order it is read
- header and navLandmarks a screen reader can jump straight to
- mainThe one per page, and the target of a skip link
- formLabels, inputs and a submit button, each carrying its own behaviour
Nothing here is about appearance. Every branch on this drawing behaves the way it does before a single line of styling is loaded.
Interactive Practice Lab
Edit and run this snippet directly in your browser (zero setup)
<article style="padding:14px;border:1px solid color-mix(in srgb,currentColor 24%,transparent);border-radius:12px"> <h3 style="margin:0 0 6px">Semantic Card</h3> <p style="margin:0 0 10px;opacity:.85">Edit this HTML and click Run to preview live.</p> <button onclick="console.log('Button clicked at', new Date().toLocaleTimeString())">Test Event</button></article>Live Big-O Complexity & Binary Search Race Lab
Compare complexity curves at scale and watch Linear vs Binary Search race live.
Below that, main, nav and header are landmarks a screen reader can jump between, which is a navigation menu somebody gets for free the moment the tags are right. A page built entirely from divs has no landmarks at all, so the only way through it is to read from the top. The order the tree is written in is also the order it is read in, whatever the styling later does to the arrangement, which is head, body, and the order a document is read in.

Elements that already say what they are
The rule underneath all of this is that the browser knows what a button, a list, a heading and a form field are, and it knows nothing about a div. Choosing the element that names the thing is not a courtesy, it is how the keyboard behaviour, the screen reader announcement and the phone keyboard arrive, and it is elements that say what they are, and who that helps.
The same page, from outside
What a screen reader can jump to on the co-op's order page
Six parts, and a reader who cannot see the page moves between them directly instead of reading from the top.
- 01Order saffron | Torbat co-op
- 03Saffron co-op order form
- 04Grams [ 3 ]
- 05Three grams of saffron threads on a paper scale
- 06Send
- 01title in the headRead out first, and the only thing in a list of thirty open tabs
- 02header and navA landmark, so it can be skipped rather than heard on every page
- 03h1One per page, and the answer to what am I looking at
- 04label and input, pairedThe pairing is what makes the field announce its question
- 05img with altThe sentence is the alt attribute, read where the picture is
- 06buttonReachable by Tab, activated by Enter, announced as a button
The frame is drawn from the spec rather than screenshotted, so nothing here can quietly stop matching the markup it describes.
Forms carry more of that free behaviour than anything else on the page: validation, the submit on Enter, the association between a question and its box, and the grouping of a set of radio buttons. That is inputs, labels, validation and submission. Pictures carry the other half, where the attributes decide both what a screen reader says and how much of somebody's data allowance the page spends, in formats, sizing and the attributes that matter.

What to run in 2026
An accessibility checker is the tool that changes this work, and running one is what produced the three faults above. It replaced hoping, and reading a checklist, neither of which finds a missing label on the second field of a form written at four in the afternoon. Free ones run in the browser and in the editor.
Free references
Three checks that keep markup honest in 2026
Automated checks catch missing attributes and broken nesting before browsers build the wrong tree.
- Accessibility checkerFinds missing labels and alt text in the editor or browser instead of hoping
- Standards validatorCatches tags closed out of order before browsers parse a broken tree
- MDN element referenceLists the keyboard and screen reader rules each native element already ships
Running the checker on the co-op form surfaced three critical faults that eye review missed.
The HTML validator run by the standards body is free and still the fastest way to find a tag closed in the wrong order. It replaced the era when every browser guessed differently at broken markup, and the guessing is now standardised, which means broken markup produces a consistent wrong tree rather than a different one per browser.
The element reference on MDN is free and is the one to keep open. It replaced the tutorials that taught a set of divs and a stylesheet, and its per-element pages say what each one already does, which is the knowledge this page is made of.
The mistake: styling first, and adding the meaning back later
The stall here is not ignorance of the tags. Almost everyone can name them. It is that markup gets written to hang styles on, so the tag chosen is the one that is easiest to lay out, and a div is easiest because it does nothing. The meaning is then meant to be added back afterwards, and it never is, because nothing breaks and nobody complains.
Changing the order
Write the meaning before hanging the styles
Fixing div soup means reversing the sequence: choose tags for what they are before adding a single class.
- 01Write markup with zero classesPick buttons, headings, and labels before touching layout
- 02Read the unstyled page aloudIf the order and meaning do not make sense, CSS will not save it
- 03Run the checker before commitCatch missing attributes early rather than right before launch
Meaning promised for after styling is finished rarely gets added once the page looks right.
The co-op's form is exactly that story. It was built to match a drawing, it looked right, it passed every review by eye, and it could not be filled in with a keyboard. Nobody found out for four months, and the person who found out was a customer.
The habit that ends it costs nothing: write the markup before any styling, with no class attributes, and read it aloud. If it does not describe the page, the tags are wrong, and no stylesheet will fix that. Then run the checker before the first commit rather than before the launch.
What this page has not touched is the arrangement, which is a separate language over the same tree and is how a page is laid out and how it looks. Changing the tree after it has loaded is reading and changing the page from script, and what the server sent in the first place is the half of the web the visitor never sees.
