Skip to content

Commit 6205c3b

Browse files
microbit-markmicrobit-carlos
authored andcommitted
A11y: Update Help (#301)
1 parent 9c67605 commit 6205c3b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

help.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
<body>
4545

46-
<nav class="navbar navbar-inverse navbar-fixed-top">
46+
<nav role="navigation" class="navbar navbar-inverse navbar-fixed-top">
4747
<div class="container">
4848
<div class="navbar-header">
4949
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
@@ -52,13 +52,13 @@
5252
<span class="icon-bar"></span>
5353
<span class="icon-bar"></span>
5454
</button>
55-
<a class="navbar-brand" href="https://python.microbit.org">Python on the micro:bit</a>
55+
<a class="navbar-brand" href="https://python.microbit.org" aria-label="python editor">Python on the micro:bit</a>
5656
</div>
5757
<div id="navbar" class="collapse navbar-collapse">
5858
<ul class="nav navbar-nav">
5959
<li><a href="#Editor">Editor</a></li>
6060
<li><a href="#hello">Hello, World!</a></li>
61-
<li ><a href="#fs">Files and Modules</a></li>
61+
<li><a href="#fs">Files and Modules</a></li>
6262
<li id="nav-blocks" class="hidden"><a href="#blockly">Blockly</a></li>
6363
<li id="nav-snippets" class="hidden"><a href="#snippets">Snippets</a></li>
6464
<li><a href="#REPL">REPL</a></li>
@@ -69,22 +69,22 @@
6969
</div>
7070
</nav>
7171

72-
<div class="container">
72+
<main role="main" class="container">
7373

7474
<div class="starter-template">
7575
<div class="row" id="home">
7676
<div class="col-md-8 col-md-offset-2">
77-
<a href="http://microbit.org/"><img src="static/img/microbit.png"/></a>
78-
<a href="http://micropython.org/"><img src="static/img/micropython.jpeg"/></a>
79-
<a href="http://python.org/community/microbit/"><img src="static/img/python.png"/></a>
77+
<a href="http://microbit.org/" role="button" aria-label="microbit.org website"><img src="static/img/microbit.png" alt="micro:bit logo"/></a>
78+
<a href="http://micropython.org/" role="button" aria-label="micropython.org website"><img src="static/img/micropython.jpeg" alt="micropython logo"/></a>
79+
<a href="http://python.org/community/microbit/" role="button" aria-label="python.org micro:bit community"><img src="static/img/python.png" alt="python logo"/></a>
8080
<br/></br/>
8181
</div>
8282
</div>
8383
</div>
8484
</div>
8585
<div class="container">
8686
<img src="static/img/comic1.png" class="img-responsive center-block"
87-
alt="http://goo.gl/SrIrIE"/>
87+
alt="first steps with python"/>
8888
<h2 id="Editor"> The Editor</h2>
8989
<p>The Python editor is perfect for those who want to push their coding skills further.
9090
A selection of snippets and a range of pre-made images and music give you a helping hand with your code.
@@ -534,7 +534,7 @@ <h3>What next?</h3>
534534
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png" /></a> This work by <a xmlns:cc="http://creativecommons.org/ns#" href="http://python.org/community/microbit/" property="cc:attributionName" rel="cc:attributionURL">The Python Software Foundation</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
535535
</p>
536536
</footer>
537-
</div><!-- /.container -->
537+
</main><!-- /.container -->
538538
<!-- Bootstrap core JavaScript
539539
================================================== -->
540540
<!-- Placed at the end of the document so the pages load faster -->

0 commit comments

Comments
 (0)