Looking at the ATAG standard B3 it would be nice to have a filter which suggests that users add headings.
This could be based on the length of the content contributed, use of bold or other elements which "look" like they could be headings.
Certainly if there are 5+ paragraphs it would be reasonable to assume that the content author add a heading.
This should be simply a recommendation popup. There is no way to automatically insert this.
I also think it should be off by default.
This might be something that needs to be added to a contrib module.
Comments
Comment #1
Bojhan CreditAttribution: Bojhan commentedI think its best to experiment with this in a contrib module first, since it is so invasive and we don't know how users respond to us telling them how to write their content.
Comment #2
mgiffordAgreed about it being better to test this functionality in Contrib first (hopefully in D7 or D8). If the Accessible Helper Module were more active, I'd suggest to just move it over there, but there just aren't enough folks involved...
We don't really have an easy pattern to provide this kind of gentle reminder of a way to improve content. It's quite possibly something that we wouldn't want to have in Core, but wanted to bring it forward as an idea related to ATAG.
Comment #3
mgiffordComment #4
mgiffordComment #20
mgiffordJust looking at https://codepen.io/lalwanivikas/pen/gMLQoz
If we could identify the number of paragraphs and the number of headings.
It would be a good tool for general readability too. Nobody likes a wall of text without headings.