WordPress
WCAG 2.4.4 / 4.1.2 Standard
Fix empty links in WordPress
Add alt text to linked images and labels to icon links.
Verified against WordPress's official interface on .
- Check the sample element in your dashboard to see which link has no text.
- Linked images (logo, banners, image blocks with a link): give the image alt text that says where the link goes.
- Social Icons block: select each icon and fill in its Label in the sidebar (for example "Instagram").
- Theme or page-builder icons (cart, account, social): look for a label option in the theme or builder widget. If there isn't one, ask the theme developer or have a developer add an
aria-label. - Avoid links that wrap nothing but an icon font or an empty
<a>tag left over from old content.
Check it: publish your change, then run a new scan from your dashboard. The issue should drop off the list.
Want to understand who this issue affects and the WCAG criteria?Read Links with no text overview
Using a different website builder?
We also have verified step-by-step instructions for this same issue on other platforms: