WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: hard returns vs before/after spacing style

for

From: Karen McCall
Date: Apr 4, 2023 11:08AM


I agree and I don't think there is anything in PDF or PDF/UA that dictates how to add spacing before or after text.

As a Microsoft MVP for Office Apps and services, and a Microsoft Accessibility MVP, I always teach people to add the paragraph spacing to the style they are using or create a new style with the before and after spacing they want/need instead of pressing Enter. There is more control over the content as well as consistency in the look and feel.

When the content is converted to tagged PDF, the spacing comes with it and there are no blank lines in the PDF IF the spacing has been added to the style in Word, for example.

It is for this reason, avoiding the "blank blank" syndrome that I also teach how to adjust the cell margins in tables instead of pressing Enter to create space.

Cheers, Karen