Forums › Forums › Search & Filter Pro › h4 to h2
Tagged: V3
- This topic has 4 replies, 2 voices, and was last updated 4 years, 4 months ago by Anonymous.
-
Trevor(Private) September 9, 2020 at 3:17 pm #258903
At the moment, this is not possible from within the plugin, as you have found already. You might be able to use JavaScript to do this, but h2 is not really appropriate for lesser titles like this. h2 is supposed to be used for major sections in pages, with h1 for page titles. h3 is for sub sections of those major sections and side (sidebar or asides) section headers, and h4 and down for other minor elements and sub sections in side sections.
What is the accessibility need that you have for h2?
Anonymous(Private) September 9, 2020 at 5:24 pm #258947Thanks for quick reply!
perhaps I have understood something wrong. I want my search form right after page title and my validator says “This document contains an <h4> tag directly following an <h1>. In order to maintain a consistent outline of the page for assistive technologies, reduce the gap in the heading level by upgrading this tag to an <h2>.”.
This is not a big issue. I just thought if there is an easy way to change it and i just haven’t noticed.
-
AuthorPosts