Update Self Voicing Enabled authored by Schildhauer Niklas's avatar Schildhauer Niklas
......@@ -11,23 +11,22 @@ An example tool to implement the function is the webReader from the company Read
In the following code you can see how this tool is implemented. The media feature is used to hide the controls.
```html
<head>
<script type="text/javascript" src="//cdn1.readspeaker.com/..."></script>
<link type="text/css" rel="stylesheet" href="//cdn1.readspeaker.com/..."
media="(self-voicing-enabled)>
<style>
@media not (self-voicing-enabled) {
.readspeaker {
display: none;
}
<head>
<script type="text/javascript" src="//cdn1.readspeaker.com/..."></script>
<link type="text/css" rel="stylesheet" href="//cdn1.readspeaker.com/..." media="(self-voicing-enabled)>
<style>
@media not (self-voicing-enabled) {
.readspeaker {
display: none;
}
</style>
</head>
<body>
<div id="readspeaker_button" class="readspeaker">
...
</div>
</body>
}
</style>
</head>
<body>
<div id="readspeaker_button" class="readspeaker">
...
</div>
</body>
```
......
......