Files
edx-platform/lms/templates/certificates/_accomplishment-header.html
Adeel Khan d9d4ae5535 Fix invalid certificate page for a11y and translation.
Invalid certificate page has hardcoded lang='en' for
html, that would cause a11y issue for other languages user.
Some of screen reader text is not under translation. This patch
would fix both issues.

LEARNER-3110
2018-01-25 14:02:12 +05:00

16 lines
493 B
HTML

<%page expression_filter="h"/>
<%! from django.utils.translation import ugettext as _ %>
<div class="wrapper-header">
<header class="header-app" role="banner">
<h1 class="header-app-title">
<a class="logo" href="${logo_url}">
<img class="logo-img" src="${logo_src}" alt="${_('{platform_name} Home').format(platform_name=platform_name)}" />
</a>
<span class="sr-only">${logo_subtitle}</span>
</h1>
</header>
</div>