Are paragraphs in <p> tags?

Goal

Ensure that our content paragraphs are semantically structured so they are understandable for users, assistive technology, and other machine uses.

Why this matters

Read Why does it matter if our HTML is semantic?.

How to implement

For the proper structure of a paragraph, see MDN’s site:

How to test

Manual testing

  1. Right-click the paragraph and ensure it’s wrapped in <p> tags.

Automated testing

We can’t automate testing for “block of text might need to be in a paragraph” because computers can’t read to discern whether the context is correct.

We can automate testing whether a paragraph is formatted correctly.