Initial ANDI screenreader fixes

This commit is contained in:
CocoByte 2024-10-08 17:48:25 -06:00
parent f299dc822c
commit 8d13ea2f9f
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
3 changed files with 9 additions and 3 deletions

View file

@ -27,6 +27,7 @@ class OrganizationTypeForm(RegistrarForm):
choices=DomainRequest.OrganizationChoicesVerbose.choices,
widget=forms.RadioSelect,
error_messages={"required": "Select the type of organization you represent."},
label="What kind of U.S.-based government organization do you represent?"
)
@ -70,6 +71,7 @@ class OrganizationFederalForm(RegistrarForm):
federal_type = forms.ChoiceField(
choices=BranchChoices.choices,
widget=forms.RadioSelect,
label = "Which federal branch is your organization in?",
error_messages={"required": ("Select the part of the federal government your organization is in.")},
)
@ -81,7 +83,8 @@ class OrganizationElectionForm(RegistrarForm):
(True, "Yes"),
(False, "No"),
],
)
),
label="Is your organization an election office?"
)
def clean_is_election_board(self):
@ -440,6 +443,7 @@ class OtherContactsForm(RegistrarForm):
message="Response must be less than 320 characters.",
)
],
help_text="Enter an email address in the required format, like name@example.com."
)
phone = PhoneNumberField(
label="Phone",