Accessible names in forms

Naming a form control

First of all: use a visible label.

Order of retrieving the accessible name

The HTML5 way


A placeholder is not a label

aria-label

Disadvantage: you don't have a visible label. But it does give the form control an accessible name.

A placeholder and aria-label

Aria-labelledby

Your question

Aria-describedby

Is additional to the label text, and is useful to add extra information.


Please use a password of minimal 8 characters.