-
Notifications
You must be signed in to change notification settings - Fork 236
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
Update accordion guidance for v4.0.0 #1961
Conversation
✔️ You can preview this change here: 🔨 Explore the source changes: 76f2274 🔍 Inspect the deploy log: https://app.netlify.com/sites/govuk-design-system-preview/deploys/61bb0851b120a1000846ed17 😎 Browse the preview: https://deploy-preview-1961--govuk-design-system-preview.netlify.app |
470011a
to
2549f00
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome update, just added some comments. This is looking in wicked shape though. 👍🏻
@calvin-lau-sig7 @hannalaakso and I were wondering whether the guidance should include any content about how the summary line should only contain 'phrasing content'. We're already adding info about phrasing content to the macros, but that's a pretty inconspicuous location for it... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great, thanks @calvin-lau-sig7 👏
Do we want to include something to address the issues raised by a user in #1684 (comment) about teams nesting accordions?
|
||
Only add a summary line if it’s actually needed, as it's likely to make the button text too long. | ||
|
||
If you’ve decided that you need the summary line, you must make it as short as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we try to revise the content in the example below it to use shorter summary lines? Just realised that it doesn't actually follow the spirit of our guidance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably something to look at later after we publish, perhaps with the service manual team on their live pages?
We've haven't seen anything live that fits and I'd find it difficult to make a thought-out example.
I'll suggest it in an issue so we can do it as a next step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added as issue to look at after release:
#1999
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally fantastic 💫 added a few detailed comments that seem to be echoed by Hanna
Doing another review that supersedes this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Read, re-read and re-read again. Looks great to me.
Co-authored-by: EoinShaughnessy <[email protected]>
Co-authored-by: EoinShaughnessy <[email protected]>
Co-authored-by: Vanita Barrett <[email protected]>
06140d6
to
76f2274
Compare
This PR for the updated accordion guidance moves on from the working Google Doc.