Merge pull request #17591 from edx/LEARNER-4233/change-main-tags
Replace main tag with div to compliance HTML5 standard
This commit is contained in:
@@ -80,7 +80,7 @@ from openedx.features.portfolio_project import INCLUDE_PORTFOLIO_UPSELL_MODAL
|
||||
</div>
|
||||
</header>
|
||||
<div class="page-content">
|
||||
<main class="page-content-main">
|
||||
<div class="page-content-main">
|
||||
% if course_home_message_fragment:
|
||||
${HTML(course_home_message_fragment.body_html())}
|
||||
% endif
|
||||
@@ -94,7 +94,7 @@ from openedx.features.portfolio_project import INCLUDE_PORTFOLIO_UPSELL_MODAL
|
||||
% if outline_fragment:
|
||||
${HTML(outline_fragment.body_html())}
|
||||
% endif
|
||||
</main>
|
||||
</div>
|
||||
<aside class="page-content-secondary course-sidebar">
|
||||
% if has_goal_permission:
|
||||
<div class="section section-goals ${'' if current_goal else 'hidden'}">
|
||||
|
||||
@@ -12,7 +12,7 @@ from django.utils.translation import ugettext as _
|
||||
from openedx.core.djangolib.markup import HTML, Text
|
||||
%>
|
||||
|
||||
<main role="main" class="course-outline" id="main" tabindex="-1">
|
||||
<main class="course-outline" id="main" aria-label="Content" tabindex="-1">
|
||||
% if blocks.get('children'):
|
||||
<ol class="block-tree">
|
||||
% for section in blocks.get('children'):
|
||||
|
||||
Reference in New Issue
Block a user