--- title: 'HTML: Een goede basis voor toegankelijkheid' slug: Learn/Accessibility/HTML translation_of: Learn/Accessibility/HTML ---
Een bijzonder groot deel van alle webcontent kan toegankelijk gemaakt worden door correcte HTML elementen te gebruiken voor het juiste doel. Dit artikel gaat in detail over hoe HTML gebruikt kan worden om maximale toegankelijkheid te garanderen.
Vereisten: |
basiscomputervaardigheden, basiskennis van HTML (zie Introductie in HTML) en inzicht in wat toegankelijkheid is. |
---|---|
Doel: |
Vertrouwd raken met HTML functies die toegankelijkheidsvoordelen hebben en hoe je deze op de juiste manier kunt gebruiken in je webdocumenten. |
Naarmate je meer leert over HTML - des te meer bronnen je leest, des te meer voorbeelden je bekijkt, enz. - blijf je een terugkerend thema zien: het belang van het gebruik van semantische HTML (ook wel POSH of 'Plain Old Semantic HTML' genoemd). Dit betekent eigenlijk niets anders dan zoveel mogelijk gebruik maken van de juiste HTML-elementen voor hun juiste doel.
Je vraagt je misschien af waarom dit zo belangrijk is? Je kunt immers een combinatie van CSS en JavaScript gebruiken om zo ongeveer elk HTML-element te laten werken zoals je wilt. Een control button om een video op uw site af te spelen, kan bijvoorbeeld als volgt worden gemarkeerd:
<div>Speel video af</div>
Maar zoals je verderop in dit artikel in meer detail zult zien, is het logisch om het juiste HTML element voor deze taak te gebruiken:
<button>Speel video af</button>
Niet alleen HTML <button> s hebben standaard een geschikte stijl toegepast (die je waarschijnlijk wilt overschrijven), ze hebben ook een ingebouwde toetsenbordtoegankelijkheid - ze kunnen namelijk worden weergegeven tussen tabbladen en worden geactiveerd met Return / Enter.
Het schrijven van semantische HTML duurt niet langer dan niet-semantische (slechte) markup. En als je dit consequent vanaf het begin van je project doet heeft het ook andere voordelen dan alleen toegankelijkheid:
Laten we meer in detail duiken, en toegankelijke HTML bekijken.
N.b.: het is een goed idee om een schermlezer in te stellen op uw lokale computer, zodat u de onderstaande voorbeelden kunt testen. Raadpleeg de handleiding voor schermlezers (Screenreaders guide) voor meer informatie.
We hebben al gesproken over het belang van goede semantiek en waarom we het juiste HTML-element voor het juiste doel moeten gebruiken. Deze taak mag niet worden genegeerd. Het is een van de belangrijkste punten waarop toegankelijkheid misloopt als het niet goed wordt toegepast.
De rauwe waarheid van het internet is dat mensen heel vreemde dingen doen met HTML-markup. Het misbruik van HTML is te wijten aan legacy-praktijken die niet volledig zijn vergeten, en soms is het gewoon onwetendheid. Hoe het ook zij, je dient dergelijke slechte code altijd te vervangen. Waar je deze ook ziet, wanneer je maar kunt.
Soms ben je niet altijd in de positie om slechte markup te verwijderen - zo kunnen je pagina's worden gegenereerd door een soort server-side framework waar je geen volledige controle over hebt, of dat je inhoud van derden op je pagina hebt (zoals als advertentiebanners) waar je geen controle over hebt.
Het doel is echter niet "alles of niets". Elke verbetering die je kunt maken, zal de gedachte achter toegankelijkheid helpen.
Een van de beste toegankelijkheidshulpmiddelen die een gebruiker van een schermlezer kan hebben, is een goede inhoudsstructuur van kopjes, alinea's, lijsten, enz. Een goed semantisch voorbeeld kan er ongeveer zo uitzien:
<h1>Mijn heading</h1> <p>Dit is de eerste sectie van mijn document.</p> <p>En ik voeg hier nog een paragraaf toe.</p> <ol> <li>Hier is</li> <li>een lijst voor</li> <li>jou om te lezen</li> </ol> <h2>Mijn subheading</h2> <p>Dit is de eerste subsectie van mijn document. Ik hou van mensen die mijn content kunnen vinden!</p> <h2>Mijn 2e subheading</h2> <p>Dit is de tweede subsectie van mijn document. Ik denk dat deze nog interessanter is dan de andere.</p>
We hebben een andere versie voor je voorbereid met wat langere teksten. Deze kun je uitproberen met een screenreader (zie good-semantics.html). Als je hierdoor heen probeert te navigeren, dan zie je dat dit vrij eenvoudig is om jezelf doorheen te navigeren:
Soms schrijven mensen headings, paragrafen, enz. alleen als presentaarbare HTML en bijv. met line-breaks (<br>). Zoiets als onderstaande:
<font size="7">Mijn heading</font> <br><br> Dit is de eerste sectie van mijn document. <br><br> Ik zal hier nog een paragraaf toevoegen. <br><br> 1. Hier is <br><br> 2. een lijst voor <br><br> 3. jou om te lezen <br><br> <font size="5">Mijn subheading</font> <br><br> Dit is de eerste subsectie van mijn document. Ik hou van mensen die mijn content kunnen vinden! <br><br> <font size="5">My 2nd subheading</font> <br><br> Dit is de tweede subsectie van mijn document. Ik denk dat deze nog interessanter is dan de andere.
Als je onze langere versie uitprobeert met een screenreader (zie bad-semantics.html), dan zul je zien dat je niet echt een goede ervaring hebt. De screenreader kan niets als wegwijzer gebruiken, dus je kunt ook geen bruikbare inhoudsopgave vinden. De hele pagina wordt zo gezien als één gigantisch blok, dus daarom het gewoon in één keer volledig uitgelezen.
Er zijn nog andere zaken die nog verder gaan dan toegankelijkheid. Het is bijvoorbeeld moeilijker om de inhoud te stijlen met CSS, of het manipuleren met Javascript. Er zijn immers geen elementen die als 'selectors' kunnen worden gebruikt.
De taal die je gebruikt, kan ook de toegankelijkheid beìnvloeden. Over het algemeen moet je zo duidelijk mogelijke taal gebuiken die niet overdreven complex is, en geen onnodig jargon bevat. Dit komt niet alleen ten goede aan mensen met cognitieve of andere handicaps; het komt alle lezers ten goede voor wie de tekst niet in hun eerste taal is geschreven, voor oudere mensen, voor jongere mensen ... eigenlijk iedereen! Daarnaast zou je altijd moeten proberen om taal en karakters te vermijden die niet duidelijk worden voorgelezen door de schermlezer. Bijvoorbeeld:
Vroeger in de 'niet-zo-goede-oude-tijd' maakten mensen gebruik van HTML-tabellen om paginalay-outs te maken - ze gebruikten verschillende tabelcellen om de kop-, voettekst-, zijbalk-, hoofdinhoudskolom, enz. te gebruiken. Dit is geen goed idee, omdat een schermlezer hoogstwaarschijnlijk hele verwarrende zaken zal uitlezen, vooral als de lay-out complex is en veel geneste tabellen bevat.
Probeer ons table-layout.html voorbeeld. Dit ziet er ongeveer zo uit:
<table width="1200"> <!-- main heading row --> <tr id="heading"> <td colspan="6"> <h1 align="center">Header</h1> </td> </tr> <!-- nav menu row --> <tr id="nav" bgcolor="#ffffff"> <td width="200"> <a href="#" align="center">Home</a> </td> <td width="200"> <a href="#" align="center">Ons team</a> </td> <td width="200"> <a href="#" align="center">Projecten</a> </td> <td width="200"> <a href="#" align="center">Contact</a> </td> <td width="300"> <form width="300"> <input type="search" name="q" placeholder="Zoeken" width="300"> </form> </td> <td width="100"> <button width="100">Zoek!</button> </td> </tr> <!-- spacer row --> <tr id="spacer" height="10"> <td> </td> </tr> <!-- main content and aside row --> <tr id="main"> <td id="content" colspan="4" bgcolor="#ffffff"> <!-- main content goes here --> </td> <td id="aside" colspan="2" bgcolor="#ff80ff" valign="top"> <h2>Gerelateerd</h2> <!-- aside content goes here --> </td> </tr> <!-- spacer row --> <tr id="spacer" height="10"> <td> </td> </tr> <!-- footer row --> <tr id="footer" bgcolor="#ffffff"> <td colspan="6"> <p>©Copyright 2050 by nobody. All rights reversed.</p> </td> </tr> </table>
Als je probeert hierdoor heen te navigeren met een schermlezer, zal het waarschijnlijk zeggen dat er een tabel moet worden bekeken (hoewel sommige schermlezers het verschil tussen tabel-lay-outs en gegevenstabellen kunnen raden). Je zult dan waarschijnlijk (afhankelijk van welke schermlezer je gebruikt) als object naar de tabel moeten gaan en apart naar de functies kijken, en dan weer uit de tabel gaan om verder door de inhoud te kunnen navigeren.
Tabel-lay-outs zijn een overblijfsel uit het verleden - ze waren logisch terug toen CSS-ondersteuning niet wijdverspreid was in browsers. Maar ze creëren verwarring voor schermlezers-gebruikers en zijn ook slecht voor veel andere redenen (onnodig gebruik van tabellen, betwistbaar meer markup, ontwerp maken wordt minder handig). Doe het niet!
Je kunt deze opvattingen verifiëren door je eerdere ervaring te vergelijken met een moderner voorbeeld van een websitestructuur (more modern website structure example), dat zou er ongeveer zo uit kunnen zien:
<header> <h1>Header</h1> </header> <nav> <!-- main navigatie hier --> </nav> <!-- Hiet is onze pagina's main content --> <main> <!-- Het bevat een article --> <article> <h2>Article heading</h2> <!-- article content gaat hier --> </article> <aside> <h2>Gerelateerd</h2> <!-- aside content gaat hier --> </aside> </main> <!-- En hier onze onze main footer die gebruikt worden op al onze pagina's in onze website --> <footer> <!-- footer content gaat hier --> </footer>
Als je ons modernere HTML structuurvoorbeeld met een schermlezer probeert, zie je dat de opmaakmarkering niet langer in de weg zit en de inhoud keurig uitgelezen wordt. Het is ook veel schoner en kleiner qua hoeveelheid code. Dit betekent dat code eenvoudiger te onderhouden is en minder bandbreedte kost voor de gebruiker om de code te downloaden (dus vooral belangrijk voor mensen met langzame verbindingen!).
Een andere overweging bij het maken van lay-outs is het gebruik van HTML5-semantische elementen zoals te zien in het bovenstaande voorbeeld (zie content sectioning). Je kunt een lay-out maken met alleen geneste {{htmlelement ("div")}} elementen, maar het is beter om de juiste sectie te gebruiken elementen om je hoofdnavigatie in te pakken ({{htmlelement ("nav")}}), footer ({{htmlelement ("footer")}}), contenteenheden ({{htmlelement ("article")}}), enz. te herhalen Deze bieden extra semantiek voor schermlezers (en andere hulpmiddelen) om de gebruiker extra aanwijzingen te geven over de inhoud waarin ze navigeren (zie Screen Reader Support for new HTML5 Section Elements voor een idee van hoe ondersteuning voor schermlezers eruit ziet).
N.b.: Naast je inhoud met een goede semantiek en een aantrekkelijke lay-out, moet deze logisch en zinvol zijn in de bronvolgorde - je kunt deze later altijd plaatsen waar je wilt met behulp van CSS, maar je moet eerst de bronvolgorde in orde krijgen. Dit is namelijk hetgeen wat gebruikers van schermleesprogramma's word voorgelezen.
Met UI-besturingselementen bedoelen we de belangrijkste delen van webdocumenten waarmee gebruikers communiceren - meestal knoppen, links en formulierbesturingselementen. In deze sectie zullen we kijken naar de fundamentele toegankelijkheidsproblemen waar je rekening mee moet houden bij het maken van dergelijke besturingselementen. Andere artikelen over WAI-ARIA en multimedia zullen andere aspecten van UI-toegankelijkheid toelichten.
Een belangrijk aspect van de toegankelijkheid van UI-besturingselementen is dat browsers standaard toestaan dat ze door het toetsenbord worden gemanipuleerd. Je kunt dit uitproberen met ons native-keyboard-accessibility.html voorbeeld (zie de source code) - open dit op een nieuw tabblad en probeer de tabtoets in te drukken; na een paar keer drukken, zou je moeten zien dat de tab-focus begint om door de verschillende focusseerbare elementen te bewegen; de gefocuste elementen krijgen een gemarkeerde standaardstijl in elke browser (deze verschilt enigszins tussen verschillende browsers), zodat je kunt zien welk element is gefocust.
Je kunt vervolgens op Enter / Return drukken om een gefocusde link te volgen of op een knop te drukken (we hebben wat JavaScript toegevoegd om de knoppen een bericht te laten 'alert'). Of begin met typen om een tekst in te voeren in een text input (andere formulierelementen hebben verschillende bedieningselementen, bijvoorbeeld het element {{htmlelement ("select")}} kan zijn opties laten weergeven en rouleren zodra je de pijltjestoetsen omhoog en omlaag gebruikt).
N.b.: Verschillende browsers hebben mogelijk verschillende toetsenbordbesturingsopties beschikbaar. Zie Using native keyboard accessibility voor meer informatie.
Eigenlijk krijg je dit gedrag in principe gratis, gewoon door alleen maar de juiste elementen te gebruiken, bijvoorbeeld:
<h1>Links</h1> <p>Dit is een link naar <a href="https://www.mozilla.org">Mozilla</a>.</p> <p>Nog een link, naar <a href="https://developer.mozilla.org">Mozilla Developer Network</a>.</p> <h2>Buttons</h2> <p> <button data-message="Dit is van de eerste button">Klik mij!</button> <button data-message="Dit is van de tweede button">Klik mij ook!</button> <button data-message="Dit is van de derde button">En mij ook!</button> </p> <h2>Formulier</h2> <form> <div> <label for="name">Vul je naam in:</label> <input type="text" id="name" name="name"> </div> <div> <label for="age">Voeg je leeftijd toe:</label> <input type="text" id="age" name="age"> </div> <div> <label for="mood">Hoe voel je je vandaag:</label> <select id="mood" name="mood"> <option>Blij</option> <option>Verdrietig</option> <option>Boos</option> <option>Bezorgd</option> </select> </div> </form>
Dit betekent dat je op de juiste manier links, knoppen, formulierelementen en labels gebruikt (inclusief het element {{htmlelement ("label")}} voor formulierbesturingselementen).
Het is echter altijd zo dat mensen soms rare dingen doen met HTML. Je ziet bijvoorbeeld soms knoppen gemaakt worden met behulp van {{htmlelement ("div")}} s, bijvoorbeeld:
<div data-message="Dit is van de eerste button">Klik mij!</div> <div data-message="Dit is van de tweede button">Klik mij ook!</div> <div data-message="Dit is van de derde button">En mij ook!</div>
Het gebruik van dergelijke code wordt sterk afgeraden - je verliest namelijk onmiddellijk de toegankelijkheid voor het native toetsenbord die je wel zou hebben gehad als je net {{htmlelement ("button")}} -elementen had gebruikt. Daarnaast is het zo dat je geen van de standaard CSS-styling krijgt die knoppen automatisch meekrijgen.
Adding such advantages back in takes a bit of work (you can an example code in our fake-div-buttons.html example — also see the source code). Here we've given our fake <div>
buttons the ability to be focused (including via tab) by giving each one the attribute tabindex="0"
:
<div data-message="This is from the first button" tabindex="0">Click me!</div> <div data-message="This is from the second button" tabindex="0">Click me too!</div> <div data-message="This is from the third button" tabindex="0">And me!</div>
Basically, the {{htmlattrxref("tabindex")}} attribute is primarily intended to allow tabbable elements to have a custom tab order (specified in positive numerical order), instead of just being tabbed through in their default source order. This is nearly always a bad idea, as it can cause major confusion. Use it only if you really need to, for example if the layout shows things in a very different visual order to the source code, and you want to make things work more logically. There are two other options for tabindex
:
tabindex="0"
— as indicated above, this value allows elements that are not normally tabbable to become tabbable. This is the most useful value of tabindex
.tabindex="-1"
— this allows not normally tabbable elements to receive focus programmatically, e.g. via JavaScript, or as the target of links. Whilst the above addition allows us to tab to the buttons, it does not allow us to activate them via the Enter/Return key. To do that, we had to add the following bit of JavaScript trickery:
document.onkeydown = function(e) { if(e.keyCode === 13) { // The Enter/Return key document.activeElement.click(); } };
Here we add a listener to the document
object to detect when a button has been pressed on the keyboard. We check what button was pressed via the event object's keyCode
property; if it is the keycode that matches Return/Enter, we run the function stored in the button's onclick
handler using document.activeElement.click()
. activeElement
gives us the element that is currently focused on the page.
This is a lot of extra hassle to build the functionality back in. And there's bound to be other problems with it. Better to just use the right element for the right job in the first place.
UI control text labels are very useful to all users, but getting them right is particularly important to users with disabilities.
You should make sure that your button and link text labels are understandable and distinctive. Don't just use "Click here" for your labels, as screenreader users sometimes get up a list of buttons and form controls. The following screenshot shows our controls being listed by VoiceOver on Mac.
Make sure your labels make sense out of context, read on their own, as well as in the context of the paragraph they are in. For example, the following shows an example of good link text:
<p>Whales are really awesome creatures. <a href="whales.html">Find out more about whales</a>.</p>
but this is bad link text:
<p>Whales are really awesome creatures. To find more out about whales, <a href="whales.html">click here</a>.</p>
Note: You can find a lot more about link implementation and best practices in our Creating hyperlinks article. You can also see some good and bad examples at good-links.html and bad-links.html.
Form labels are also important, for giving you a clue what you need to enter into each form input. The following seems like a reasonable enough example:
Fill in your name: <input type="text" id="name" name="name">
However, this is not so useful for disabled users. There is nothing in the above example to associate the label unambiguously with the form input, and make it clear how to fill it in if you cannot see it. If you access this with some screenreaders, you may only be given a description along the lines of "edit text".
The following is a much better example:
<div> <label for="name">Fill in your name:</label> <input type="text" id="name" name="name"> </div>
With the code like this, the label will be clearly associated with the input; the description will be more like "Fill in your name: edit text".
As an added bonus, in most browsers associating a label with a form input means that you can click the label to select/activate the form element. This gives the input a bigger hit area, making it easier to select.
Note: you can see some good and bad form examples in good-form.html and bad-form.html.
A basic data table can be written with very simple markup, for example:
<table> <tr> <td>Name</td> <td>Age</td> <td>Gender</td> </tr> <tr> <td>Gabriel</td> <td>13</td> <td>Male</td> </tr> <tr> <td>Elva</td> <td>8</td> <td>Female</td> </tr> <tr> <td>Freida</td> <td>5</td> <td>Female</td> </tr> </table>
But this has problems — there is no way for a screenreader user to associate rows or columns together as groupings of data. To do this you need to know what the header rows are, and if they are heading up rows, columns, etc. This can only be done visually for the above table (see bad-table.html and try the example out yourself).
Now have a look at our punk bands table example — you can see a few accessibility aids at work here:
scope
attribute. This gives you complete groups of data that can be consumed by screen readers as single units.<table>
summary
attribute both do similar jobs — they act as alt text for a table, giving a screen reader user a useful quick summary of the table's contents. <caption>
is generally preferred as it makes it's content accessible to sighted users too, who might also find it useful. You don't really need both.Note: See our HTML table advanced features and accessibility article for some more details around accessible data tables.
Whereas textual content is inherently accessible, the same cannot necessarily be said for multimedia content — image/video content cannot be seen by visually-impaired people, and audio content cannot be heard by hearing-impaired people. We'll cover video and audio content in detail in the Accessible multimedia article later on, but for this article we'll look accessibility for the humble {{htmlelement("img")}} element.
We have a simple example written up, accessible-image.html, which features four copies of the same image:
<img src="dinosaur.png"> <img src="dinosaur.png" alt="A red Tyrannosaurus Rex: A two legged dinosaur standing upright like a human, with small arms, and a large head with lots of sharp teeth."> <img src="dinosaur.png" alt="A red Tyrannosaurus Rex: A two legged dinosaur standing upright like a human, with small arms, and a large head with lots of sharp teeth." title="The Mozilla red dinosaur"> <img src="dinosaur.png" aria-labelledby="dino-label"> <p id="dino-label">The Mozilla red Tyrannosaurus Rex: A two legged dinosaur standing upright like a human, with small arms, and a large head with lots of sharp teeth.</p>
The first image, when viewed by a screen reader, doesn't really offer the user much help — VoiceOver for example reads out "/dinosaur.png, image". It reads out the filename to try to provide some help. In this example the user will at least know it is a dinosaur of some kind, but often files may be uploaded with machine generated file names (e.g. from a digital camera) and these file names would likely provide no context to the image's content.
Note: This is why you should never include text content inside an image — screen readers simply can't access it. There are other disadvantages too — you can't select it and copy/paste it. Just don't do it!
When a screen reader encounters the second image, it reads out the full alt attribute — "A red Tyrannosaurus Rex: A two legged dinosaur standing upright like a human, with small arms, and a large head with lots of sharp teeth.".
This highlights the importance of not only using meaningful file names in case so-called alt text is not available, but also making sure that alt text is provided in alt
attributes wherever possible. Note that the contents of the alt
attribute should always provide a direct representation of the image and what it conveys visually. Any personal knowledge or extra description shouldn't be included here, as it is not useful for people who have not come across the image before.
One thing to consider is whether your images have meaning inside your content, or whether they are purely for visual decoration, so have no meaning. If they are decorational, it is better to write an empty text as a value for alt
attribute (see Empty alt attributes) or to just include them in the page as CSS background images.
Note: Read Images in HTML and Responsive images for a lot more information about image implementation and best practices.
If you do want to provide extra contextual information, you should put it in the text surrounding the image, or inside a title
attribute, as shown above. In this case, most screenreaders will read out the alt text, the title attribute, and the filename. In addition, browsers display title text as tooltips when moused over.
Let's have another quick look at the fourth method:
<img src="dinosaur.png" aria-labelledby="dino-label"> <p id="dino-label">The Mozilla red Tyrannosaurus ... </p>
In this case, we are not using the alt
attribute at all — instead, we have presented our description of the image as a regular text paragraph, given it an id
, and then used the aria-labelledby
attribute to refer to that id
, which causes screenreaders to use that paragraph as the alt text/label for that image. This is especially useful if you want to use the same text as a label for multiple images — something that isn't possible with alt
.
Note: aria-labelledby
is part of the WAI-ARIA spec, which allows developers to add in extra semantics to their markup to improve screenreader accessibility where needed. To find out more about how it works, read our WAI-ARIA Basics article.
Images also have another mechanisms available for providing descriptive text. For example, there is a longdesc
attribute that is meant to point to a separate web document containing an extended description of the image, for example:
<img src="dinosaur.png" longdesc="dino-info.html">
This sounds like a good idea, especially for infographics like big charts with lots of information on that could perhaps be represented as an accessible data table instead (see previous section). However, longdesc
is not supported consistently by screenreaders, and the content is completely inaccessible to non-screenreader users. It is arguably much better to include the long description on the same page as the image, or link to it with a regular link.
HTML5 includes two new elements — {{htmlelement("figure")}} and {{htmlelement("figcaption")}} — which are supposed to associate a figure of some kind (it could be anything, not necessarily an image) with a figure caption:
<figure> <img src="dinosaur.png" alt="The Mozilla Tyrannosaurus"> <figcaption>A red Tyrannosaurus Rex: A two legged dinosaur standing upright like a human, with small arms, and a large head with lots of sharp teeth.</figcaption> </figure>
Unfortunately, most screenreaders don't seem to associate figure captions with their figures yet, but the element structure is useful for CSS styling, plus it provides a way to place a description of the image next to it in the source.
<h3> <img src="article-icon.png" alt=""> Tyrannosaurus Rex: the king of the dinosaurs </h3>
There may be times where an image is included in a page's design, but its primary purpose is for visual decoration. You'll notice in the code example above that the image's alt
attribute is empty — this is to make screen readers recognize the image, but not attempt to describe the image (instead they'd just say "image", or similar).
The reason to use an empty alt
instead of not including it is because many screen readers announce the whole image URL if no alt
is provided. In the above example, the image is acting as a visual decoration to the heading its associated with. In cases like this, and in cases where an image is only decoration and has no content value, you should put an empty alt
on your images. Another alternative is to use the aria role attribute role="presentation" — this also stops screens readers from reading out alternative text.
Note: if possible you should use CSS to display images that are only decoration.
You should now be well-versed in writing accessible HTML for most occasions. Our WAI-ARIA basics article will also fill in some gaps in this knowledge, but this article has taken care of the basics. Next up we'll explore CSS and JavaScript, and how accessibility is affected by their good or bad use.
{{PreviousMenuNext("Learn/Accessibility/What_is_Accessibility","Learn/Accessibility/CSS_and_JavaScript", "Learn/Accessibility")}}