Re: Empty <P> Tags For Spacing

If the screen reader does not pronounce blank for an empty p tag what is it
supposed to do when it hits on that empty space blank is the best thing for
it to announce

On Tue, Feb 8, 2022, 9:32 AM Guy Hickling <guy.hickling@gmail.com> wrote:

> 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:35:33 UTC