Skip to content

Enhanced Accessibility of eCard Forms and Supporter Hubs (pt 2)#407

Merged
fernanDOTdo merged 10 commits into
mainfrom
enhanced-accessibility-ecards
Jun 30, 2026
Merged

Enhanced Accessibility of eCard Forms and Supporter Hubs (pt 2)#407
fernanDOTdo merged 10 commits into
mainfrom
enhanced-accessibility-ecards

Conversation

@StoneMoney

@StoneMoney StoneMoney commented Jun 24, 2026

Copy link
Copy Markdown
Member

eCard Enhanced Accessibility

  • Adds keyboard navigation for eCard thumbnail selection
  • Tags eCard thumbnail selection as radio group
  • eCard preview dialog tagged as a modal, dialog
  • eCard preview dialog close button tagged as a close button
  • esc key listener to close dialog
  • Personal message, Recipient name, Recipient email, and Future Send date inputs and labels are now properly coupled
  • fix: Textareas use --textarea_border-color

Supporter Hub Accessibility Expansion

  • Added esc key listener for closing modals
  • Refactored inertPage to use A11y's static method
  • Page 1 email field and label coupled
  • Supporter hub submission error and success messages now announced to screen reader (Primarily work of an agent)
  • Dialogs will now run A11y.scanFields when opened, matching the same accessibility runs we do on standard root forms

A11y changes

  • Moves inertPage to be a static method inside A11y for reuse
  • New static "grouped" method scanFields which runs addErrorAlertArea, addRequired, addLabel, and addGroupRole which were all refactored to be static as well
  • scanFields and child methods can be provided with a root node (default = document) to scan

* Also moves inert page to a11y for reuse
* Supporter hub small update, esc to close & inert relocation
* Accessible alerts
* Accessible email entry field
@StoneMoney StoneMoney changed the title Enhanced Accessibility of eCard Forms Enhanced Accessibility of eCard Forms and Supporter Hubs (pt 2) Jun 26, 2026
…idempotency

- A11y.inertPage(false): clear all inert, then re-apply if overlays remain
- addErrorAlertArea: check parent .en__field wrapper instead of nextElementSibling
@fernanDOTdo
fernanDOTdo merged commit 064ff0f into main Jun 30, 2026
2 checks passed
@fernanDOTdo
fernanDOTdo deleted the enhanced-accessibility-ecards branch June 30, 2026 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants