wordfor

semantic HTML

noun

Frontend

  1. Using elements for their meaning (button, nav, h1, label) rather than generic divs, so browsers and assistive tech understand the page. Replacing a clickable div with a button gave keyboard support and screen reader labels for free.

In plain words

  • divs everywhere
  • screen readers can't understand the page
  • use the proper tags
  • a div with a click handler instead of a button

See also focus management progressive enhancement

Find similar words