The section-heading-first-child custom a11y test is too strict
In edx-custom-a11y-rules, we have a section-heading-first-child test that makes sure that a <section> is immediately followed by a <hX> element.
But it's oddly defined. I think it should allow intermediate <div> or <hgroup> wrappers between the section and the <hX> element.
It currently only allows (in css selector terms):
That is, it allows an immediate h1 with no intermediaries except an optional header element.
But is it actually bad if div elements are in the heirarchy? Like <section><div><h1>...</h1></div></section>. This often happens in real code (just ran into it).
This test should maybe also catch other kinds of sections. Like <article>?
This test is under-documented. It doesn't show up on https://openedx.atlassian.net/wiki/spaces/A11Y/pages/37224619/edX+Specific+Accessibility+Tests
We are one of the oldest business families in India with a family legacy of 112 years in business. Started for the noble cause of nation-building and self-sustenance in a pre-independent India, the forefathers believed ethical, honest and transparent business practices should form the foundation of the group.
Having ventured into jewellery retailing in 1993 in Thrissur, Kerala, India, where we are headquartered, and as on June 30, 2020, we have 137 showrooms spread across India and GCC
OVER100YEARS IN TRADE