Many, many moons ago I petitioned to the Stack Exchange overlords to introduce stricter HTML <kbd>
element usage rules as people were misusing them to decorate hyperlinks (here).
The general consensus was that nothing could really be done and that the solution was simply:
Editing the post yourself to change the formatting to be correct is a perfectly fine solution, and I encourage any user to do so. If a user doesn't understand why you made the change, explain it to them or link them to a relevant question here on Meta. If they're insistent and keep rolling back the changes, then flagging for a moderator might be helpful, although we may already have a "rollback war" flag on the post. Sometimes a moderator indicating that the change is correct is all it takes, or locking the post may be the final option.
This is all well and good for questions and answers where we can leave comments, but unfortunately this has expended into Documentation. Not only are users marking up their hyperlinks with <kbd>
tags (like this!), but Documentation reviewers are actually accepting them!
Here's an example draft which introduced <kbd>
tags around every single link in the example which was subsequently accepted: https://stackoverflow.com/documentation/proposed/changes/63812. The content now looks like this:
What's worse is that this particular example had been modified twice since and neither of those users did anything about this pointless formatting abuse.
Furthermore, this user didn't modify just one example, they modified a whole load of them, and there's no way for me to directly contact them without spamming one of their existing questions or answers to let them know about it - not that doing so would get them to revert their own changes.
To put the icing on the cake, wrapping hyperlinks in <kbd>
tags is enough for a user to qualify for reputation. Every upvote on the example I linked will give the user +5 reputation, as it already has done:
...and to make it worse, me reverting all these silly <kbd>
tags now awards me with +5 reputation for every upvote. I'm no more deserving of this than these silly people are!
- Editors: Please stop misusing
<kbd>
tags. - Reviewers: Please stop approving misused
<kbd>
tags. - Moderators: Please do something because this makes me sad.
<kbd>
'ed link to a JSFiddle is not a real problem. (Mass edits adding the tags are, of course.)backticks
generate<code>
tags, too, and they are not used 100% correctly throughout the site. Used occasionally, neither practice impedes the readability of the content.<kbd>
- This is why we can't have nice things.<kbd>
tags look ugly.