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
17 lines
607 B
HTML
17 lines
607 B
HTML
<%page expression_filter="h"/>
|
|
<%inherit file="accomplishment-base.html" />
|
|
<%! from django.utils.translation import ugettext as _ %>
|
|
|
|
% if user.is_authenticated() and user.id == int(accomplishment_user_id):
|
|
<%include file="_accomplishment-banner.html" />
|
|
% endif
|
|
<%include file="_accomplishment-introduction.html" />
|
|
|
|
<%include file="_accomplishment-rendering.html" />
|
|
<div class="wrapper-about">
|
|
<aside role="complementary" class="about" aria-label=${_("About edX Certificates")}>
|
|
<%include file="_about-edx.html" />
|
|
<%include file="_about-accomplishments.html" />
|
|
</aside>
|
|
</div>
|