Open Bug 1546749 Opened 2 years ago Updated 1 year ago
Dojo Dijit's Validation
Text Box's dijit Validation Icon causes "X " to be saved as the username on login forms
Potential solutions: A) Ignore a value of "X " for the username field detection B) Ignore a match of .dijitValidationIcon for the username field detection C) Ignore elements with `tabIndex="-1"` for the username field detection D) Ignore elements with`readonly="readonly"` for the username field detection E) Ignore elements with `role="presentation"` for the username field detection Options C through E have the problem that they give sites additional ways to prevent saving data though maybe this is less of an issue for username fields than password fields. Keep in mind that attribute values could change at any point so, for example, @readonly at save time doesn't mean it was always read-only. We don't have much precedence for doing something like (A) or (B) outside recipes… we had talked before about having recipes that can understand frameworks that are used… I also though before about having global recipes to keep the complexity outside of LoginManagerContent.
You need to log in before you can comment on or make changes to this bug.