Skip to content

Commit

Permalink
SAK-38024 Lessons accessibility incorrect heading structure on pages (#…
Browse files Browse the repository at this point in the history
…12920)

Co-authored-by: Sharadhi <[email protected]>
  • Loading branch information
Sharadhi98 and Sharadhi authored Oct 1, 2024
1 parent 68e55b5 commit 27a3de2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lessonbuilder/tool/src/webapp/templates/ShowPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<div class="row mt-4">
<div class="column col-12 m-0 p-0 border-0">
<span rsf:id="tool-bar:" class="navIntraTool" role="application" aria-labelledby="tool-bar::toolbar-label">
<h3 id="toolbar-label" rsf:id="msg=simplepage.toolbar" class="lb-offscreen"></h3>
<h2 id="toolbar-label" rsf:id="msg=simplepage.toolbar" class="lb-offscreen"></h2>
<ul id="toolbar" class="d-inline">
<li class="contentButton">
<button class="btn btn-link my-1" type="button" data-bs-toggle="modal" rsf:id="addcontent" data-bs-target="#addContentDiv" aria-controls="addContentDiv" aria-expanded="false">
Expand Down Expand Up @@ -2384,7 +2384,7 @@ <h5 class="modal-title" id="titleModalLabel" rsf:id="msg=simplepage.title">simpl
<input type="hidden" id="activeQuestion" />
<div style="display:none" rsf:id="current-item-id"></div>

<h2 rsf:id="msg=simplepage.maincontent" class="lb-offscreen" id="maintablelabel"></h2>
<h3 rsf:id="msg=simplepage.maincontent" class="lb-offscreen" id="maintablelabel"></h3>
<!-- WARNING: javascript for add-break-section adds section, ul, li, and sectionedit markup, so if you change here, keep it in sync -->
<div rsf:id="sectionWrapper:">
<h3 rsf:id="sectionHeader" id="sectionHeader" class="sectionHeader">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#end
<div class="portal-main-container container-fluid mt-2">
<main id="$pageWrapperClass" class="portal-main-content #if( $numberTools > 1 || $homePage)Mrphs-multipleTools #end" role="main">
<h2 class="skip visually-hidden" tabindex="-1" id="tocontent">${rloader.sit_contentshead}</h2>
<h1 class="skip visually-hidden" tabindex="-1" id="tocontent">${rloader.sit_contentshead}</h1>
#parse("/vm/morpheus/includeSiteHierarchy.vm")
#parse("/vm/morpheus/snippets/siteStatus-snippet.vm")
#if ($pageTwoColumn)
Expand Down

0 comments on commit 27a3de2

Please sign in to comment.