Skip to content

Conversation

@tannerbyers
Copy link
Contributor

…cessibility

This pull request adds the ability to inform screen reader users about the calendar icon's state and role.
Any text passed into the new ariaDescribedBy prop will give screen reader users the appropriate context for it. The ariaExpanded prop will tell screen reader users the state of the calendar.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated styling changes need to be reverted.

Comment on lines 60 to 63
.add(
"default",
withInfo()(() => <DateRangePickerWrapper />)
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revert the styling changes here, it's indented and lined properly as-is. also make sure your editor isn't blindly running prettier on a project that isn't using it :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about that! First time contributing, I didn't even realize I had done that. I've fixed it in my last change, thanks!

@tannerbyers tannerbyers requested a review from ljharb September 2, 2021 13:02
@tannerbyers
Copy link
Contributor Author

Is there something more I should be doing for this to be merged? Thanks!

This pull request was closed.
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