-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ [#2752] Add accessible captcha #1397
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1397 +/- ##
========================================
Coverage 94.94% 94.94%
========================================
Files 1043 1043
Lines 38290 38291 +1
========================================
+ Hits 36353 36354 +1
Misses 1937 1937 ☔ View full report in Codecov by Sentry. |
832aae2
to
3f197a3
Compare
@@ -158,6 +157,7 @@ | |||
"two_factor", | |||
"two_factor.plugins.webauthn", | |||
"maykin_2fa", | |||
"simplemathcaptcha", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to this change my linter reformatted the file.
@@ -45,6 +47,12 @@ class ContactForm(Form): | |||
widget=forms.Textarea(attrs={"rows": "5"}), | |||
required=True, | |||
) | |||
captcha = MathCaptchaField( | |||
label=_("Beantwoord deze rekensom"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence has to be in "actief taalgebruik" and it also has to be "B1 niveau" so this is the best I could come up with.
16612ba
to
98da385
Compare
6f0ab56
to
f1f68e2
Compare
@@ -447,6 +447,10 @@ django-simple-certmanager==1.4.1 | |||
# -r requirements/base.txt | |||
# django-digid-eherkenning | |||
# zgw-consumers | |||
django-simple-math-captcha==2.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is enough for adding package.
Adding a package for captcha that is more accessible than 'mangled' images etc.https://taiga.maykinmedia.nl/project/open-inwoner/task/2752
New PR: #1417
Good to know:1. For users with visual impairments, image-based CAPTCHAs present multiple challenges. Text within these CAPTCHAs may be distorted or overlaid on complex backgrounds, making them hard to read2. Audio CAPTCHAs, which are meant to offer an alternative to visual CAPTCHAs, also have their issues. Often, the audio quality is poor
3. Interactive CAPTCHAs requiring precise mouse movements or quick responses can be a barrier for individuals with motor impairments
4. CAPTCHAs, which often involve complex instructions, problem-solving, deciphering ambiguous images, or solving puzzles, can impose an unnecessary cognitive load and be taxing for users with cognitive disabilities.
5. Many CAPTCHAs are not compatible with assistive technologies, such as screen readers