WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: I am looking to purchase form code that has spam block and is accessible.

for

Number of posts in this thread: 13 (In chronological order)

From: Carolyn Baggoo
Date: Wed, Feb 04 2009 6:25PM
Subject: I am looking to purchase form code that has spam block and is accessible.
No previous message | Next message →

I need code for a simple form that is both accessible and has some sort of spam block. Does anyone know where I can find some?

From: Seth Kane
Date: Fri, Feb 06 2009 8:40AM
Subject: Re: I am looking to purchase form code that has spam block andis accessible.
← Previous message | Next message →

I am sure there are a ton of captcha out there that are accessible but a
way that I have done it is with a simple math question.


Example: In the Label you would put: Please enter in the value for the
math problem 1 + 1 This way people without disabilities know what to do as well as people
with disabilities.



Seth Kane Sr. Presentation Layer Developer Office +1 (312) 696-5027
Fax +1 (312) 616-5001

-----Original Message-----
From: = EMAIL ADDRESS REMOVED =
[mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of Carolyn
Baggoo
Sent: Wednesday, February 04, 2009 7:23 PM
To: WebAIM Discussion List
Subject: [WebAIM] I am looking to purchase form code that has spam block
andis accessible.


I need code for a simple form that is both accessible and has some sort
of spam block. Does anyone know where I can find some?

From: J. B-Vincent
Date: Fri, Feb 06 2009 8:55AM
Subject: Re: I am looking to purchase form code that has spam block andis accessible.
← Previous message | Next message →

Seth: I'm a big fan of your solution, except that it may be problematic for people with dyscalculia (= math-related learning disabilities).
 
reCAPTCHA is another strategy that provides both visual and audio access. See http://www.captcha.net/
 
Jane
 
*****
 
Jane Vincent
Accessibility/Usability Manager
Center for Accessible Technology
Berkeley, CA
www.cforat.org

--- On Fri, 2/6/09, Seth Kane < = EMAIL ADDRESS REMOVED = > wrote:

From: Seth Kane < = EMAIL ADDRESS REMOVED = >
Subject: Re: [WebAIM] I am looking to purchase form code that has spam block andis accessible.
To: = EMAIL ADDRESS REMOVED = , "WebAIM Discussion List" < = EMAIL ADDRESS REMOVED = >
Date: Friday, February 6, 2009, 7:39 AM

I am sure there are a ton of captcha out there that are accessible but a
way that I have done it is with a simple math question.


Example: In the Label you would put: Please enter in the value for the
math problem 1 + 1 This way people without disabilities know what to do as well as people
with disabilities.



Seth Kane Sr. Presentation Layer Developer Office +1 (312) 696-5027
Fax +1 (312) 616-5001

-----Original Message-----
From: = EMAIL ADDRESS REMOVED =
[mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of Carolyn
Baggoo
Sent: Wednesday, February 04, 2009 7:23 PM
To: WebAIM Discussion List
Subject: [WebAIM] I am looking to purchase form code that has spam block
andis accessible.


I need code for a simple form that is both accessible and has some sort
of spam block. Does anyone know where I can find some?

From: Peter Krantz
Date: Fri, Feb 06 2009 9:00AM
Subject: Re: I am looking to purchase form code that has spam block andis accessible.
← Previous message | Next message →

Hi!

Some people consider math questions a problem for users with cognitive
disabilities. I always try to solve the problem on the server side
before implementing captchas on the user side. A little more for one
person (the developer) removes a lot of work for many people (users).

Recently I implemented a website where users could create comments in
a web framework called Django. When a user creates a comment (no
captcha) the comment is sent to the Akismet service
(http://akismet.com/). Depending on the reply from Akismet the comment
is presented on the website. So far Akismet has stopped a lot of drive
by spam and I have had no mistakenly flagged comments.

Akismet has code examples for many programming languages.

Kind regards,

Peter Krantz


On Fri, Feb 6, 2009 at 16:39, Seth Kane < = EMAIL ADDRESS REMOVED = > wrote:
> I am sure there are a ton of captcha out there that are accessible but a
> way that I have done it is with a simple math question.
>
>
> Example: In the Label you would put: Please enter in the value for the
> math problem 1 + 1 > This way people without disabilities know what to do as well as people
> with disabilities.
>
>
>
> Seth Kane Sr. Presentation Layer Developer Office +1 (312) 696-5027
> Fax +1 (312) 616-5001
>
> -----Original Message-----
> From: = EMAIL ADDRESS REMOVED =
> [mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of Carolyn
> Baggoo
> Sent: Wednesday, February 04, 2009 7:23 PM
> To: WebAIM Discussion List
> Subject: [WebAIM] I am looking to purchase form code that has spam block
> andis accessible.
>
>
> I need code for a simple form that is both accessible and has some sort
> of spam block. Does anyone know where I can find some?
>
>
>

From: Carolyn Baggoo
Date: Fri, Feb 06 2009 9:05AM
Subject: Re: I am looking to purchase form code that has spam block andis accessible.
← Previous message | Next message →

Thanks so much for this tip, this is great!! I did find this code, I think this guy is awesome that he is willing to share it with others. He gives it away because he only wants to make the web more accessible.
http://green-beast.com/blog/?page_id=71#s

CAROLYN BAGGOO
Barrier Free Website Design and Print Media
www.bfwd.biz


--- On Fri, 2/6/09, Seth Kane < = EMAIL ADDRESS REMOVED = > wrote:

> From: Seth Kane < = EMAIL ADDRESS REMOVED = >
> Subject: RE: [WebAIM] I am looking to purchase form code that has spam block andis accessible.
> To: = EMAIL ADDRESS REMOVED = , "WebAIM Discussion List" < = EMAIL ADDRESS REMOVED = >
> Received: Friday, February 6, 2009, 10:39 AM
> I am sure there are a ton of captcha out there that are
> accessible but a
> way that I have done it is with a simple math question.
>
>
> Example: In the Label you would put: Please enter in the
> value for the
> math problem 1 + 1 > This way people without disabilities know what to do as
> well as people
> with disabilities.
>
>
>
> Seth Kane Sr. Presentation Layer Developer Office +1
> (312) 696-5027
> Fax +1 (312) 616-5001
>
> -----Original Message-----
> From: = EMAIL ADDRESS REMOVED =
> [mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of
> Carolyn
> Baggoo
> Sent: Wednesday, February 04, 2009 7:23 PM
> To: WebAIM Discussion List
> Subject: [WebAIM] I am looking to purchase form code that
> has spam block
> andis accessible.
>
>
> I need code for a simple form that is both accessible and
> has some sort
> of spam block. Does anyone know where I can find some?
>
>
>
>

From: Randall Pope
Date: Fri, Feb 06 2009 9:10AM
Subject: Re: I am looking to purchase form code that has spam blockandis accessible.
← Previous message | Next message →

I hate to break the bubble of using any form of CAPTCHA. Many deafblind
using Braille cannot access the audio and visual information on the screen.
If the CAPTCHA can be access through Braille display or similar devices then
it's not a problem.

With Warm Regards,
Randall "Randy" Pope
American Association of the Deaf-Blind
Website: http://www.aadb.org

301 495-4402 VP/TTY
301 495-4403 Voice
301 495-4404 Fax
AIM: RandyAADB

Want to keep up with the latest news in the Deaf-Blind Community? Consider
subscribing to the monthly newsletter, "AADB Today" at http://aadb.org. It's
free and AADB membership is not required.


-----Original Message-----
From: = EMAIL ADDRESS REMOVED =
[mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of J. B-Vincent
Sent: Friday, February 06, 2009 10:55 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] I am looking to purchase form code that has spam
blockandis accessible.

Seth: I'm a big fan of your solution, except that it may be problematic for
people with dyscalculia (= math-related learning disabilities).
 
reCAPTCHA is another strategy that provides both visual and audio access.
See http://www.captcha.net/
 
Jane
 
*****
 
Jane Vincent
Accessibility/Usability Manager
Center for Accessible Technology
Berkeley, CA
www.cforat.org

--- On Fri, 2/6/09, Seth Kane < = EMAIL ADDRESS REMOVED = > wrote:

From: Seth Kane < = EMAIL ADDRESS REMOVED = >
Subject: Re: [WebAIM] I am looking to purchase form code that has spam block
andis accessible.
To: = EMAIL ADDRESS REMOVED = , "WebAIM Discussion List"
< = EMAIL ADDRESS REMOVED = >
Date: Friday, February 6, 2009, 7:39 AM

I am sure there are a ton of captcha out there that are accessible but a
way that I have done it is with a simple math question.


Example: In the Label you would put: Please enter in the value for the
math problem 1 + 1 This way people without disabilities know what to do as well as people
with disabilities.



Seth Kane Sr. Presentation Layer Developer Office +1 (312) 696-5027
Fax +1 (312) 616-5001

-----Original Message-----
From: = EMAIL ADDRESS REMOVED =
[mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of Carolyn
Baggoo
Sent: Wednesday, February 04, 2009 7:23 PM
To: WebAIM Discussion List
Subject: [WebAIM] I am looking to purchase form code that has spam block
andis accessible.


I need code for a simple form that is both accessible and has some sort
of spam block. Does anyone know where I can find some?

From: Cliff Tyllick
Date: Fri, Feb 06 2009 9:15AM
Subject: Re: I am looking to purchase form code that has spam blockandis accessible.
← Previous message | Next message →

I have seen another variation. At times, the question is a (presumably random) simple math question. At other times, the question asks you to enter a single character: "Please enter the letter 'g' in the field below:"

Presumably, this makes it hard enough to screen out more bots; easy enough for real people to get it right.

I'll see if they'll share the code snippet... or perhaps someone else out there has it.

>>> Carolyn Baggoo < = EMAIL ADDRESS REMOVED = > 2/6/2009 9:50 AM >>>

Thanks so much for this tip, this is great!! I did find this code, I think this guy is awesome that he is willing to share it with others. He gives it away because he only wants to make the web more accessible.
http://green-beast.com/blog/?page_id=71#s

CAROLYN BAGGOO
Barrier Free Website Design and Print Media
www.bfwd.biz


--- On Fri, 2/6/09, Seth Kane < = EMAIL ADDRESS REMOVED = > wrote:

> From: Seth Kane < = EMAIL ADDRESS REMOVED = >
> Subject: RE: [WebAIM] I am looking to purchase form code that has spam block andis accessible.
> To: = EMAIL ADDRESS REMOVED = , "WebAIM Discussion List" < = EMAIL ADDRESS REMOVED = >
> Received: Friday, February 6, 2009, 10:39 AM
> I am sure there are a ton of captcha out there that are
> accessible but a
> way that I have done it is with a simple math question.
>
>
> Example: In the Label you would put: Please enter in the
> value for the
> math problem 1 + 1 > This way people without disabilities know what to do as
> well as people
> with disabilities.
>
>
>
> Seth Kane Sr. Presentation Layer Developer Office +1
> (312) 696-5027
> Fax +1 (312) 616-5001
>
> -----Original Message-----
> From: = EMAIL ADDRESS REMOVED =
> [mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of
> Carolyn
> Baggoo
> Sent: Wednesday, February 04, 2009 7:23 PM
> To: WebAIM Discussion List
> Subject: [WebAIM] I am looking to purchase form code that
> has spam block
> andis accessible.
>
>
> I need code for a simple form that is both accessible and
> has some sort
> of spam block. Does anyone know where I can find some?
>
>
>
>

From: Jared Smith
Date: Fri, Feb 06 2009 9:45AM
Subject: Re: I am looking to purchase form code that has spam blockandis accessible.
← Previous message | Next message →

CAPTCHA is NOT the solution for stopping spam (or arguably anything
else). If you're simply looking to stop spam, you can do so without
burdening the user or influencing accessibility. I wrote about many
techniques for detecting and stopping spam at
http://webaim.org/blog/spam_free_accessible_forms/

We get several hundred and sometimes thousands of spam attempts per
day on the contact form on our site. I've implemented 4 simple
techniques that stop all of it. I get a couple per month - and those
are probably human spammers anyway.

First, I have a short list of 20 bad, spammy words that the message is
checked against. If the bad words are in the e-mail, it shows a
friendly error message and asks them to fix it.

Second, I've added a text box at the bottom of the form that is hidden
with CSS in a way that it does not display and it is not read by
screen readers. In case styles are disabled and the user happens to
see the text box, the label indicates that you should not enter
anything into that text box. Most bots put something into the field
and the message is flagged as spam.

Third, when the page is loaded, I write the current time to the page.
If it takes more than an hour from that time for the form to be
submitted, I throw an error and ask them to try again. Because most
bots don't actually submit the form on your site, but instead capture
the form elements and then re-submit them externally at a later time,
this catches many bots.

Finally, I check the message for some basic patterns of common spam
content. If there are lots of links or urls or if the form contains
code that is commonly used to hack PHP forms ("bcc:", "cc:",
"multipart", or "Content-Type"), I also flag it as spam.

These simple things have no impact on the user and stop 99.9% of spam.
They may be a bit of a pain to implement (I'm happy to send you the
code off-list), but I believe it is should be our burden to deal with
such things and we shouldn't place that burden on the end user in a
way that will always affect accessibility.

Jared Smith
WebAIM

From: Carolyn Baggoo
Date: Fri, Feb 06 2009 10:35AM
Subject: Re: I am looking to purchase form code that has spam blockandis accessible.
← Previous message | Next message →

This is great! Please send me the code. I would really appreciate it. Thank you so much.

CAROLYN BAGGOO
Barrier Free Website Design and Print Media
www.bfwd.biz

From: Randall Pope
Date: Fri, Feb 06 2009 10:45AM
Subject: Re: I am looking to purchase form code that has spamblockandis accessible.
← Previous message | Next message →

Love this approach. Send me the code as well. Many thanks.

With Warm Regards,
Randall "Randy" Pope
American Association of the Deaf-Blind
Website: http://www.aadb.org

301 495-4402 VP/TTY
301 495-4403 Voice
301 495-4404 Fax
AIM: RandyAADB

Want to keep up with the latest news in the Deaf-Blind Community? Consider
subscribing to the monthly newsletter, "AADB Today" at http://aadb.org. It's
free and AADB membership is not required.

-----Original Message-----
From: = EMAIL ADDRESS REMOVED =
[mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of Carolyn Baggoo
Sent: Friday, February 06, 2009 12:35 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] I am looking to purchase form code that has
spamblockandis accessible.

This is great! Please send me the code. I would really appreciate it. Thank
you so much.

CAROLYN BAGGOO
Barrier Free Website Design and Print Media
www.bfwd.biz

From: Randy Pearson
Date: Fri, Feb 06 2009 11:10AM
Subject: Re: I am looking to purchase form code that has spam blockandis accessible.
← Previous message | Next message →

I like this too, particularly the second item of hidden form field that bots
just cannot resist ;).

We've implemented something similar to the timestamp approach, but instead
vary the form field name/id. Seems like the bots read a form and then
provide the names to a second process to submit. That second process is not
going to see the same form name, so the validation fails. When we combined
this with a policy checkbox ("I agree not to mis-use this resource..." or
whatever), our spam submittals dropped to zero.

-rp

From: Jared Smith
Date: Fri, Feb 06 2009 11:45AM
Subject: Re: I am looking to purchase form code that has spam blockandis accessible.
← Previous message | Next message →

You can download the basic code for what we use at
http://webaim.org/temp/spamdetection.txt You can also try it out at
http://webaim.org/temp/spamdetection.php It doesn't actually send
mail, so play all you want.

A few notes:

- This is PHP, but could easily be duplicated in any other scripting language.

- Be sure to change the $sendto address at the top to your e-mail address.

- This is not fool-proof, but will stop almost all spam sent to your
site by bots.

- On our live sites, we use scripting to set focus directly to the
feedback messages. We also use scripting and tabindex="-1" so that the
error links set focus directly to the relevant form fields.

Jared Smith
WebAIM

From: Carolyn Baggoo
Date: Fri, Feb 06 2009 12:55PM
Subject: Re: I am looking to purchase form code that has spam blockandis accessible.
← Previous message | No next message

Thank you so much!!!

CAROLYN BAGGOO
Barrier Free Website Design and Print Media
www.bfwd.biz