Skip to content

Commit

Permalink
♿ [#4717] Added textual alternative to pdf logo content
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmolen committed Nov 11, 2024
1 parent b157531 commit 973f78d
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,21 @@
{% include 'includes/design-tokens.html' with skip_csp=True %}
</head>

{% if config.organization_name %}
{% blocktranslate with name=config.organization_name asvar logo_alt trimmed %}
Logo {{ name }}
{% endblocktranslate %}
{% else %}
{% trans "Logo" as logo_alt %}
{% endif %}

<body class="A4">

<section class="sheet padding-10mm">
<header class="header {% if theme.logo %}header--has-logo{% endif %}">
<span
class="header__logo"
{% if theme.logo %}role="img"{% endif %}
{% if theme.logo %}role="img" aria-label="{{ logo_alt }}"{% endif %}
></span>
</header>

Expand Down

0 comments on commit 973f78d

Please sign in to comment.