Re: Empty <P> Tags For Spacing

A couple of comments here have said that screen readers should not announce
"blank" for empty paragraphs (which I see on websites in some screen readers
, as well as in Pdf documents).

But this is the kind of problem that arises when we create bad markup.
Basically, any wrong or non-standard or questionable HTML is likely to
cause assistive devices to produce poor quality results, as in this case.

What a screen reader does is not in our control - and in any case they are
unlikely to change very quickly just because we criticise them here! But
creating good HTML markup is in our control. Rather than pushing the
responsibility for doing right onto others, we should put our own house in
order first!

So to get back to the question, I would advise against empty elements as
best practice, but it isn't a WCAG matter.

Received on Tuesday, 8 February 2022 17:27:12 UTC