Now that the X button is exposed to screenreaders, I've tried to set the aria label for the clearInput element (through the aria-labels prop) but I've noticed that such label is applied to the element containing the calendar icon, not the clear button, thus not being announced by VoiceOver on Mac/iOS.
I've also noticed that the aria label for the calendarIcon seems to be useless, because is applied to the svg element, which has aria-hidden set to true.
Now that the X button is exposed to screenreaders, I've tried to set the aria label for the clearInput element (through the aria-labels prop) but I've noticed that such label is applied to the element containing the calendar icon, not the clear button, thus not being announced by VoiceOver on Mac/iOS. I've also noticed that the aria label for the calendarIcon seems to be useless, because is applied to the svg element, which has aria-hidden set to true.