-
Notifications
You must be signed in to change notification settings - Fork 5
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
Consider stacked h1 pattern for guides #122
Comments
Needs a bit more thought about how to turn on/ off Challenge is how to roll out and not affect existing sites - not a block, so where does it live? Could be theme option |
@3mkay and I had a think about this, and I think we have a workable solution, assuming that the place to solve the problem is in the individual modules that consume the page header block, and not at the module that provides it. In any case, we wanted to get some feedback before creating a PR, but the reasoning goes like this:
To maintain backwards compatibility, the {{ node.title }} ...but since we pass in the node, template overrides could use whatever node data (and markup) they need. The main question I have is what we'd use to handle the differences between Guide Overviews and Guide pages:
(1) is probably simplest, (2) is probably most flexible, and (3) is probably most like what's already happening. Does this sound like a workable solution? I'm not very deep into this module, so I could easily be overlooking something important. |
@willguv Any thoughts on this? We can put together a PR if it seems like a sensible approach to you. |
Hi @ctorgalson sorry I hadn't replied to this - thanks for the nudge Yes please go ahead, very kind of you! Copying @stephen-cox |
Hi @ctorgalson are you at Annertech by any chance? I think Haringey might have asked for this work already |
@willguv I am. Their request was what started us looking at this. I should have a chance to work on it soon. |
Hi @ctorgalson hope all's well. Any news on this? Many thanks, Will |
See technical discussion and implementation for guides on #133 and possible more generic solution for opt in use on any content type on localgovdrupal/localgov_core#193 |
We're following NHS' lead by including both the title and lede in the h1 Agreed in the product group, @andybroomfield present |
Hi @ctorgalson @markconroy, are you still working on this? Many thanks, Will |
@markconroy would be good to pick this up and finish it if possible |
@willguv my understanding is that there was a change made upstream during our work which means we need to re-work what we’ve delivered on the HLBC site for it to apply. |
Thanks @3mkay - is it a big job? |
Instructions in the 2.13 release notes |
I’m a bit confused. The release notes show a good way for any given LGD implementation to make use of the changes, but I’m unclear what we are proposing to do *here* (also, I think localgov_base might still need to print that `subtitle` variable, but I can’t check at the moment).
On Wed, May 22, 2024 at 21:12, Andy Broomfield ***@***.***> wrote: Instructions in the 2.13 release notes
https://github.com/localgovdrupal/localgov_core/releases/tag/2.13.0
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Here's a PR to add the subtitle variable for |
@msayoung I vaguely remember writing this because a council raised accessibility and usability issues with the existing Guides pattern There was a lot of enthusiasm for the change in the content group Mark's done so enabling work to make this much easier to implement. Should we go ahead and make this change? If so, should it be a default or an option for councils? Thanks |
@markconroy should we go ahead and implement this change/ give councils an option to use it? |
Yes, I think it's okay to merge this one. We chatted about it a lot and gone around the implementation a few times. |
The NHS guide page equivalent uses a single h1 for titles: page title above, overview title beneath
https://www.nhs.uk/conditions/acute-pancreatitis/causes/
The content group is enthusiastic about this change
We need to:
The text was updated successfully, but these errors were encountered: