Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
captcha
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
captcha
Merge requests
!85
Issue
#3221197
: add equation to captcha label for accessibility
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3221197
: add equation to captcha label for accessibility
issue/captcha-3221197:3221197-math-captcha-accessibility
into
2.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Open
Jay Darnell
requested to merge
issue/captcha-3221197:3221197-math-captcha-accessibility
into
2.x
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Closes
#3221197
0
0
Merge request reports
Compare
2.x
2.x (HEAD)
and
latest version
latest version
0306a5cf
1 commit,
1 year ago
1 file
+
1
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
captcha.module
+
1
−
2
Options
@@ -667,9 +667,8 @@ function captcha_captcha($op, $captcha_type = '') {
// or string overrides.
$result
[
'form'
][
'captcha_response'
]
=
[
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'Math question
'
),
'#title'
=>
t
(
'Math question
(@x + @y =)'
,
[
'@x'
=>
$x
,
'@y'
=>
$y
]
),
'#description'
=>
t
(
'Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.'
),
'#field_prefix'
=>
t
(
'@x + @y ='
,
[
'@x'
=>
$x
,
'@y'
=>
$y
]),
'#size'
=>
4
,
'#maxlength'
=>
2
,
'#required'
=>
TRUE
,
Loading