elastic / kibana

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

[Search:Search Applications:Content page]Active Add selected button with errors in flyout #200150

Open L1nBra opened 9 hours ago

L1nBra commented 9 hours ago

Description Buttons which save, create indices according to the details filled in form - should not be active when form has errors. Or at least user should be asked to fix errors before proceeding. Button which does nothing and no announcement about errors when activating it can confuse users. Especially the ones using assistive technology.

Preconditions Stateful Search Applications -> Content page is opened. Search application is added. Use Screen Reader (NVDA).

Steps to reproduce

1.Using only keyboard Navigate to Add new indices button by pressing Tab key. 2.Press Enter. 3.Navigate to Select searchable indices field. 4.Enter any text (f.e.: test). 5.Navigate to Add selected button. 6.Press Enter. 7.Observe screen reader. 8.Press Tab key. 9.Observe the page.

Gif showing issue Image

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)

WCAG or Vendor Guidance (optional)

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

elasticmachine commented 9 hours ago

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