Nothing
We transform grand ideas into pioneering products. With the power of design.
Nothing AG, Berne
?
?
?
?
Why they are important
Hey! This is very similar to Word's styles!
of screen readers
Screen readers read and convey semantic information only.
<a href="...">Click me!</a>
<p>Some text here.</p>
<h2>A second level heading</h2>
<input type="text">
<!-- Naah...! -->
<span role="link">Click me!</a>
They are not interested in visual stylings.
.heading {
font-weight: bold;
font-size: 28px; }
.link {
text-decoration: underline; }
To be conveyed through audio, an element's meaning must be obvious.
If an element is interactive, it must be obvious how to interact with it.
Traditional HTML is self-explanatory.
Custom solutions need manual explaining.
<label for="hobby">
Favourite Hobby
</label>
<select id="hobby">
<!-- List of <option>
elements -->
</select>
<!-- A JavaScript autocomplete -->
<label for="hobby">Favourite Hobby</label>
<input id="hobby" aria-describedby="desc">
<!-- Custom list of suggestions -->
<p id="description">
This is an autocomplete. Enter characters
to display suggestions, then select one.
</p>
If an element is interacted with, it must provide clear and immediate information on what's the result of the interaction.
<!-- A JavaScript autocomplete -->
<label for="hobby">Favourite Hobby</label>
<input id="hobby" aria-expanded="false">
<!-- List of (initially hidden) suggestions -->
<script>
// On focus, toggle aria-expanded="true"
// (and show list of suggestions).
</script>
our hands dirty!
Is quite an adventure...
You will make your way!
Nothing AG - We are unlocking human potential through technology.
By Nothing