Html has always supported disabled=disabled as a valid form for boolean attributes, and the reason for that is it permitted the shortened attribute disabled to be defined. I even tried unrestricted, but no luck, here is the error: File c:\program files\windowspowershell\modules\microsoftteams\5.5.0\microsoftteams.psm1 cannot be.
I would like to explicitly set a button as enabled in the html file. If you care about writing valid xhtml, use disabled=disabled, since is invalid and other alternatives are less readable. The reason is that my code later on toggles the button to disabled and if the code crashes or so i might see the button disabled.
Having disabled attribute on a by default does not let clicks go through element up to element. Else, just use as it is shorter. Disabled is a boolean attribute, which is just a fancy spec way of saying that the attribute is considered true if present (whether you use disabled=spaghetti or disabled=disabled is. So element does not even know that some clicks.</p>