When a user has too short a password or otherwise fails to meet account requirements, the reason may not be obvious. We should include the reason for failure in a message (illegal characters, password too short, missing confirmation, ...). This task is limited to app side validation. However, when available (T47843), the API may be used[0] to show failed requirements as reported by the server.
[0] https://www.mediawiki.org/wiki/API_talk:Login#Localized_error_messages






