Skip to content

Screen reader support for header week numbers breaks jest-axe tests #5807

@SheaClose

Description

@SheaClose

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:

  1. Consume Datepicker component, providing a renderCustomHeader arg.
  2. run jest-axe test against component.

Expected behavior
Should pass accessibilty testing when using renderCustomHeader

Screenshots

Image

Desktop (please complete the following information):

  • OS: macOS Sonoma 14.6.1
  • Browser n/a
  • Version 8.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions