Coder Social home page Coder Social logo

lukyvj / accecss Goto Github PK

View Code? Open in Web Editor NEW
138.0 4.0 17.0 8.15 MB

AcceCSS A Sass Mixin That debug & check the accessibility of your designs

Home Page: http://lukyvj.github.io/accecss/

CSS 54.26% HTML 43.60% JavaScript 2.14%
scss mixins sass-mixins filter accecss-mixin blindness

accecss's Introduction

accecss's People

Contributors

dervondenbergen avatar gitter-badger avatar haroenv avatar kittygiraudel avatar lukyvj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

accecss's Issues

Fix twitter share on mobile

When clicked on mobile, the twitter share doesn't work, and the user is redirected to twitter ( timeline )

Full css

Turn it into full css with a url('data:text/xml,#svg') scheme

Love it!

You created a very AWESOME project, dude!

Errors in demo

Reproduce

click the color filters in the demo:

URL

http://lukyvj.github.io/accecss/

Expected behaviour

SVG filters should be applied

Actual result

Nothing happens
Console errors:

/accecss/dist/css/css/filters.svg#protanopia Failed to load resource: the server responded with a status of 404 (Not Found)
/accecss/dist/css/css/filters.svg#protanomaly Failed to load resource: the server responded with a status of 404 (Not Found)
/accecss/dist/css/css/filters.svg#deuteranopia Failed to load resource: the server responded with a status of 404 (Not Found)
/accecss/dist/css/css/filters.svg#deuteranomaly Failed to load resource: the server responded with a status of 404 (Not Found)
/accecss/dist/css/css/filters.svg#tritanopia:1 GET http://lukyvj.github.io/accecss/dist/css/css/filters.svg net::ERR_ABORTED
/accecss/dist/css/css/filters.svg#achromatomaly:1 GET http://lukyvj.github.io/accecss/dist/css/css/filters.svg net::ERR_ABORTED

Does not work in Safari

Safari has a core bug that it won't process the filters if it's included from an outside SVG file, only if the SVG is included in the HTML file that uses it.

"#element" selector seems to be ignored

Hi,
First of all great job i love it!
I am trying to build a little tool to allow the designers I work with to test quickly their design against the different filters.

I have something like that on my .scss

@include accecss(
  "#imgZone",
  false,
  false,
  protanopia
);

it works, but the effects gets applied to the all page and not only to the #imgZone div and it's children's.

in fact no mater what I put as an argument for "element" the css will always output a "html body" selector with my filter.

Is this an expected behavior or am I missing something?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.