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.
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>
.