@simeon4real
Posted
I added before pseudo-elements to with contents like content: "facebook";
etc for all 3. and then hid it using visibility or opacity. still, the report still says I have to fix it. what else can I do?
Looking to hire developers?
Submitted
@simeon4real
Done with the challenge. will appreciate comments and recommendations, thanks! š
@simeon4real
Posted
I added before pseudo-elements to with contents like content: "facebook";
etc for all 3. and then hid it using visibility or opacity. still, the report still says I have to fix it. what else can I do?
@mattstuddert
Posted
Awesome work on this challenge, Simeon! You've done a really good job on this challenge and your solution matches up really well to the design! Here are a couple of small pointers after taking a look at your solution:
You've done a really good job on this. Keep up the great work! š
@simeon4real
Posted
@mattstuddert Thanks Sir. For fixing the accessibility issues, Since there's nothing to use in between the hyperlink tag, can I use a space like this: <a href="linktofacebook.com" >Ā & nbsp ;<svg></svg>
just before the svg icon?
@mattstuddert
Posted
@simeon4real you can either add text inside of the anchor tag and then hide it but making sure it's still accessible for screen reader users. Or you can add the aria-label
attribute on the anchor tag itself to describe what it's for e.g. <a aria-label="Follow us on Facebook" href="...">...</a>
.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord