Blog Post
Claudius
4 years agoBoss
Can you share why you've moved the AUTHOR label into a data attribute as in
<span class="badge1" data-badge="AUTHOR"></span>
instead of putting it into the inner HTML like
<span class="badge1">AUTHOR</span>
I can think you might have done it for accessibility reasons so that the "AUTHOR" badge is not read out by screen readers, but just wanted to confirm. Because I am not sure if screen reader users wouldn't also appreciate having access to this information.