[Global] Heading structure _may_ be out of order #1457
Labels
Category: Accessibility
Bugs found while using assistive technology
Critical Path: 2
Affects some merchants/buyers
Effort: Low
Severity: 4
Issue summary
In any section instance which includes
h3
headings, heading structure could become out of order if the merchant removes the section "Heading" setting text.For example, a product detail page with a multicolumn section with no title, the page heading structure includes a primary
h1
then subheadingh3
for each multicolumn item.This would lead to a confusing user experience when screen reader user navigate via headings alone.
Screenshots
Steps to reproduce
Behavior
Expected
h2
headings to existing the page.Actual
h2
headings are missing.Recommendation
When the merchant removes the section heading text, instead of removing the
h2
:h2
in the DOM..visually-hidden
class to remove the heading visuallyh2
title text as the default text for the section:These changes will keep the inteded heading structure intact and inform the user of the section purpose/content type.
Recommended code
HTML
Specifications
The text was updated successfully, but these errors were encountered: