Commit 00899dd9 by ahsan-ul-haq

Merge pull request #7118 from edx/ahsan/tnl-1554-missing-accessible-label-with-lms-nav-elements

Missing accessible label in lms <nav> elements.
parents 1d005086 d116f84c
...@@ -206,7 +206,7 @@ from edxmako.shortcuts import marketing_link ...@@ -206,7 +206,7 @@ from edxmako.shortcuts import marketing_link
</div> </div>
% endif % endif
<nav> <nav aria-label="${_('Course About')}">
<a href="#" class="active">${_("Overview")}</a> <a href="#" class="active">${_("Overview")}</a>
## <a href="#">${_("FAQ")}</a> ## <a href="#">${_("FAQ")}</a>
## <a href="#">${_("Requirements")}</a> ## <a href="#">${_("Requirements")}</a>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</ul> </ul>
</div> </div>
</div> </div>
<nav class="nav-actions"> <nav class="nav-actions" aria-label="${_('Notification Actions')}">
<h3 class="sr">${_('Notification Actions')}</h3> <h3 class="sr">${_('Notification Actions')}</h3>
<ul> <ul>
<li class="nav-item"><a class="btn action-primary action-reverify" href="${reverse('verify_student_midcourse_reverify_dash')}">Re-verify</a></li> <li class="nav-item"><a class="btn action-primary action-reverify" href="${reverse('verify_student_midcourse_reverify_dash')}">Re-verify</a></li>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</p> </p>
</div> </div>
</div> </div>
<nav class="nav-actions"> <nav class="nav-actions" aria-label="${_('Notification Actions')}">
<h3 class="sr">${_('Notification Actions')}</h3> <h3 class="sr">${_('Notification Actions')}</h3>
<ul> <ul>
<li class="nav-item"><a class="btn action-primary action-reverify" href="${reverse('verify_student_midcourse_reverify_dash')}">Re-verify</a></li> <li class="nav-item"><a class="btn action-primary action-reverify" href="${reverse('verify_student_midcourse_reverify_dash')}">Re-verify</a></li>
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
<section class="container"> <section class="container">
<div class="course-wrapper"> <div class="course-wrapper">
<section aria-label="${_('User Profile')}" class="user-profile"> <section class="user-profile">
<nav> <nav aria-label="${_('User Profile')}">
<article class="sidebar-module discussion-sidebar"> <article class="sidebar-module discussion-sidebar">
<%include file="_user_profile.html" /> <%include file="_user_profile.html" />
......
...@@ -110,7 +110,7 @@ $("#open_close_accordion a").click(function(){ ...@@ -110,7 +110,7 @@ $("#open_close_accordion a").click(function(){
<section class="book"> <section class="book">
<section class="page"> <section class="page">
<nav> <nav aria-label="${_('Page')}">
<ul> <ul>
<li class="last"> <li class="last">
<a href="javascript:prev_page()">${_('Previous page')}</a> <a href="javascript:prev_page()">${_('Previous page')}</a>
......
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
<img id="face_image" src="" style="display: none;"/> <img id="face_image" src="" style="display: none;"/>
<nav class="nav-wizard" id="face_id_next_button_nav"> <nav class="nav-wizard" id="face_id_next_button_nav" aria-label="${_('Verification')}">
<div class="prompt-verify"> <div class="prompt-verify">
<h3 class="title">Before proceeding, please review carefully</h3> <h3 class="title">Before proceeding, please review carefully</h3>
......
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
</div> </div>
</div> </div>
<nav class="nav-wizard" id="face_next_button_nav"> <nav class="nav-wizard" id="face_next_button_nav" aria-label="${_('Verification')}">
<span class="help help-inline">${_("Once you verify your photo looks good, you can move on to step 2.")}</span> <span class="help help-inline">${_("Once you verify your photo looks good, you can move on to step 2.")}</span>
<ol class="wizard-steps"> <ol class="wizard-steps">
...@@ -271,7 +271,7 @@ ...@@ -271,7 +271,7 @@
</div> </div>
</div> </div>
<nav class="nav-wizard" id="photo_id_next_button_nav"> <nav class="nav-wizard" id="photo_id_next_button_nav" aria-label="${_('Verification')}">
<span class="help help-inline">${_("Once you verify your ID photo looks good, you can move on to step 3.")}</span> <span class="help help-inline">${_("Once you verify your ID photo looks good, you can move on to step 3.")}</span>
<ol class="wizard-steps"> <ol class="wizard-steps">
...@@ -364,7 +364,7 @@ ...@@ -364,7 +364,7 @@
</ol> </ol>
</div> </div>
<nav class="nav-wizard"> <nav class="nav-wizard" aria-label="${_('Verification')}">
<div class="prompt-verify"> <div class="prompt-verify">
<h3 class="title">Before proceeding, please confirm that your details match</h3> <h3 class="title">Before proceeding, please confirm that your details match</h3>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment