-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix accessibility errors and alerts for broker registration views (#4402
) * edit plan page uplift (#4327) * first steps to plan details page * more work on cancellation * more improvements * finish UI changes * trying to fix form submittal * finish cancel plan work * need to run aptc update post outside * fix rspecs * fix cucumber * change form_for, remove bindings * cleanup rubocop * nit extra line * clean up, feature flag addition * add to config templates * improve tax credit section * finish tax credit * fix rubocop * put a restriction around tax credit button * cancellation reason added to plan details * chore: Update select language checkboxes in broker form Simplify and improve the code for rendering the select language checkboxes in the broker form. This change adds an ID attribute to each checkbox for better accessibility and updates the label element accordingly. * chore: Remove unnecessary h4 tag in _agency_information.html.erb * fix formating * Fix the date of birth field to broker personal information for accessibility. * Update the legal name field for accessibility. * Update the dba field for accessibility. * chore: Update label for market kind field in broker profile form for accessibility * chore: Update select language checkboxes in broker form * chore: Update address form fields for accessibility Improve accessibility in the address form by updating the labels and input fields. This change adds appropriate label elements and removes unnecessary attributes for better accessibility. * chore: Improve accessibility of attestation agreement fields Update the attestation agreement fields in the broker form to improve accessibility. This change adds appropriate label elements and updates the input fields for better accessibility. * chore: Update heading level in _address.html.erb for better accessibility * add tabindex to "add office location" button * chore: Add tabindex to "tabs" at top of page * chore: Improve accessibility of staff registration form Update the staff registration form to improve accessibility. This change includes adding appropriate label elements and updating the input fields for better accessibility. --------- Co-authored-by: Alec Turnbull <[email protected]>
- Loading branch information
Showing
14 changed files
with
144 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 6 additions & 8 deletions
14
app/views/ui-components/bs4/v1/forms/broker/_agency_information.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
<h4 class="mb-2"><%= l10n('broker_agency_note') %></h4> | ||
|
||
<div class="row mb-3"> | ||
<%= f.hidden_field :entity_kind, value: "s_corporation" %> | ||
|
||
<div class="col-md-6"> | ||
<label for="inputLegalName" class='required'><%= l10n('legal_name') %></label> | ||
<%= f.text_field :legal_name, placeholder: l10n('legal_name_placeholder'), required: true, id: 'validationCustomLegalName', class: 'form-control' %> | ||
<%= f.label :legal_name, l10n("legal_name"), class: "required" %> | ||
<%= f.text_field :legal_name, placeholder: l10n('legal_name_placeholder'), required: true, class: 'form-control' %> | ||
<div class="invalid-feedback"> | ||
<%= l10n('legal_name_error') %> | ||
</div> | ||
</div> | ||
|
||
<div class="col-md-6"> | ||
<label for="inputDBA"><%= l10n('dba_caps') %></label> | ||
<%= f.text_field :dba, placeholder: l10n('doing_business_as'), id: 'validationCustomdba', class: 'form-control' %> | ||
<%= f.label :dba, l10n('dba_caps') %> | ||
<%= f.text_field :dba, placeholder: l10n('doing_business_as'), class: 'form-control' %> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.