Closed DanWebb closed 1 year ago
I'm not sure this can be implemented as a lint rule, it might need to be added as an additional style guide maybe in the readme
:tada: This issue has been resolved in version 1.5.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Don't use
<b>
or<i>
.They have no semantic meaning.
They're ignored by screenreaders.
A
<b>
could be styled to be not bold. So the fact it visually appears as bold by default doesn't mean anything in html, styles should be handled by CSS, strong is still relevant as it still has meaning if it's styled as not bold.<strong>
tags are intended to be used for emphasis so have semantic meaning, but we should be careful to not use them for visual styling for the same reason.