GSA / notifications-admin

The UI of Notify.gov
https://notify.gov
Other
11 stars 2 forks source link

Send Message A11Y Audit - Make Scheduling SMS more accessible #2139

Open jonathanbobel opened 1 day ago

jonathanbobel commented 1 day ago

Issue: Redesign SMS Scheduling Section for Improved Accessibility and Usability

Problem:
The current SMS scheduling interface is difficult to use and inaccessible for some users:

  1. The "Now" and "Later" options are radio buttons, with "Later" showing 4 separate buttons for "Later Today," "Tomorrow," and the next two days.
  2. If a user selects a "Later" option, radio buttons for every hour of the selected day appear, creating a cluttered and overwhelming interface.
  3. Screen reader users must navigate through an excessive number of elements, which is cumbersome and inefficient.
  4. The design is not scalable for users scheduling farther into the future or with more granular timing requirements.

Proposed Solution:

Redesign the SMS scheduling section to use a more streamlined and accessible approach:

  1. Replace the "Now" and "Later" radio buttons with a single toggle or radio group:
    • Now: Sends the message immediately.
    • Later: Displays dropdowns for date and time selection.
  2. Use dropdown menus to replace the buttons for date and time selection:
    • Dropdown 1: Select a date (e.g., "Today," "Tomorrow," or a Later than that).
    • Dropdown 2: Select a time (e.g., hours of the day, since that is when the service runs).

Implementation Details:

1. Simplify the Radio Group

2. Add Accessible Dropdowns for Date and Time

3. Manage Focus and Visibility

4. Test for Accessibility


Steps to Implement:

  1. Replace the current radio buttons and buttons with a simplified "Now" or "Later" radio group.
  2. Add conditional dropdowns for selecting a date and time when "Later" is chosen.
  3. Manage focus and visibility dynamically using JavaScript.
  4. Test the redesign for usability and accessibility with screen readers and keyboard navigation.

Acceptance Criteria:


References:


This redesign will create a more intuitive and accessible scheduling interface, reducing clutter and improving the user experience for all users.