Open andyvanavery31 opened 1 month ago
Is the heading automatically an H2? Or can the user select the type of heading (H2 and below)? Other than this question, everything else looks good to me @andyvanavery31 @sarinapadilla
Added new analytics values for pageTemplate and pageType to the requirements. These values were added in #4386
As a content editor, I want to be able to add a Summary Box paragraph to a Mini Landing Page, so that I can feature prose or additional calls-to-action with grouped information in a way that intentionally breaks up content on a page to improve the content hierarchy and give the site visitors the ability to scan information.
Requirements
Functional Requirements
Specifications
Analytics Requirements On click of a link within a summary box, an EDDL event shall be raised with the linkName and event name of: MLP:SummaryBox:LinkClick.
This click event shall send the following information as data elements to EDDL:
Information about the page that was clicked:
Location within the page of the component clicked:
Information about the component clicked:
External
- This is for external links outside of the host web site. Conditions that match this:http://
orhttps://
AND the hostname does not match the current hostname in the browser. (e.g., the href ishttps://www.cancer.gov/foo
and the visitor is on the web pagehttps://dceg.cancer.gov/bar
)Media
- This is for managed links in the WYSIWYG to media entities (e.g., files and infographics). Conditions that match this:<a>
element has thedata-entity-type="media"
attribute.Internal
- This is for managed and unmanaged links within the same host. Conditions that match this:http://
orhttps://
AND the hostname match the current hostname in the browser. (e.g., the href ishttps://www.cancer.gov/foo
and the visitor is on the web pagehttps://www.cancer.gov/bar
)something:
and it does not match the criteria ofMedia
.Email
- This is for mailto: links within the content. Conditions that match this:mailto:
.Other
- This is for any URLs that have a protocol that we do not know, e.g.,tel:
orjavascript:
. Conditions that match this:DoR Tasks
DoD Tasks
Technical Notes
Content Model
Scenarios/Figma
Summary Box 1 Heading: This is an example of a very long heading using the optional heading field in the Content Management System that will wrap with the usa-measure if implemented correctly
Summary Box 2 No Heading
Acceptance Criteria
CMS User Experience
Front-End User Experience
Analytics Requirements Summary Box MLP – Internal link click event - managed
Summary Box MLP – Internal link click event - unmanaged
Summary Box MLP – External link click event
Summary Box MLP – Media link click event
Summary Box MLP – No Heading Email link click event
Summary Box MLP – No Heading Other link click event
Figma Comps Component Library List Summary Box on all breakpoints
Resources:
Solution
Prerequisites