<div class="dso-searchbar">
<input type="text" id="searchbar" class="form-control" placeholder="Zoeken" />
<span class="dso-searchbar-icon" aria-hidden="true"></span>
<label for="searchbar">Zoeken</label>
<button type="button">Open zoeken</button>
</div>
<div class="dso-searchbar{{#if open }} dso-open{{/if}}">
<input type="text" id="{{ id }}" class="form-control" placeholder="{{ label }}" />
<span class="dso-searchbar-icon" aria-hidden="true"></span>
<label for="{{ id }}">{{ label }}</label>
<button type="button">Open zoeken</button>
</div>
__title: 'Example: Open/Close'
__explanation: Animatie demo
__switches:
- name: state
label: Open/sluit
id: searchbar
label: Zoeken
There are no notes for this item.
This element's text is placed on a background image. Ensure the contrast ratio between the text and all covered parts of the image are at least 4.5:1.
<label for="state-switch">Open/sluit</label>
Check that the title element describes the document.
<title>Searchbar
Check that a change of context does not occur when this input field receives focus.
<input type="checkbox" id="state-switch">