Skip to content

Commit

Permalink
SHS-5571: A11y Level A: Empty headings on Vertical Timeline components (
Browse files Browse the repository at this point in the history
#1502)

* fix(shs-5571): A11y Level A: Empty headings on Vertical Timeline components

* fix(shs-5571): minor code consistency fix in timeline template

---------

Co-authored-by: Mari Núñez <mariannuar@admins-MacBook-Pro.local>
Co-authored-by: Andrés Díaz Soto <andres.diaz.soto@gmail.com>
  • Loading branch information
3 people authored Apr 17, 2024
1 parent 25d7a7d commit 512680a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% endif %}

{% set timeline_content = timeline %}
{% if timeline['field_hs_time_title'] is defined %}
{% if timeline['field_hs_time_title'] is defined and timeline['field_hs_time_title'][0] is defined %}
{% set timeline_content %}
<{{ heading_tag }} class="hb-timeline__title">
{{ timeline['field_hs_time_title'] }}
Expand Down

0 comments on commit 512680a

Please sign in to comment.