Simple and to the point! 👏 Under "No semantic HTML", I would also mention the atrocity of using <span> instead of <button> for clickable elements just to skip the extra work of overwriting the browser's default styles.
Good point. At least add a role='button' to any non-button element with a click event. In addition, <a> should be used to navigate to another URL and should not be used as an alernative to <button>.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Simple and to the point! 👏 Under "No semantic HTML", I would also mention the atrocity of using
<span>
instead of<button>
for clickable elements just to skip the extra work of overwriting the browser's default styles.Good point. At least add a
role='button'
to any non-button element with a click event. In addition,<a>
should be used to navigate to another URL and should not be used as an alernative to<button>
.