Firstly, I've seen a few people using <kbd>
tags to emphasise JSFiddle demo links, which goes against the W3C specification:
The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands).
There are situations where <kbd>
elements could have valid links, so there's no need to strip them out completely, but I can't ever see a need for a JSFiddle link within them.
Should JSFiddle links be blocked from <kbd>
tags?
The other thing is that there are currently no restrictions (or so it seems).
You can have an entire block of text within the <kbd>
tags if you so desired. which is silly.
You can also put images inside them, which seems a little unnecessary:
Does there need to be stricter formatting rules for the <kbd>
tag to limit anything which shouldn't normally appear within them?
<kbd>
tag. I figured that would be obvious, but let me edit it into my question.<kbd>
tags, which sparked this post: stackoverflow.com/revisions/15882334/1. The rest is just a result of toying with the<kbd>
tag to see if SO imposed any restrictions.status-declined
I've ever seen.