Closed mtdenton closed 1 year ago
w00t! https://donate-wagtail.mofostaging.net/en-US/donate-to-help-us-learn-what-makes-tiktok-tick/ looks great! Perhaps have Audrey & Kevin H review it as well?
I'm having trouble logging into the admin tho, will ping you.
Edited and tested out the page, approved!
I'll send it along to Audrey and Kevin for a quick review 👍
EDIT: Kevin is out this week and next lol
Stakeholders: Audrey Hingle, Kevin Hill
This team is trying to build an appeal page similar to what other organizations use (examples given here and here)
After going back and forth a bit, seems like we want to adapt
campaign_page.html
for this purpose, mostly looking for the CTA to be above the fold in the appeal. There are a few things to consider here however:h1
and should actually be anh2
, we'll fix that too) into position above everything.To address the above, we need to make the following adjustments to the model and template:
Create a settings flag to allow page creators to rearrange the layout of these pages so that the CTA will appear at the top when the page collapses on smaller sizes. Once again, this should default to unchecked to allow for existing pages to retain their current layout. This flag will set the order of the markup to include the CTA first. While not ideal, we can manipulate the position of these on tablet sizes and above with
order
CSS rules for the various rows that include the donate form, the "intro text", and the disclaimers without differing the experience for screen reader users too much.Dev Tasks
cta_first
boolean setting for theCampaignPage
class. This should determine the order of the markup incampaign_page.html
(Checked = cta->intro text->disclaimer, unchecked = intro text ->cta->disclaimer)intro_header
inCampaignPage
, replace the hard-coded "Donate now" textorder
css rules that only apply for tablet/desktop sizes whencta_first
isTrue
h1
to ah2
Acceptance Criteria
h2
appears above the "Intro" rich text on the pageh2
markup appears above the "Intro" rich text on the page