VirtueMart Forum

VirtueMart 2 + 3 + 4 => 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!