Let's say I have the following markup:
<label for="input">Description<label>
<textarea id="input" aria-describedby="help"></textarea>
<div id="help">
<kbd>Enter<kbd> to create a new line
</div>
The aria-describedby tag references the help text which contains a <kbd> element as well. Is this valid? I read the following on MDN:
Note: The aria-describedby content should only be a text string. If there are important underlying semantics in the content, consider using aria-details.