The collection page heading includes a visually hidden "Collection" element. Depending on the environment, this can cause an announcement of "2 item" within the heading, or a duplication of the announcement. This would lead to a confusing screen reader user experience.
Screenshots
Current code
HTML
<h1 class="collection-hero__title">
<span class="visually-hidden">Collection:</span>
Bags and backpacks
</h1>
Steps to reproduce
Go to a Dawn theme store with any supported browser
Navigate to a collection page
With an active screen reader, navigate to the h1 content using the virtual cursor
Behavior
Expected
Visible text content to be the only content available.
Actual
Visually hidden content is causing a verbose user experience.
Recommendation
Remove the span.visually-hidden element.
Recommended code
HTML
<h1 class="collection-hero__title">
Bags and backpacks
</h1>
Issue summary
The collection page heading includes a visually hidden "Collection" element. Depending on the environment, this can cause an announcement of "2 item" within the heading, or a duplication of the announcement. This would lead to a confusing screen reader user experience.
Screenshots
Current code
HTML
Steps to reproduce
h1
content using the virtual cursorBehavior
Expected
Actual
Recommendation
Remove the
span.visually-hidden
element.Recommended code
HTML
Specifications