User:SignpostMarv/sandbox/hCaptcha

From Microformats Wiki
Jump to navigation Jump to search

Intended Use

Clients supporting hCaptcha, (say for example, Firefox) could present end-users with a configuration option for the types of captcha they wish to use.

  • If the client is configured for "audio only" captchas, the client would either only present (read "modify DOM") captchas identified as being audio captchas, or not download non-audio captchas (e.g. img or object data that isn't audio).
  • If the client is configured for "visual only" captchas, the client would either only present (read "modify DOM") captchas identified as being visual captchas (img or object data such as flash/quicktime etc), or not download non-visual captchas.
  • If the client is configured for "text only" captchas, the client would only display text-based captchas such as simple math questions, riddles etc.
  • If no preferred captcha is available, "fair-use" software could be employed to reverse engineer the available captchas into preferred formats.
  • Google's "Accesible Search" could use hCaptcha to help weight the results of pages using captchas.

Assessment of nefarious use of hCaptcha

While hCaptcha would make it easier for spammers to identify captchas in a page, it could also be used in a similar manner to Firefox's "AdBlock" extension- e.g. providing humans without ulterior motives a means of automatically filling in a captcha response. Either way, the result of a de-captcha program wouldn't be affected by the implementation of hCaptcha.

Draft Specification

Editor/Author

SignpostMarv

Implicit markup

The class value captcha applied to any non-data submission element implies that this element contains captcha content (e.g. a, img, object).

The class value captcha applied to a data-submission element implies that this element is for indicating the captcha response (e.g. input, textarea, select)


Explicit markup

The class value captcha applied to any non-data submission element implies that this element contains captcha content (e.g. a, img, object).

The class value captcha-response applied to any element implies this element is for indicating the captcha response.

Implementation Examples

<form>
  <label for="foo"><img class="captcha" src="http://example.com/captcha.png" alt="Follow the link after this image for an audio captcha" title="Captcha"> <a class="captcha" href="http://example.com/captcha.wav">audio captcha</a></label> <input id="foo" type="text" />
</form>
<form>
<fieldset>
  <div class="captcha"><img class="captcha" src="http://example.com/captcha2.png" alt="Follow the link after this image for an audio captcha" title="Captcha"> <a class="captcha" href="http://example.com/captcha2.wav">audio captcha</a></div>
  <ul>
      <li><label for="red">Red: </label><input class="captcha" type="radio" id="red" value="red" name="captcha2" /></li>
      <li><label for="green">Green: </label><input class="captcha" type="radio" id="green" value="green"/></li>
      <li><label for="blue">Blue: </label><input class="captcha" type="radio" id="blue" value="blue" /></li>
  </ul>
</fieldset>
</form>

Examples of captchas

Single response

Multiple response choices