Accessibility: don’t output empty h3 tag?
-
On my site, in the subscribe form widget generated by this plugin, there is an empty H3 tag generated inside the mailerlite-form-title div. This could create some confusion and is also identified by some accessibility guides as potentially making it difficult to navigate a page using a screen reader. Would it be possible to avoid generating that div/tag altogether if no title is to be included? The related logic seems to be in https://plugins.trac.wordpress.org/browser/official-mailerlite-sign-up-forms/trunk/include/templates/forms/custom_form.php#L6
Thank you!
The topic ‘Accessibility: don’t output empty h3 tag?’ is closed to new replies.