Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

A11Y error due to tabindex > 0 #118

Closed
Willibaur opened this issue Oct 5, 2018 · 6 comments
Closed

A11Y error due to tabindex > 0 #118

Willibaur opened this issue Oct 5, 2018 · 6 comments

Comments

@Willibaur
Copy link

Thanks for this awesome addon.

Below you will see an A11Y error related, it was catched by ember-A11Y-testing it seems an easy one to fix on 馃憠 x-toggle/component.js

image

I'm happy to create a PR if you agree this should be tabindex: '0'.

Thanks

@knownasilya
Copy link
Owner

Could probably just remove the tabindex all together and users can apply those as needed.

@Willibaur
Copy link
Author

I'm not sure, as a general A11Y rule, it should be tabindex: 0, so what about to set it to that value by default within the addon, but give the option to the user to modify as required @knownasilya like we do with offLabel property ?

@knownasilya
Copy link
Owner

The user can already set it, e.g. {{x-toggle tabindex='0'}}

@knownasilya
Copy link
Owner

I'll change it to '0'

@Willibaur
Copy link
Author

Thanks for the fix @knownasilya

@knownasilya
Copy link
Owner

Released in 5.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants