elastic / kibana

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

[Search:AppSearch:Engines:Documents page]Issues with Add new documents flyout when getting errors #202421

Open L1nBra opened 1 day ago

L1nBra commented 1 day ago

Description When flyout gets errors, they should be announced to the user and focus should be on the field which is in error.

Preconditions Stateful App Search -> Engines -> Documents page is opened. Engine is added. Use Screen Reader (NVDA).

Steps to reproduce

1.Using only keyboard navigate to Index documents button by pressing Tab key. 2.Press Enter. 3.Navigate to Paste or upload Json button. 4.Press Enter. 5.Upload incorrect file (f.e.: PNG file). 6.Navigate to Continue button. 7.Press Enter. 8.Observe flyout and screen reader.

Screen recording https://github.com/user-attachments/assets/acfc1747-c55b-4305-9f13-be4515e2421d

UI elements + NVDA Speech Viewer Image

Actual Result

Expected Result

Meta Issue

Kibana Version: 8.17.0-SNAPSHOT

OS: Windows 11 Pro

Browser: Chrome Version 130.0.6723.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 day ago

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