elastic / kibana

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

[Stateful: Indices Overview page] Inaccurate navigation and checking for radio buttons #196263

Open L1nBra opened 2 weeks ago

L1nBra commented 2 weeks ago

Description According to ARIA Authoring Practices Guide, focus should be on the checked radio button when the user reaches radio group while navigating using only keyboard. Also, user should move from one to another radio button when pressing up/down/left/right arrow keys. As of now, because all the time first radio button in the group receives focus, even if it is not checked, and common navigation is not working for it, it may cause confusion and could potentially lead users to unintentionally change their selection without checking all checkboxes which exist in the group.

Preconditions Stateful Indices Overview page is opened. Cloud ID radio button is checked.

Steps to reproduce

1.Navigate to Manage button using only keyboard by pressing Tab key. 2.Press Tab key. 3.Observe radio buttons. 4.Move between radio buttons while pressing up, down (left, right) arrow keys. 5.Observe radio buttons.

Gif showing issue Image

UI elements Image

Actual Result

Expected Result

Meta Issue

Kibana Version: 8.16.0-SNAPSHOT

OS: Windows 11 Pro

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

WCAG or Vendor Guidance (optional)

Relevant ARIA spec: Radio Group Pattern(https://www.w3.org/WAI/ARIA/apg/patterns/radio/)

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

elasticmachine commented 2 weeks ago

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

L1nBra commented 2 weeks ago

Similar to issue #195190 But this also has no action when pressing up/down/left/right arrow key - so registered as separate.

daveyholler commented 1 week ago

@radhapolisetty I've added this to the Search Experiences team project

L1nBra commented 1 week ago

Similar behavior observed on

UI elements Image

UI elements Image