Every time when I come from completely unexpected places on the Net to read mail on mail.ru, I come across the same unpleasant trifle. This "pebble in the shoe" finally got me so much that I decided to tell you about it.

The theater begins with a hanger, and the web service starts with authorization. Authorization form mail.ru is well known to everyone (who does not know, see screenshot). Since I enter, as I have already said, from the most unexpected places, every time I turn on the “Someone else's computer” checkbox so that the service does not substitute my login to the next person who has come to this page (or maybe he also does what this checkbox does not analyze). What could be easier, you say. Just click on the checkmark or
on its signature . All offline applications behave this way, most modern web services behave this way (for example, the checkboxes “Closed habratopic ...” and “Disable automatic hyphenation ...” on the page where I write this). But apparently those unfamiliar to me webmasters who made up the authorization form did not know about the wonderful
label
tag and its attribute
for
. Therefore, to set this checkbox, you must click on it.
For the sake of interest, I looked into the code. Here it is done now:
<td class = "check">
<input id = "alien" class = "check" type = "checkbox" tabindex = "4" value = "1" name = "level" />
</ td>
<td class = "bad"> Alien computer </ td>
and so, in my humble opinion, should be done:
<td class = "check">
<input id = "alien" class = "check" type = "checkbox" tabindex = "4" value = "1" name = "level" />
</ td>
<td class = "bad"> <label for = "alien"> Alien computer </ label> </ td>
Only one tag, even the id in the input field already exists. Work for 30 seconds with smoke breaks, and saving time for half a second for each user - how many logins do they have with the main one? Million a day? If 1% logs in from “Alien computer”, this is one and a half man-hours per day of saving universal time :)
PS I did not write this topic for the rebuke of mail.ru, but for the edification of future web-UI layout makers. Remember, even small things can help your product become the best in the world. Or interfere.
PSS Lovers minus karma - feel free to express your opinion in the comments, suddenly it will be interesting :)