massgov / feature-requests

Prioritization for feature requests for the Mass.gov project.
10 stars 8 forks source link

Accordion feature #148

Open maleonard01 opened 6 years ago

maleonard01 commented 6 years ago

SME are looking to bring back the "accordion" page template that existed in Percussion. For content not large enough to warrant a binder with multiple Info Details, the accordion feature is great for mobile users and those who will scan a web page for terms relevant to them.

Examples of accordions on other sites:

Specific Mass.gov request:

This is the page we are looking at: https://www.mass.gov/service-details/safe-sleep-information-for-parents-and-caregivers, which does not have enough information/text to warrant a binder.

As you can see – it’s a lot of text, which we anticipate many people will read on their smartphones. In accordion style, visitors would get these potentially lifesaving tips in a much more succinct and easily digestible format. And with the accordion style we can call out the tips as headers, but people would have the choice of whether or not to expand for more information about a specific issue.