Merge pull request #2904 from edx/dcs/a11y-header
Remove course name from page H1, and slightly improve sequence navigation
This commit is contained in:
@@ -19,7 +19,7 @@ ${page_title_breadcrumbs(course_name())}
|
||||
<%static:css group='style-course-vendor'/>
|
||||
<%static:css group='style-course'/>
|
||||
|
||||
<%block name="nav_skip">#course-content</%block>
|
||||
<%block name="nav_skip">${"#seq_content" if section_title else "#course-content"}</%block>
|
||||
|
||||
<%include file="../discussion/_js_head_dependencies.html" />
|
||||
|
||||
@@ -176,7 +176,7 @@ ${fragment.foot_html()}
|
||||
|
||||
% if accordion:
|
||||
<%include file="/dashboard/_dashboard_prompt_midcourse_reverify.html" />
|
||||
<%include file="/courseware/course_navigation.html" args="active_page='courseware'" />
|
||||
<%include file="/courseware/course_navigation.html" args="active_page='courseware'" />
|
||||
% endif
|
||||
|
||||
<div class="container">
|
||||
|
||||
@@ -36,33 +36,21 @@ site_status_msg = get_site_status_msg(course_id)
|
||||
% endif
|
||||
</%block>
|
||||
|
||||
|
||||
% if course:
|
||||
<header class="global slim" aria-label="${_('Global Navigation')}">
|
||||
% else:
|
||||
<header class="global" aria-label="${_('Global Navigation')}">
|
||||
% endif
|
||||
<nav>
|
||||
|
||||
<h1 class="logo">
|
||||
<a href="${marketing_link('ROOT')}">
|
||||
<%block name="navigation_logo">
|
||||
<img src="${static.url(branding.get_logo_url())}" alt="
|
||||
% if course:
|
||||
${course.display_org_with_default | h}: ${course.display_number_with_default | h} ${course.display_name_with_default | h} @
|
||||
% endif
|
||||
${platform_name()}
|
||||
" />
|
||||
</%block>
|
||||
</a>
|
||||
</h1>
|
||||
<header class="global ${"slim" if course else ""}" aria-label="${_('Global Navigation')}">
|
||||
<nav>
|
||||
<h1 class="logo">
|
||||
<a href="${marketing_link('ROOT')}">
|
||||
<%block name="navigation_logo">
|
||||
<img src="${static.url(branding.get_logo_url())}" alt="${platform_name()}"/>
|
||||
</%block>
|
||||
</a>
|
||||
</h1>
|
||||
|
||||
% if course:
|
||||
<h2><span class="provider">${course.display_org_with_default | h}:</span> ${course.display_number_with_default | h} ${course.display_name_with_default}</h2>
|
||||
<h2><span class="provider">${course.display_org_with_default | h}:</span> ${course.display_number_with_default | h} ${course.display_name_with_default}</h2>
|
||||
% endif
|
||||
|
||||
% if user.is_authenticated():
|
||||
|
||||
<ol class="left nav-global authenticated">
|
||||
<%block name="navigation_global_links_authenticated">
|
||||
% if settings.FEATURES.get('COURSES_ARE_BROWSABLE'):
|
||||
|
||||
Reference in New Issue
Block a user