wai-tutorials icon indicating copy to clipboard operation
wai-tutorials copied to clipboard

Use of output & meter element in Complete Password Example

Open vjacquet opened this issue 2 years ago • 1 comments

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>

vjacquet avatar May 29 '22 08:05 vjacquet

No, I don’t think so. Those just weren’t widely used elements at the time.

yatil avatar Jul 14 '22 14:07 yatil