Short excerpt with an external citation and citation URL that is set off from the main body of text
Default block quote can be used with the following HTML tags: <p>
, <div>
, <aside>
. This is responsive with styles for XS breakpoint.
To ensure that usage of this component complies with accessibility guidelines:
<blockquote>
element to:
<h1>
- <h6>
element doesn't become part of the document’s outline<cite>
attribute with a valid URLThis component has compliance with WCAG guidelines by:
<cite>
element to refer to the source of the quoteUse a block quote for emphasizing content that has a close and significant relationship with the surrounding text and will help users to visually scan the page.
Provide a citation to the external source and if available, the URL address.
To make the block quote content accessible, follow these rules:
<cite>
attribute<cite>
attribute is present:
When block quotes are displayed at XS breakpoint, the text will use a smaller font size.
tag
name
string
type
`blockquote`
default
Sets the ‘tag’ attribute for cdr-quote to define the root HTML element. Possible values: { ‘blockquote’ | ‘aside’ | ‘q’ | ‘div’ }
summary
name
string
type
default
Sets the quote body text.
cite
name
string
type
default
When the ‘tag’ prop is set to ‘blockquote’ provide a URL to the quote’s source. This does not render but is available to screen readers and search engines.
citation
name
string
type
default
Sets the quote attribution text.