Skip to content

Commit

Permalink
Fixed the section header template to hide only the <h2> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
bhushan-ebi committed Feb 1, 2023
1 parent 3a8e244 commit 5afa5e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/vf-section-header/vf-section-header.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
{% if href %}
{% endif %}

<div class="{%- if hidden %}vf-u-sr-only{% else %} vf-section-header {% endif -%}">
<div class="vf-section-header">
<{{tags}}
class="vf-section-header__heading {% if href %} vf-section-header__heading--is-link{% endif %}"
class="vf-section-header__heading{% if href %} vf-section-header__heading--is-link{% endif %}{%- if hidden %} vf-u-sr-only{% endif -%}"
{%- if id %} id="{{id}}"{% endif -%}
>
{% if href %}<a href="{{href}}">{% endif %}
Expand Down

0 comments on commit 5afa5e3

Please sign in to comment.