[EuiDatePicker][COGNITION]: Add an `aria-live="polite"` attribute to the timestamp string container
Description
Our EuiDatePicker component ( https://eui.elastic.co/#/forms/date-picker ) has a aria-live="off" attribute on the top-level DIV. This appears to be a change from the past where it was assertive. We still need to let users know something changed, but it would be better to announce the timestamp string by adding a live region around the container. Screenshot below.
I'm proposing we move the live region to wrap the calendar and time picker only, retest with screen readers (JAWS, NVDA, VO) and re-evaluate if the experience is better, worse, or about the same.
Screenshot below.
Guidance
- https://www.w3.org/WAI/WCAG21/Understanding/meaningful-sequence.html
- https://www.w3.org/WAI/WCAG21/Understanding/status-messages.html
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.
While testing another PR, I noticed NVDA (Chrome, Firefox) on Win10 does not announce the currently selected date. This works as expected in VoiceOver + Safari on Mac, so it'll be worth looking at the live region behavior for the calendar to ensure this experience is updated.
When I toggle through months using Page Up or Page Down NVDA announces the month correctly.
👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.
❌ Per our previous message, this issue is auto-closing after having been open and inactive for a year. If you strongly feel this is still a high-priority issue, or are interested in contributing, please leave a comment or open a new issue linking to this one for context.
Addressed in #7726