Semantic HTML Headings

I have recently been working on an editor for Moodle and we plan on implementing a system that limits which heading level can be used depending on where the user is adding content. I think this would be a great thing for all editors (TinyMCE, FCK, JCE, and many more) to do as well. If it were context sensitive it would prevent you from skipping down heading levels, and would only allow the right levels within the scope of the document to be placed correctly.

For example, you’re editing a description on a page that has the H1 and H2 enforced, the editor would prevent you from starting your document with a H4, but would allow H1, H2, or H3 as the first heading element.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.