wai-tutorials
wai-tutorials copied to clipboard
Use of output & meter element in Complete Password Example
Are there any reason not to use the elements output
and meter
in the Complete Password Example?
And if it is possible, is this the correct way to use them?
<label for="password">Mot de passe</label>
<input id="password" name="new-password" type="password" autocomplete="new-password" />
<output for="password">
<meter id="passwordmeter" value="3" min="0" max="4" low="3" high="3.9" optimum="4" title="Score">
</meter>
<span id="passwordmessage"></span>
</output>
No, I don’t think so. Those just weren’t widely used elements at the time.