Skip to content

Fix: improper heading hierarchy #3751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions snippets/card-collection.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
{%- else -%}
<div class="card__content">
<div class="card__information">
<h3 class="card__heading">
<h2 class="card__heading h3">
<a
{% if card_collection == blank %}
role="link" aria-disabled="true"
Expand All @@ -103,7 +103,7 @@
</span>
{%- endif %}
</a>
</h3>
</h2>
{%- if card_collection.description != blank -%}
<p class="card__caption">
{{- card_collection.description | strip_html | truncatewords: 12 -}}
Expand All @@ -119,7 +119,7 @@
{%- if card_collection != blank and card_style == 'card' or card_collection.featured_image -%}
<div class="card__content">
<div class="card__information">
<h3 class="card__heading">
<h2 class="card__heading h3">
<a
{% if card_collection == blank %}
role="link" aria-disabled="true"
Expand All @@ -139,7 +139,7 @@
</span>
{%- endif %}
</a>
</h3>
</h2>
{%- if card_collection.featured_image == null and card_collection.description != blank -%}
<p class="card__caption">
{{- card_collection.description | strip_html | truncatewords: 12 -}}
Expand All @@ -154,14 +154,14 @@
{%- if card_collection == blank -%}
<div class="card__content">
<div class="card__information">
<h3 class="card__heading card__heading--placeholder">
<h2 class="card__heading card__heading--placeholder h3">
<a role="link" aria-disabled="true" class="full-unstyled-link">
{{ 'onboarding.collection_title' | t }}
<span class="icon-wrap">
{{- 'icon-arrow.svg' | inline_asset_content -}}
</span>
</a>
</h3>
</h2>
</div>
</div>
{%- endif -%}
Expand Down
Loading