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

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Jerra Strong
Sent: Tuesday, April 4, 2023 12:59 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] hard returns vs before/after spacing style

Using two returns in a row to create space will mean that screen readers voice "blank" between each paragraph, sometimes more than once, depending on the amount of space you need. In my trainings, I always advise against doing this where paragraph spacing will do the trick. Besides, you get more control over the amount of space between elements when using paragraph spacing.

On Tue, Apr 4, 2023 at 9:46 AM Laura Roberts < <EMAIL REMOVED> > wrote:

> Hoping Bevi responds to this!
>
> My habit in word docs is to create various styles with paragraph
> before/after spacing. Makes it less likely that hard returns will
> carry over the wrong spacing and subsequently I have to comb through
> the document making corrections.
>
> As far as PDF/UA is concerned, is there a preference for paragraph
> spacing styles or hard returns? (I have a client who only wants
> default paragraph style and hard returns.)
>
> I haven't thought about this in a long time!
>
> --
> Best regards,
> Laura Roberts
> 413-588-8422
> > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist.w
> ebaim.org%2F&data%7C01%7C%7Cd3cda4cf47d84652b8e308db352de84e%7C84df
> 9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638162243504659306%7CUnknown%7C
> TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC
> I6Mn0%3D%7C3000%7C%7C%7C&sdata=yupR%2BAeB1RfA4MrnRoZRU6G1cV8plDcla40Ln
> DSd%2FdU%3D&reserved=0 List archives at
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwebaim
> .org%2Fdiscussion%2Farchives&data%7C01%7C%7Cd3cda4cf47d84652b8e308d
> b352de84e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638162243504659
> 306%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi
> I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=y2eUfJ5OxS1uYKwIwfPrU%2
> Brt3qEl%2Fiz1k4GblvN45zU%3D&reserved=0
> >