Short excerpt taken from the main body of text to give a dominant position
Default pull quote can be used with the following HTML tags: <p>
, <div>
, <aside>
. For XS breakpoint, a border is added below the pull quote and the font size is smaller.
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 outlineThis component has compliance with WCAG guidelines by:
aria-hidden="true"
so that the pull quote cannot be read by a screen readerUse a pull quote for emphasizing content that has a close and significant relationship with the surrounding text and will help users to visually scan the page.
When a pull quote is displayed at XS breakpoint, the left border will appear below the pull quote and will use a smaller font size.
tag
name
enum
type
`blockquote`
default
Sets the ‘tag’ attribute for cdr-quote to define the root HTML element. Possible values: { ‘blockquote’ | ‘aside’ | ‘q’ | ‘div’ }
modifier
name
string
type
default
Modifies the style variant for this component. Possible values: { ‘pull’ }
role
name
string
type
default
Sets the ‘role’ attribute to ‘presentation’ when creating a pull quote. Possible values: { ‘presentation’ }
aria-hidden
name
string
type
default
Sets the ‘aria-hidden’ attribute to ‘true’ when creating a pull quote. Possible values: { ‘true’ }
summary
name
string
type
default
Sets the pull quote body text.
citation
name
string
type
default
Sets the pull quote attribution text.