eui icon indicating copy to clipboard operation
eui copied to clipboard

[EuiDatePicker][COGNITION]: Add an `aria-live="polite"` attribute to the timestamp string container

Open 1Copenut opened this issue 3 years ago • 4 comments

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

Screenshot 2024-04-23 at 10 24 22 AM

1Copenut avatar May 31 '22 19:05 1Copenut

👋 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.

github-actions[bot] avatar Nov 28 '22 00:11 github-actions[bot]

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.

1Copenut avatar Apr 05 '23 15:04 1Copenut

👋 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.

github-actions[bot] avatar Oct 22 '23 00:10 github-actions[bot]

❌ 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.

github-actions[bot] avatar Apr 19 '24 08:04 github-actions[bot]

Addressed in #7726

cee-chen avatar Oct 14 '24 22:10 cee-chen