<form class="dso-search">
<div class="dso-searchbar dso-animate ">
<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>
<button type="submit">Zoeken</button>
</form>
<form class="dso-search">
<div class="dso-searchbar dso-animate {{#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>
<button type="submit">{{ label }}</button>
</form>
__title: 'Example: Open/Close'
__explanation: >-
Animatie demo. Animates moeten aangezet worden dmv.
<code>.dso-searchbar.dso-animate</code>
__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">
If an input error is automatically detected in this form, check that the item(s) in error are identified and the error(s) are described to the user in text.
<form class="dso-search">
<div class="dso-searchbar dso-animate ">
<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>
<button type="submit">Zoeken</button>
</form>
Check that descriptive labels or instructions (including for required fields) are provided for user input in this form.
<form class="dso-search">
<div class="dso-searchbar dso-animate ">
<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>
<button type="submit">Zoeken</button>
</form>
Check that this form provides suggested corrections to errors in user input, unless it would jeopardize the security or purpose of the content.
<form class="dso-search">
<div class="dso-searchbar dso-animate ">
<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>
<button type="submit">Zoeken</button>
</form>
If this form would bind a user to a financial or legal commitment, modify/delete user-controllable data, or submit test responses, ensure that submissions are either reversible, checked for input errors, and/or confirmed by the user.
<form class="dso-search">
<div class="dso-searchbar dso-animate ">
<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>
<button type="submit">Zoeken</button>
</form>