mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 15:06:32 +02:00
Add aria label to purpose form
This commit is contained in:
parent
5b7a6678c6
commit
014c387910
3 changed files with 6 additions and 2 deletions
|
@ -524,7 +524,9 @@ 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 you’ll 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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue