Channels ▼

Web Development

Implementing Audio CAPTCHA

Source Code Accompanies This Article. Download It Now.

Do You See What I See?

Watching Esther Williams tread water in those old 1940s movies is a cozy way to pass a rainy afternoon. But trying to decipher a computer screen with similarly swirling syllables is nobody's idea of a swank soiree. An audio CAPTCHA, on the other hand, is an attractive alternative to its visual counterpart.

Some people may be sufficiently turned off at the thought of navigating yet another visual CAPTCHA that they turn away from your site. Providing an alternative that may be easier for some people to navigate may prove an incentive for more people to unlock the virtual door to your site feedback.

Another reason for considering alternatives to visual CAPTCHA mechanisms involves a government regulation called "Section 508," officially known as "The Federal Electronic and Information Technology Accessibility and Compliance Act."

Section 508 ( says that when Federal agencies develop or use electronic information, they are required to make that information available to everyone equally. In the case of CAPTCHA, this means that people who are unable to read a CAPTCHA should have access to an alternate entry mechanism. At least, that's my translation of the regulation's government-ese.

To date, Section 508 requirements apply only to sites with financial ties to the federal government. However, it makes good sense, from a business as well as a human standpoint, to provide accessibility alternatives for people with different physical challenges. Think about implementing these alternatives on your personal website as well as the business sites you develop.

Related Reading

More Insights

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.