Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manuals publisher content doesn't account for accordion usage on manuals frontend #1713

Open
owenatgov opened this issue Feb 3, 2021 · 0 comments

Comments

@owenatgov
Copy link

Manuals content is often organised into accordions, however this isn't accounted for at the publisher end and is instead hacked in via manuals frontend. At the moment, content is written and stored in continuous prose in manuals publisher, specifically as headings with associated content, and passed to manuals frontend as one mass of HTML. This content is then pre-processed to convert each heading and content pair into a data item that can be digested by an accordion before being presented to the user. This approach has lead to an until recently undetected divergence between the supported govuk accordion component and the accordion being used on manuals frontend, creating hidden tech debt and accessibility risk.

Ideally this pre-processing wouldn't need to be done in manuals frontend at all and instead would be handled by manuals publisher in how publishers actually construct content and how that data is handled and passed to manuals frontend. An example of an app that accounts for the separation of content via accordions (see content item).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant