WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: blockquote

for

From: Dean.Vasile@outlook.com
Date: Apr 18, 2024 10:01AM


Here's a breakdown of how to use the BlockQuote tag in a PDF, along with the best practice:
How to use the BlockQuote tag:
* Correct usage:
<BlockQuote>
<P>quoted text</P>
<P>another paragraph of quoted text</P>
</BlockQuote>

Explanation:
* Use the BlockQuote tag to enclose the entire quotation.
* Place each quoted paragraph within a separate <P> (paragraph) tag.
Why this is the best practice:
* Semantic meaning: The BlockQuote tag clearly identifies the content as a quotation, distinguishing it from the rest of your document.
* Accessibility: Screen readers and assistive technologies can recognize the BlockQuote tag and convey its meaning to users with disabilities.
* Clean structure: Using <P> tags within the BlockQuote ensures proper paragraph formatting and readability.
The Div tag:
The Div tag is a generic container and doesn't convey the specific meaning of a block quotation. It's best to use BlockQuote directly for this purpose.
Let me know if you'd like any further clarification!

Dean Vasile


617-799-1162

> On Apr 18, 2024, at 11:14 AM, Laura Roberts < <EMAIL REMOVED> > wrote:
>
> I'm curious about using the blockquote tag in a pdf. While it's clear how
> to use it in HTML, there's not much guidance on it in PDFs other than it's
> used for one or more paragraphs attributed to another writer/speaker.
>
> So is it tagged like this?
> <BlockQuote>
> quoted Text
> another paragraph of quoted text
>
> or
>
> <BlockQuote>
> <P>quoted text
> <P> another paragraph of quoted text
>
> or does it all go in a Div tag?
>
> <Div>
> <BlockQuote>
> <P> etc
>
> Thanks
>
> --
> Best regards,
> Laura Roberts