WCAG provides an example of error mapping using the aria-invalidand properties aria-describedby.
In your example, the code would look like this:
<label>
<b>Username</b>
<input aria-invalid="true" aria-describedby="error">
<strong id="error">Username already taken :(</strong>
</label>
strong , . alert ( status) #error W3C.