Description
Reset button, which becomes inactive after clicking it, is not accessible with the mouse nor keyboard, which is correct, but screen reader announces the button as unavailable when user reaches again Default settings and hears dialog information.
Preconditions
Stateful Indices page is opened.
At least one index is added.
Use Screen Reader (NVDA).
Steps to reproduce
1.Navigate to Default settings button while using only keyboard by pressing Tab key.
2.Press Enter.
3.Navigate to any switch button inside the dialog window (f.e.: Content extraction switch).
4.Press Enter key on switch button
5.Navigate to Reset button while pressing Tab key.
6.Press Enter.
7.Press Tab key.
8.Observe Screen Reader announcement.
UI elements
NVDA Speech Viewer
Actual Result
After pressing Enter on Reset button, Reset button gets disabled (is not accessible via keyboard, nor mouse - correct). Then, after pressing Tab, all Default settings dialog information is being announced for the user using screen reader and also screen reader announces "button unavailable Reset".
Same behavior after pressing Enter key on Save button and then Tab key.
Expected Result
Disabled button shouldn't be announced to the user at all.
Meta Issue
Kibana Version: 8.16.0-SNAPSHOT
OS: Windows 11 Pro
Browser: Chrome Version 129.0.6668.70 (Official Build) (64-bit)
Description Reset button, which becomes inactive after clicking it, is not accessible with the mouse nor keyboard, which is correct, but screen reader announces the button as unavailable when user reaches again Default settings and hears dialog information.
Preconditions Stateful Indices page is opened. At least one index is added. Use Screen Reader (NVDA).
Steps to reproduce
1.Navigate to Default settings button while using only keyboard by pressing Tab key. 2.Press Enter. 3.Navigate to any switch button inside the dialog window (f.e.: Content extraction switch). 4.Press Enter key on switch button 5.Navigate to Reset button while pressing Tab key. 6.Press Enter. 7.Press Tab key. 8.Observe Screen Reader announcement.
UI elements
NVDA Speech Viewer
Actual Result
Expected Result
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