Problem: Interacting with these forms via screen reader is really confusing.

Solution: Get the screen reader to play captcha module's Challenge Description (which is skipped when displayed as a fieldset description). Do this by prepending it to the challenge question.

Comments

bryanhirsch’s picture

StatusFileSize
new2.2 KB

Proposed patch attached. This does two things:
1. prepends Challenge Description in front of text-based challenge
2. form_alters forms with text captcha challenges to unset the duplicative fieldset description provided by captcha module

Anonymous’s picture

StatusFileSize
new2.06 KB

Re-applied to 7.x-1.x

bryanhirsch’s picture

StatusFileSize
new1.7 KB

After testing a bit, I think this patch is a better approach. Here's what does:
1. Create a new text field on the admin page for a Text Captcha challenge description
2. Prepends this before the text captcha challenge question
3. Wraps challenge question in span tags so it can be themed to be visually distinct from the description
Screen shot here.

Unlike the first patch I submitted, this does not unset Captcha's Challenge Description. In retrospect, that approach was too aggressive.

theneonlobster’s picture

StatusFileSize
new1.94 KB

I have made a couple minor adjustments to the patch, replacing the span with a div, and wrapping the Text Captcha challenge description in a span for easier styling.

theneonlobster’s picture

StatusFileSize
new2.16 KB

The previous patch would not apply to the 7.x-1.x branch. The attached patch will.

bryanhirsch’s picture

@theneonlobster, thanks. Good improvements.

bryanhirsch’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.