- This topic has 4 replies, 3 voices, and was last updated 5 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Corpo Eye Pro › Empty HREF
Tagged: anchor, empty href, empty link, link
Hi,
The following has an empty HREF.
Is there an update? There shouldn’t be any empty HREFs.
Thanks!
wp-content\themes\corpo-eye-pro\inc\hook\custom.php
line 95
Hello @hammondone,
There is the # link, the href is not empty. For your information, the #link should be the same as the menu id or else it won’t work.
For example in wp-content\themes\corpo-eye-pro\inc\hook\custom.php line no: 95 and 96. The Id and the #link should be same which is “mob-menu” and “#mob-menu” respectively.
Also, the mobile menu is controlled through the JS code.
Hope this clears the confusion.
Thank you.
Regards!!
What I mean is that there is no clickable element in the tag.
This is how it outputs to the browser:
<a id="mobile-trigger" href="#mob-menu"><i class="fa fa-bars"></i></a>
That is an “empty” href. There is no clickable item within the anchor the tag, so therefore it is empty.
You cannot click on this: <i class="fa fa-bars"></i>
HREFs should never be empty.
This exact issue is giving me fits! It is now the lone error I am getting on my site using multiple accessibility tools. My school is facing a lawsuit over ADA compliance and we have fixed everything but this one empty href error showing up in Google Accessibility Audit, WAVE, SortSite and AChecker. Some of the scan tools also don’t like the tag <i></i> (https://support.siteimprove.com/hc/en-gb/articles/115002726312-Accessibility-Bold-vs-Strong-and-Italic-vs-Emphasis), either. I can’t get a clean scan anywhere to send my lawyer. This is a good theme, please make it come into the modern day.
Hello @molly and @hammondone,
We will further discuss your query and let you know.
Thank you.
Happy New Year 🙂
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |