Merge pull request #3105 from cisagov/es/2914-request-purpose-screenreader

2914: Change screenreaderoutput of domain request purpose form [ES]
This commit is contained in:
Erin Song 2024-12-05 14:23:18 -08:00 committed by GitHub
commit f0b42fc8b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -527,7 +527,12 @@ class DotGovDomainForm(RegistrarForm):
class PurposeForm(RegistrarForm):
purpose = forms.CharField(
label="Purpose",
widget=forms.Textarea(),
widget=forms.Textarea(
attrs={
"aria-label": "What is the purpose of your requested domain? Describe how youll use your .gov domain. \
Will it be used for a website, email, or something else? You can enter up to 2000 characters."
}
),
validators=[
MaxLengthValidator(
2000,