Scroll to top button not accessible in Vantage theme
-
I am using SiteOrigin Builder with the Vantage theme. When I check my site with the Accessibility Checker plug-in, it tells me I have an improper use of link error due to an anchor tag not pointing anywhere or being classed as a button. , The code it displays appears where the scroll to top button would be:
<a href=”#” id=”scroll-to-top” class=”edac-removed-title” aria-label=”Back To Top” data-original-outline=”” data-original-offset=”” data-original-color=”” style=”text-decoration: underline;”><span class=”vantage-icon-arrow-up”></span></a>
I have tried toggling the scroll to top button off so it doesn’t display using Theme Settings >Customize > Navigation, and I have tried putting commands into Additional CSS to hide the code. But Accessibility Checker keeps telling me it is there. I am concerned about my site not being ADA compliant. What else can I do to remove this code?The blog I need help with is: (visible only to logged in users)
-
Hi there!
The “scroll to top” button and its underlying code are generated by the Vantage theme itself. Since this is built into the theme’s code, toggling the option off in the Customizer or hiding it with CSS may only affect the visual display, but the HTML markup can still remain in the page source — which is why the Accessibility Checker continues to flag it.
Unfortunately, fully removing or modifying that code would require a change at the theme level, which is something the SiteOrigin team would be best equipped to help with. I’d recommend reaching out to them directly — they can advise on how to properly remove the anchor tag from the theme’s output or update it to meet accessibility standards:
SiteOrigin Support: https://siteorigin.com/support/
As an alternative, if accessibility is a top priority for your site, you might also consider exploring some of the modern block themes available in our Theme Showcase. Many of them are built with accessibility best practices baked in from the start, which can save a lot of headaches down the road.
I hope this helps point you in the right direction!
- The topic ‘Scroll to top button not accessible in Vantage theme’ is closed to new replies.