massgov / massgov/feature-requests

Accordion feature

Open
#148 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
12
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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:
- https://www.cdc.gov/tularemia/statistics/index.html
- https://www.childrenssafetynetwork.org/webinars (Scroll to the header Archived Webinars)

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points; start by reviewing the linked accordion examples and the referenced Mass.gov page. Define the page-template scope and acceptance criteria before implementation, since this request does not specify what code should change.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.