Skip to content

Commit

Permalink
a11y(banner): use h2 in the event a subhead string is provided (#1790)
Browse files Browse the repository at this point in the history
Co-authored-by: William B <[email protected]>
  • Loading branch information
andrewleith and whabanks authored Apr 3, 2024
1 parent 90a8a62 commit 22c4ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/components/banner.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{% endif %}
>
{% if subhead -%}
<h1 class='banner-title'>{{ subhead }}</h1>
<h2 class='banner-title'>{{ subhead }}</h2>
{%- endif -%}
{{ body }}
{% if context %}
Expand Down

0 comments on commit 22c4ffc

Please sign in to comment.