Bear in mind that some of this functionality is actually built in to 1.5.7, so the relevance of this mod might only be 1.5.6 or prior.
Bear in mind that some of this functionality is actually built in to 1.5.7, so the relevance of this mod might only be 1.5.6 or prior.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
It's just a dumb input field... in past 155 and in 157 it's just an input field with no labels at all... In my mind, coming from years of reversing coding, code that looks like it belongs can easily get bypassed by human eyes, bots only see input and can't read labels... lest I've not tight my bot to read yet... Unfortunately, I use hidden labels which are label tags that live within the input field. When moving things over I try to change them so others can follow, but looks like I failed here..
The radio buttons, level2 is not meant to have labels but the FontAwesome computer/human icons.. This can be changed if you like to labels. Never should any of them be selected.
As a side note: while live I find that there is really no need for the fields other then to catch bots that use no url's or email address within any fields listed in the observer.
With ZC1.5.7, there is no need for this mod, and if you wish to clean this one, github is NonCAPTCHA our post an update to ZC. I've had issues with accessibility readers, basically I don't play well with them, so I can always use pointers..
Dave
Always forward thinking... Lost my mind!
Installed on 1.5.3. Turned off slider but still getting spam accounts. I did change hidden fields name under layout setting. Is there anything else I need to do to make it work?
Dave
Always forward thinking... Lost my mind!
Sorry for returning on this so late. I read it differently before and reread it with the latest post.
Accessibility does not care about a physical/visible label for a radio button but, it does penalize if a reader can't find something to tell the visually impaired what the button is about. Even with FontAwesome icons, the reader would want labels. From the FontAwesome folks.Thus, you won't find arial tags for the FontAwesome icons currently used in Zen Cart as the setting is already there.FontAwesome CDN helps you automate accessibility support more easily so your icons work for the most people possible. You only need turn on a setting, use our simple syntax, and any icons you use will have all of the best practices and manual techniques below applied automatically.
Meanwhile, until the buttons are converted to FontAwesome icons, sites will take an accessibility hit for no label in the code.
Good article at https://fontawesome.com/how-to-use/o.../accessibility talking about labeling being determined by the reason for using the icon.
Bottom line appears to be that everything gets a label even if the label is to tell the reader that the icon is just a decoration.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
I've not used FEC sense updating from ZC1.3.9 and advancing my template code.. There are no modules in this mod for create_account the existing code triggers the observerif FEC is missing that in its account creation form, or the $antiSpam tests, then CAPTCHA would fail! Also the latest download is for ZC156c so you should use a compare program to make changes in your older ZC.Code:$zco_notifier->notify('NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK');
I'm thinking I don't really want text readers speaking about hidden elements... After testing, the radio field can be deleted, bots seem to pass it by, however, they love the slider.. they always pick the last number in the max setting. Have you tested ZC157 simple input text field?@dbltoe
Accessibility does not care about a physical/visible label for a radio button but, it does penalize if a reader can't find something to tell the visually impaired what the button is about. Even with FontAwesome icons, the reader would want labels. From the FontAwesome folks.
Dave
Always forward thinking... Lost my mind!
Dave, I'm wondering about the jscript_nonCaptcha files. Two questions:
a) Does it make sense to just have one copy of the actual javascript logic, and have the individual jscript_ files include it, rather than replicating the same JS in 7 places?
b) It seems like after
var slideCol = document.getElementById("id1");
you should have
if (slideCol != null) {
for folks who set "Use Spam Slider" to False in Admin > Configuration > Layout Settings.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
The script was to mirror a number/word for the user to figure out where they was going. Script does no more then that. With IE it fails all together so maybe a IE kill.. Although a null would be good too.. I used the script with other scripts and just set it out by it self for the mod, With jscript_ wouldn't it load on all pages, not just forms? I did that with colorbox some time back and it loads everywhere.
Some results form past tracking. I'm still using this on my 156 site while setting up 157..
1) bots was not using the input field at all.
2) I had the input field set as type email and the auto-fill form plugins was hitting it. Remove type email and that fixed it.
3) bots would guess at the radio buttons, any selected would be wrong.
3) bots love the slider and would always pick the default or last number (max number).
With 157, no need for any of this so far. I'm almost done with my edits and started testing, well start deep testing soon..
I'm moving on, but I know some of you have to support older installs. The life of web masters.. I no longer have anything to do with Windoze or a need to hack it... IE decided slider should be as they wish it and not as all the others went with... Thus I couldn't get the script to have an IE response.
Last edited by davewest; 12 Nov 2020 at 12:33 AM.
Dave
Always forward thinking... Lost my mind!
If loaded in /includes/templates/TEMPLATENAME/jscript/jscript_xxxxxx.js (or.php) then yes.
But if loaded in /includes/modules/pages/PAGENAME/jscript_xxxxxxx.js(or .php) then only loads when ?main_page=PAGENAME
Ref: https://docs.zen-cart.com/user/templ...-jscript-files
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks