Describe the bug
The accessibility improvements added in #5731 is triggering a failure in jest-axe when using renderCustomHeader
due to missing role="row"
To Reproduce
Steps to reproduce the behavior:
- Consume Datepicker component, providing a renderCustomHeader arg.
- run jest-axe test against component.
Expected behavior
Should pass accessibilty testing when using renderCustomHeader
Screenshots
Desktop (please complete the following information):
- OS: macOS Sonoma 14.6.1
- Browser n/a
- Version 8.5.0