WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Empty <P> Tags For Spacing

for

From: chagnon
Date: Feb 8, 2022 10:24AM


The <p> tag itself contains "real content" because it holds Unicode character 000D = CR/carriage return, which is part of the set of control characters in content and Unicode.

It may be invisible, but it's there nonetheless. Select a blank <P> tag in a PDF, expand it to show its yellow content container box, and the hidden character is highlighted in blue. Invisible or not, there's something there inside the <P> tag.

The purpose of our accessibility standards — WCAG, PDF/UA, EPUB, etc. — is to specifically define how to remove ALL barriers for those using assistive technologies. (And for all humans using any other technology, too.)

At a minimum, blank returns are a nuisance to the humans trying to read and navigate the document. But there are technologies where these blank returns cause reflow problems that in turn, create full-blown accessibility barriers to some users.

It's the responsibility of BOTH the accessibility standards AND the assistive technologies to deal with these. Therefore, ban them in the standards and require the A T manufacturers to also deal with them for their users.

— — —
Bevi Chagnon | Designer, Accessibility Technician | <EMAIL REMOVED>
— — —
PubCom: Technologists for Accessible Design + Publishing
consulting ' training ' development ' design ' sec. 508 services
Upcoming classes at www.PubCom.com/classes
— — —
Latest blog-newsletter – Simple Guide to Writing Alt-Text