By adarsh.sukumaran@dotcomm.org on Monday, 25 November 2019
Replies 5
Likes 0
Views 799
Votes 0
Hi,

I am using an event calendar on my website. the version 3.4.50. Now I am converting my website to follow ADA standards. When testing with the Wave tool, it detects errors on the Events calendar.
1) 2 X Missing form label
(A select box shows months, Another select box shows years missing labels.)

2) 1 X Empty link
(A print icon in the calendar missing text)

I found, when changing the file below may fix the issue. line number 97,
components\com_jevents\views\default\helpers\defaultviewhelperheader16.php
<span class="icon-print"> </span>

When I add 'Print' in the span the issue resolves.
<span class="icon-print"> Print </span>

I tried to override the file to avoid editing the core file. But it is not working.

How can I override the helper files in the component? Or are there any other ways to fix it?

Thanks in Advance.
Hello,

You can see:
https://www.jevents.net/frequently-asked-questions/customising-layouts

About customising layouts. We will be working to resolve accessbility tool errors in JEvents 3.5
·
5 years ago
·
0 Likes
·
1 Votes
·
0 Comments
·
Thank you, Tony, for the response.

But the content has to modify is in the helper's folder,
components\com_jevents\views\default\helpers\defaultviewhelperheader16.php

Here is a print icon, I have to add some text in between. Else its throwing error in the wave tool.

Thanks.
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Yep, so at the bottom of that page is:


Serious Changes
You realise you need to change or add a helper function (e.g. the iconic navigation bar)

Follow steps 1-2 from "basic changes"then

create a sub folder called helpers
copy the helper file e.g. defaultviewnavtablebariconic.php to this folder
modify as required


Which explains it exactly :-)

Many thanks
Tony
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, it is working.
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
You are very welcome!
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post