Promptles
Frontend & Responsive Design

Semantic HTML

beginner

Definition

Using webpage tags that describe what each piece actually is, a navigation menu, an article, a button, a heading, instead of just generic boxes. Search engines and screen readers use those labels to make sense of the page; without them, everything looks the same to the machines.

In the wild

Two pages look identical to a sighted user. One uses real button tags and headings; the other uses anonymous boxes with click handlers. A blind user with a screen reader can navigate the first page easily, 'jump to next button, next heading', but on the second page, everything is just an unlabeled blob.

More from Frontend & Responsive Design