Rename Headings in TinyMCE
|Reported by:||mrwweb||Owned by:|
Forking a proposal from #27159 where Heading 1 will be removed from TinyMCE in WordPress 4.7:
Multiple people have suggested renaming the Headings in the editor to encourage correct usage (that is the goal of this ticket). I would add that this might be combined with actually removing Headings 5 and 6 which I imagine are barely [properly] ever used. (Theme and plugin authors will always be able to add Headings back via filters.) Only having to name three levels of headings also makes this much more feasible.
A few ideas just to get things started.
- Heading (H2)
- Subheading (H3)
- Subsubheading (H4)
- Section Title (H2)
- Subsection Title (H3)
- Subsubsection Title (H4)
Concept 3 (use indentation to imply hierarchy)
- Heading 2
- – Heading 3
- –– Heading 4
At least at first, I think it would make sense to retain the HTML heading level in parentheses as shown above to help technical editors understand what's going on.
To encourage correct heading usage, the new labels must communicate to all editors that the heading levels are hierarchical and not selected based on perceived importance or (obviously) visual appearance.
One primary problem is "what comes after sub? subsub?" Most rich text editors editors I've looked at while writing this ticket either using "Heading #" OR give only two levels of Heading (which avoids the "subsubsub" problems).
- Medium just changed their formatting toolbar to focus users on appearance over heading levels because they were apparently being abused. I think this is pretty obviously the opposite direction this ticket intends to go (giving into visual over hierarchy).
- I honestly can't find other examples of editors doing this beyond the exceptions mentioned above, so examples are highly appreciated.
Change History (33)
- Focuses accessibility removed
- Milestone changed from Future Release to 4.7
- Type changed from enhancement to task (blessed)
- Milestone changed from 4.7 to Awaiting Review
- Type changed from task (blessed) to enhancement