localgovdrupal / localgov

Installation profile for the LocalGov Drupal distribution.
GNU General Public License v2.0
82 stars 18 forks source link

Show h1, h2, h3 clearly in CKEditor #704

Open willguv opened 4 months ago

willguv commented 4 months ago

Mentioned at LGD Camp, content designers may benefit from clearer indication in CKEditor of heading levels

Let's discuss the experience now and if we can make improvements

willguv commented 4 months ago

Could be fixed with https://github.com/localgovdrupal/localgov_sa11y

JonathanDHolden commented 3 weeks ago

As I've been adding content it seemed that being able to not having access to H1 (and sometimes H2) for editors would be quite useful. For example, guide and step by steps pages can't have an H1, which comes from the guide or stap by step Overview.

markconroy commented 3 weeks ago

I don't think LocalGov Sally will fix this.

We've even now got an issue so that sa11y does not run on wysiwyg fields. If it does, then all the sa11y markup will also get output to the page when saved.

markconroy commented 3 weeks ago

Mentioned at LGD Camp, content designers may benefit from clearer indication in CKEditor of heading levels

@willguv can you explain this a little bit more? What might they be expecting, is it a note beside each heading to say what the heading level is? If so, we "might" be able to achieve that with some simple CSS and have it looking like this:

Screenshot 2024-09-10 at 13 12 48


Thanks to Big Blue Door for sponsoring my time to work on this.