New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng-select: "X"(Clear all) button in the dropdown is not accessible through the keyboard "Tab" key. [It is only accessible through Mouse] #2239
Comments
what would be better experience?
I want to contribute, can I take this? @pavankjadda |
Sure. Take itThanks and Regards Pavan Kumar JaddaOn May 28, 2023, at 4:26 PM, Waseem Sabir ***@***.***> wrote:
what would be better experience?
Esc clears the text
Tab moves to focus on the “X” button
I want to contribute, can I take this? @pavankjadda
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi,
As per accessibility requirment, X should be focusable using TAB key. And
ENTER key on X should mimic click behaviour.
Thank you!
On Mon, May 29, 2023, 2:18 AM Pavan Kumar Jadda ***@***.***>
wrote:
… Sure. Take itThanks and Regards Pavan Kumar JaddaOn May 28, 2023, at 4:26
PM, Waseem Sabir ***@***.***> wrote:
what would be better experience?
Esc clears the text
Tab moves to focus on the “X” button
I want to contribute, can I take this? @pavankjadda
—Reply to this email directly, view it on GitHub, or unsubscribe.You are
receiving this because you were mentioned.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#2239 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT6S4Z7WW24F3DXVZ6J6PMLXIO23TANCNFSM6AAAAAAYOV4THM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The X clear all "button" is in a span tag... so I wonder if just adding the attribute |
Hello! Any news on this? Working for an organization where accesibility is very high prio, this would help :) I agree that the "X" button should be focusable with the tab key |
Merged |
Hi, I think the point "Tab moves to focus on the “X” button" need to be enhanced for "Shift tab" because currently, users are blocked in the component instead to be able to focus previous element in the DOM. |
Describe the bug
ng-select: "X"(Clear all) button in the dropdown is not accessible through the keyboard "Tab" key. [It is only accessible through Mouse]
Testes with latest version of ng-select 10.0.4. Same thing is observed.
Reproducbile example
https://stackblitz.com/edit/angular-diubgn-vwtxy7?file=src/template-search-example.component.html
https://angular-diubgn-vwtxy7.stackblitz.io
To Reproduce
Steps to reproduce the behavior :
Expected behavior
"X" Clear All button should be keyboard accessible. So that User using only keyboard will able to access the button.
Screenshots
Check GIF: "ng-select X clear all button not selectable through keyboard tab.gif"
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: