Experimenting more with CSS tests. See https://heydonworks.com/article/testing-html-with-modern-css/
:has(h1):has(:is(h3,h4,h5,h6)):not(:has(h2)), :has(h2):has(:is(h4,h5,h6)):not(:has(h3)), :has(h3):has(:is(h5,h6)):not(:has(h4)), :has(h4):has(h6):not(:has(h5)) {
outline: var(--error-outline);
--error-skipped-heading-level: 'You have skipped a heading level. For example, a subsection within a section introduced by an h3 is currently introduced by an h5 or h6';
}
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.