-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
Preexisting mentions
Issue
This have been asked before, but it seems the workaround provided here will clash with the internal button tag inside the component and makes button require two tab presses to move their focus to the next element.
this in my humble opinion looks like an A11Y issue as we're nesting interactive elements.
Expected Behavior
adding tabindex="0" should allow element to be programatically focusable but not make it to require 2 tabs to be jumped over
Steps to Reproduce
check sample given at #21439
Code Reproduction URL
Ionic Info
@angular-devkit/build-angular : 17.1.1
@angular-devkit/schematics : 17.1.1
@angular/cli : 17.1.1
@ionic/angular-toolkit : 11.0.1
Capacitor:
Capacitor CLI : 6.1.2 @capacitor/core : 6.1.2
Utility:
cordova-res : not installed
native-run : 2.0.1
System:
NodeJS : v20.11.0 (C:\Program Files\nodejs\node.exe)
npm : 10.2.4
OS : Windows 10
Additional Information
No response