elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.69k stars 8.24k forks source link

[Search:Indices:Index mapping page] Edit field dialog error (callout) is not announced for screen reader users #197206

Open L1nBra opened 1 month ago

L1nBra commented 1 month ago

Description All errors should be not only present for users to see them visually, but for users using assistive technology - they should be able to hear about them in order to fix them.

Preconditions Stateful Indices -> Index mapping page is opened. At least one field is added. Use Screen Reader (NVDA).

Steps to reproduce

1.Navigate to Edit button by pressing Tab key in Pending Fields section 2.Press Enter. 3.Delete text from Field name. 4.Delete text from Field type. 5.Navigate to Update button. 6.Press Enter. 7.Observe the page. 8.Observe screen reader announcement.

NVDA Speech Viewer + UI elements Image

Html snippet Image

Actual Result

Expected Result

Notes: Either role should be added with alert value or corresponding aria label (f.e.: aria-live = "assertive".)

Meta Issue

Kibana Version: 8.16.0-SNAPSHOT

OS: Windows 11 Pro

Browser: Chrome Version 129.0.6668.70 (Official Build) (64-bit)

Screen reader: NVDA

WCAG or Vendor Guidance (optional)

Related to: https://github.com/elastic/search-team/issues/8256

elasticmachine commented 1 month ago

Pinging @elastic/kibana-accessibility (Project:Accessibility)