• Robert Knight's avatar
    Add mixins and polyfills for :focus-visible pseudo-class · aa4dda31
    Robert Knight authored
    The :focus-visible pseudo-class [1] enables showing or suppressing focus
    outlines depending on the input modality, eg. hiding focus outlines by
    default but enabling them if the user is using a keyboard or otherwise
    indicates to their browser that they need a focus indicator.
    
    It is not widely available natively yet though. Add the "official" JS
    polyfill for it and a mixin that uses it to suppress an element's
    outline when the user agent deems it is not required (typically when
    using mouse input).
    
    [1] https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible
    aa4dda31
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
embedding-examples Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.prettierignore Loading commit data...
.prettierrc Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
tox.ini Loading commit data...
yarn.lock Loading commit data...