Repository navigation
Description
Create effective date input in FormPartyDetails component.
Effective date must be configurable to be shown/hidden via props. (See preferred name/business name implementation).
Added July 29th (Liz)
Associated ticket #34407
Context
Reorganized this ticket to separate the required field entry/ARIA work from what's already built, so scope and priority are clear after functionality from a related build was merged into this ticket at the PO's direction.
The date picker in the Directors Effective Date field was missing field entry (opening the calendar while keeping focus on the input) and introduction to ARIA attributes, identified during design review of Components 2.0: Date Picker.
Reference links
- Figma base component (use this as it has the full dev annotations): Components 2.0: Date Picker
- Figma Design: Effective Date
- Field A11Y Matrix: Business Dashboard - Fieldset + A11Y Matrix
- ARIA Implementation Guide: Google Doc
Priority 1: Must have
Field entry
- Click or Tab into the field opens the calendar. Focus stays on the field (not the calendar).
ARIA attributes (Full spec in Field + A11Y Matrix)
Full code samples and rationale are in the ARIA Implementation Guide. Suggest a short walkthrough session rather than a doc read, given how much is packed in here.
- Input field
- Calendar popup
- calendar icon and clear buttons:
- Error state use aria-describedby pointing to both the format hint and the error message
- Custom screen reader announcement:
- Use Vue's useId() for all generated ids (input, popup, hint, error) so nothing collides if the component appears more than once on a page
Priority 2: Already built, needs a style/behaviour check against latest Figma
Figma Design: Components 2.0: Date Pickter
- Date format: update to Month DD, YYYY (e.g. "January 1, 2026"), matching the format hint already shown below the field
- Tab focus styling: visible on all interactive controls, calendar prev/next/month-year controls, clear (X) button, calendar icon
- (X) clear button: shown only once a date is entered/selected; not currently included
- Calendar icon: confirm activation works via mouse, touch, and keyboard
Deferred / nice to have
- Accept loose typed date formats (e.g. 2006-01-01, Jan 01 2006, Jan 01, 2006, January 01, 2006, 01/01/2006. Holding this for a later sprint since it conflicts with the open-on-focus sync above until that's stable.
Research: Syncing loose typing with open-on-focus calendar: possible approach
- Parse on blur/Enter (or after a 300–500ms pause), not on every keystroke
- Match typed input against accepted formats using a proper parser (date-fns or dayjs support this)
- Once a full match is found, update the calendar's month/highlighted date; if not matched yet, leave the calendar as-is
- Focus stays on the input throughout, syncing the calendar and keeping focus put are independent
Flag: 01/01/2006-style formats are ambiguous once day/month differ (03/04 = Mar 4 or Apr 3?). Worth dropping that format or fixing the order and noting it in the format hint.
Accessibility Check
Must meet WCAG 2.1 AA. See the A11Y specs in Figma and the Fieldset Matrix (In Progress).
- All controls work with a keyboard, in a logical tab order, with visible focus
- Fields and controls have clear accessible names
- Hint text and errors are linked to their field with aria-describedby
- Errors are clear and focus moves to the first error on submit
- Colour contrast meets WCAG, and colour is not the only way to show errors or status
- Tested with keyboard only and a screen reader
References (pattern examples, not drop-in code):
- W3C WAI-ARIA Date Picker Combobox, base pattern the ARIA guide follows
- V-Calendar
input-debounce/update-on-input, Vue-specific, same debounce idea - Blazor Blueprint Date Picker, parse-on-blur against format list
- bootstrap-datepicker
forceParse, older/simpler version of the same idea
Activity
[-]directors editable effective date[/-][+]UI: Directors editable effective date[/+]eve-git commentedon Aug 5, 2026
@liz-govier please test in DEV environment
liz-govier commentedon Aug 7, 2026
UX Assurance Checklist
Field entry
Visual
Screen reader
Tabbing through the calendar (and how to get there from the field)
Cross-check
liz-govier commentedon Aug 7, 2026
Hey @eve-git, here are my findings. Let me know if you'd like to meet to go over them!
Visual
Update field lable to "Enter or Select a Date"
(x) and calendar icon should be in action blue (Hex# 1669BB)
There is an extra line showing below
Calendar buttons are missing keyboard focus state (Figma UI)
Keyboard Focus State for Calendar

Field Button Behaviour: Does not work when I press 'Enter' on my keyboard
Calendar Icon: Enter/Space to open
(x) button: Enter/Space to clear
Error: Field Required
Screen Reader Updates
Effective Date is a required text input with a separate calendar button, following the W3C Date Picker Dialog pattern, with one addition: the calendar dialog opens when the user Tabs into the Effective Date field.
Screen reader announcements will vary depending on the browser and software you're using. The guidance below is meant to confirm nothing is out of the ordinary, not to describe an exact announcement.
Field:
Tabbing into field:
"Enter or Select an Effective Date, required, edit. Format: Month DD, YYYY (eg., January 1, 2026, Jan 1, 2026) or YYYY-MM-DD (e.g., 2026-01-01)”
Tabbing into a filled field:
"Effective Date, required, edit text, August 11, 2026. Format: Month DD, YYYY (eg., January 1, 2026, Jan 1, 2026) or YYYY-MM-DD (e.g., 2026-01-01)"
Required Error:
"Enter or Select an Effective Date, required, invalid, edit text."
Invalid Format:
"[entered value], invalid data, edit text."
Enter/Space on calendar button: Opens the calendar and moves focus into it.
Calendar Button:
Tab to calendar button:
“Open calendar, button, collapsed, has popup.”
Enter/Space opens calendar dialog. Focus moves to the selected/current date:
"Open calendar, dialog, Previous year, button, Choose date, group"
Clear Date:
"Clear Date, button"
eve-git commentedon Aug 18, 2026
Ready to test in DEV and TEST environment
liz-govier commentedon Aug 20, 2026
@eve-git
Just a couple of minor things.
When I clear the Effective Date field with my keyboard, it bumps my focus up to the top of the form, instead of staying in that field, which is confusing for keyboard and screen reader users.
Private Zenhub Video
liz-govier commentedon Aug 21, 2026
Update Placeholder text to: Enter or Selected an Effective Date
eve-git commentedon Aug 24, 2026
Ready to test in DEV and TEST environment
liz-govier commentedon Aug 25, 2026
@eve-git
In DEV using this business: https://dev.corps.business.bcregistry.gov.bc.ca/en-CA/correction/BC3000128/3772322
Field Button Behaviour: Does not work when I press 'Enter' on my keyboard This was working before, not sure what happen
Calendar Icon: Enter/Space to open
(x) button: Enter/Space to clear
eve-git commentedon Aug 28, 2026
Ready to test in DEV and TEST environment
liz-govier commentedon Aug 31, 2026
Looks great Eve! Moving to RFQA.
@chdivyareddy This business is ready to use in BCREGTEST1:
https://dev.corps.business.bcregistry.gov.bc.ca/en-CA/correction/C3000200/3772389
chdivyareddy commentedon Sep 2, 2026
Hey @eve-git , When adding a new Director with an effective date, the selected effective date is retained when adding another new Director. Please take a look, thanks!
eve-git commentedon Sep 2, 2026
Ready to test in DEV and TEST environments
chdivyareddy commentedon Sep 3, 2026
Verified in DEV!