WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Accessible P Tag Usage

for

From: Jim Homme
Date: Mar 18, 2019 9:29AM


Hi,
I think that my next statement comes from the old days, possibly before div tags. I have always put paragraphs inside div tags and have not put just text in them. Does that matter?

Thanks.

Jim



==========
Jim Homme
Digital Accessibility
Bender Consulting Services
412-787-8567
https://www.benderconsult.com/our%20services/hightest-accessible-technology-solutions

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Patrick H. Lauke
Sent: Saturday, March 16, 2019 8:53 PM
To: <EMAIL REMOVED>
Subject: Re: [WebAIM] Accessible P Tag Usage

On 16/03/2019 22:05, Peter Shikli wrote:
[...]
> The strictest interpretation of these items is that it is required
> that relationships in content are programmatically available,
> including content "... such as a paragraph ...". Is this to be taken
> as saying text should, at a minimum, programmatically be a <p> tag,
> unless there is a more appropriate structural tag?

Taking it at the letter, yes, it could possibly be interpreted that way.
But it's just as valid, semantically, to have text just inside a <div> or similar, so it gets very fuzzy. You could argue that if authors break up sections of text using multiple <br> breaks instead of wrapping things into separate containers (like <p> or similar), it's a failure.
But in general, I'd say this would be a "soft" failure (low severity, low priority) at best (depending on the circumstances of course), and generally I wouldn't bother looking for this sort of failure as most sites I see have much more fundamental problems that cause greater problems.

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke