VirtueMart Forum

VirtueMart 2 + 3 => General Questions => Topic started by: afentiko2000 on December 28, 2021, 17:21:06 pm

Title: Accessibility Issue
Post by: afentiko2000 on December 28, 2021, 17:21:06 pm
Our site needs to be WCAG 2.0 compliant. Running it through webaim.org, a last error is generated in the category page probably  from the core modal javascript. The hidden link:

<a id="sbox-btn-close" href="#" role="button" aria-controls="sbox-window"></a>

is empty. How do I remove this or hide this code?
J 3.9.25
VM 3.8.8
Title: Re: Accessibility Issue
Post by: GJC Web Design on December 28, 2021, 18:13:22 pm
can't find the id sbox-btn-close in the current VM 3.8.8
Title: Re: Accessibility Issue
Post by: jenkinhill on December 28, 2021, 19:56:55 pm
It's a Joomla file, not part of VM.  /media/system/js/modal.js
Title: Re: Accessibility Issue
Post by: GJC Web Design on December 28, 2021, 21:43:39 pm
Ah......
Title: Re: Accessibility Issue
Post by: afentiko2000 on December 30, 2021, 07:20:05 am
Thank you for the answers. I found it. I know that is not this forum's job to help, but because i am new in coding is there a way to make it disappear? Do i have to uncomment the specific line or place a text to href #  link?
Thank you in advance!