This is an attribute that you can use when you do not have a <label> element in your HTML. It is important from an accessibility point of view, because when the accessibility device goes through the website and focuses on the input, it will provide an information what kind of information is required for this input.
Example
<input aria-label="username" name="username" type="text" />