<input>
where aria-describedby
should be accessible nameThe purpose this test is to show the cascade order of how accessible descriptions are applied in the accessibility tree for the <input>
element. The priority order from highest to lowest is:
aria-describedby
value (as per the "Cat" example below).title
value.This example should not be considered proper practice, and is for testing purposes only.
<label for="fish">Fish</label>
<input
type="text"
id="fish"
aria-describedby="cat"
title="rabbit"
placeholder="fox"
>
<div id="cat">
Cat
</div>