@1Zapien
Posted
Hello Kiran, since you are working on accessibility you should add aria labels to your media links.
For example: <a href="" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
This will add a label/context to your link which will be used by screen readers.
You can look into Aria here. Just use them when there are no semantic tags in HTML though.
@K-Mannnn
Posted
@1Zapien Hi Juan,
Thanks for leaving feedback. You have answered few of my questions regarding use of aria labels, I was a bit confused as I see people using them with semantic mark up and the docs suggest otherwise. But I'll improve on the accessibility further in upcoming projects. Thanks again, its very helpful.
@1Zapien
Posted
@K-Mannnn yea some people add them to semantic html but that will override the default ARIA semantics.