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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No slider handle focus outlines in WordPress 4.3.1 #51

Open
joshcummingsdesign opened this issue Sep 30, 2015 · 1 comment
Open

No slider handle focus outlines in WordPress 4.3.1 #51

joshcummingsdesign opened this issue Sep 30, 2015 · 1 comment

Comments

@joshcummingsdesign
Copy link

The slider handles do not have focus outlines for accessibility when clicking or tabbing on a clean install of WordPress 4.3.1. I tried adjusting the CSS outline property with no success. You can see somewhat of a blue square in the middle of the center handle when clicked or focused using the tab key.

Reproduced issue in the latest versions of Chrome, Safari, Firefox, and Edge with a clean install of WordPress 4.3.1 and enqueuing the script using the 'iris' handle.

iristest

@jeryj
Copy link

jeryj commented May 31, 2016

I imagine that you already figured out a fix for your own needs, but until it gets updated in the repo for future users, you can add this to your CSS to add focus in that matches the circle selector focus:

.iris-picker .ui-slider-handle:focus {
    box-shadow: 0 0 2px rgba(0,0,0,.75);
}

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