Giter Club home page Giter Club logo

Comments (6)

robdodson avatar robdodson commented on June 4, 2024

Are you on mac or windows?

I put together a jsbin to test https://jsbin.com/vefalubezi/edit?html,output

On mac it looks like they use a couple different focus styles.

image

image

image

So in the demo it mostly uses the blue focus ring, but in some places they revert to using a very subtle dashed outline. Are you seeing the same results? If so then the demo is working correctly and Firefox just has an inconsistent native focus ring.

from focus-visible.

robdodson avatar robdodson commented on June 4, 2024

Going to close this issue but happy to reopen if there's a follow up response.

from focus-visible.

erikkroes avatar erikkroes commented on June 4, 2024

Sorry for the late reply. I'm seeing the same result. So that's just a situation for which focus-ring is not a solution? A shame, but good to know. Thanks!

from focus-visible.

robdodson avatar robdodson commented on June 4, 2024

Well in that situation you DO want to see an outline, because you're navigating by keyboard, so this is working as intended I think.

from focus-visible.

xirclebox avatar xirclebox commented on June 4, 2024

I just tested the plugin with various browsers on the Mac and noticed that the focus rings in Safari aren't present on the radios or sliders. Sad face but not a deal breaker.
https://wicg.github.io/focus-visible/demo/

from focus-visible.

robdodson avatar robdodson commented on June 4, 2024

I just checked the demo in Safari. It looks like radios show a focus ring if you tab to them. Sliders do not, but I think that's a Safari quirk. Tabbing to this slider doesn't show a focus indicator on my machine.

from focus-visible.

Related Issues (20)

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.