CSSLint / csslint

Automated linting of Cascading Stylesheets
http://csslint.net
Other
4.77k stars 483 forks source link

Limit outline-none rule to focusable elements #649

Open medikoo opened 8 years ago

medikoo commented 8 years ago

Currently it shouts for any selector. I have a case on my side where I set outline on div and for special case I clear it (it's not about element being in focus), and that triggers lint error.

It should apply only if for selectors that address focusable elements as e.g. a, button, input etc.

frvge commented 8 years ago

We'd be happy to see a PR for this fix.