Giter Site home page Giter Site logo

Comments (9)

notwaldorf avatar notwaldorf commented on September 16, 2024

@valdrinkoshi I think this sounds like a paper-dialog issue, possibly with the focus wrapping code?

from paper-input.

valdrinkoshi avatar valdrinkoshi commented on September 16, 2024

Yes and no...paper-input is considered to be focusable, but the hidden="true" makes it effectively not focusable. I would suggest to also set tabindex="-1" to the hidden paper-input http://jsbin.com/qiyero/1/edit?html,output

from paper-input.

notwaldorf avatar notwaldorf commented on September 16, 2024

Shouldn't there be a rule about ignoring all hidden elements, whatever they are? Even if I have a <button hidden>, that will never be focusable as is, so it shouldn't be considered the first element in the chain, no?

from paper-input.

valdrinkoshi avatar valdrinkoshi commented on September 16, 2024

Uhm, then we'd need to do the same for all the visual properties that effectively disable the possibility to focus an element like display: none or opacity: 0.

from paper-input.

notwaldorf avatar notwaldorf commented on September 16, 2024

Well, if hidden works, which it doesn't, it literally does display:none and removes the element. opacity or visibility still leave the element there, and just make it invisible. I understand what you mean, but I also think that having a hidden input be considered for anything is unintuitive.

from paper-input.

blasten avatar blasten commented on September 16, 2024

This is the 0.5 element πŸ˜…

from paper-input.

notwaldorf avatar notwaldorf commented on September 16, 2024

@blasten This is the 0.5 repo, but if you look at the linked code, it's about the 1.0 elements. Since I wasn't sure if I should move the issue to paper-dialog, i wanted to get @valdrinkoshi's opinion first.

from paper-input.

valdrinkoshi avatar valdrinkoshi commented on September 16, 2024

I believe this is definitely related to the incapability of iron-overlay-behavior to recognize the tabbable elements. Feel free to move it there :)

from paper-input.

notwaldorf avatar notwaldorf commented on September 16, 2024

This issue was moved to PolymerElements/iron-overlay-behavior#196

from paper-input.

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.