The attribute disabled
is only valid on the following elements: button, input, textarea, option, select, fieldset, optgroup, task-lists.
<!-- incorrect -->
<a href='https://github.com/' disabled>Go to GitHub</a>
<!-- correct -->
<button disabled>Continue</button>