Jan_Dittrich added a comment.

@Lucas_Werkmeister_WMDE:
Can you insert a screenshot of the gadget in the issue on top?

Note: In the current version, if the check is not satisfied, the user gets shown a regex.

Basic Problems:

  • We can't expect users to know regex (of our 5 example users/personas, only 1 or 2 know what it is.
  • Even if you know regex, they are hard to read even for experienced people

So, usability heuristics to apply here:

  • "Match between system and the real world" (we should use concepts familiar to the user)
  • "Consistency and standards" – our other constraint infos are pretty well to understand, this one is not
  • "Help users recognize, diagnose, and recover from errors: Error messages should be expressed in plain language (no codes), precisely indicate the problem, and constructively suggest a solution."

For the latter, we don't satisfy any of the user needs. We should:

  • Say that it did not match [whateveritchecksfor], so like "The check for a URL failed.
  • say what the problem is: It seems that your url does not have an "https://" in the begin
  • suggest a fix, like "Try to add http:// or https:// in the beginning, if the URLs are otherwise correct"

So the error message would be: "Your input was checked and was not recognized as a URL


TASK DETAIL
https://phabricator.wikimedia.org/T102752

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Jan_Dittrich
Cc: Jan_Dittrich, Lydia_Pintscher, gerritbot, Esc3300, Lucas_Werkmeister_WMDE, Smalyshev, Aklapper, Jonaskeutel, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Izno, Luke081515, Wikidata-bugs, aude, fbstj, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to