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.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | improve-accessibility-2014753-5.patch | 2.16 KB | theneonlobster |
| #4 | improve-accessibility-2014753-4.patch | 1.94 KB | theneonlobster |
| #3 | improve-accessibility-2014753-3.patch | 1.7 KB | bryanhirsch |
| #2 | improve-accessibility-2014753-2.patch | 2.06 KB | Anonymous (not verified) |
| #1 | improve-accessibility-2014753-1.patch | 2.2 KB | bryanhirsch |
Comments
Comment #1
bryanhirsch commentedProposed 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
Comment #2
Anonymous (not verified) commentedRe-applied to 7.x-1.x
Comment #3
bryanhirsch commentedAfter 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.
Comment #4
theneonlobster commentedI 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.
Comment #5
theneonlobster commentedThe previous patch would not apply to the 7.x-1.x branch. The attached patch will.
Comment #6
bryanhirsch commented@theneonlobster, thanks. Good improvements.
Comment #7
bryanhirsch commented