react-datepicker icon indicating copy to clipboard operation
react-datepicker copied to clipboard

The calendar is missing accessibility properties

Open barettjfed opened this issue 1 year ago • 0 comments

Describe the bug According to the ARIA Authoring Practices guide for W3C the calendar popup should have role="dialog" and aria-modal="true". Without these in place screen readers will not have trapped focus.

To Reproduce Steps to reproduce the behavior:

  1. Go to any react-datepicker example
  2. Notice that they are missing these properties

Expected behavior role="dialog" and aria-modal="true" are present on the calendar popup.

barettjfed avatar Feb 15 '24 18:02 barettjfed