input type=search
element test
input type=search
<input id="input1" type="search">
input type=search
with aria-label
aria-label
should be used as accessible name.
No accessible description.
<input id="input2" type="search" aria-label="aria-label attribute">
input type=search
with aria-labelledby
p
referenced by aria-labelledby
aria-labelledby
should be used as accessible name.
No accessible description.
<p id="si-003-labelledby">
<code>p</code> referenced by <code>aria-labelledby</code>
</p>
<input id="input3" type="search" aria-labelledby="si-003-labelledby">
input type=search
with label
label
should be used as accessible name.
No accessible description.
<label>
Label wrapping input
<input id="input4" type="search">
</label>
input type=search
with title
attributetitle
should be used as accessible name.
No accessible description.
<input id="input5" type="search" title="title attribute">
input type=search
with aria-describedby
p
referenced by aria-describedby
aria-describedby
should be used as accessible description.
No accessible name.
<input id="input6" type="search" aria-describedby="si-006-describedby">
<p id="si-006-describedby">
<code>p</code> referenced by <code>aria-describedby</code>
</p>
input type=search
with label
element
& title
attribute
label
should be used as accessible name
title
should be used as accessible description
<label for="input7">
Label referenced by for/id attributes
</label>
<input id="input7" type="search" title="title attribute">
Note: placeholder and aria-placeholder are tested as part of the placeholder attribute test.