Giter Site home page Giter Site logo

Comments (5)

jakemac53 avatar jakemac53 commented on July 20, 2024

Looks like aria-pressed is the correct attribute for a toggle button. We should probably just update the tests to check that attribute, and submit an issue to the original repo to fix their tests.

Operating systems support pressed on buttons and checked on checkboxes

from polymer_elements.

vsheyanov avatar vsheyanov commented on July 20, 2024

Looks like this was already done:
PolymerElements/paper-toggle-button#21

from polymer_elements.

vsheyanov avatar vsheyanov commented on July 20, 2024

I've added paper-toggle-button in polymer dart 1.0 project and when disabled it doesn't change neither checked value nor aria-pressed attribute.

Is it possible that mock.tap is not working properly in some way?

from polymer_elements.

jakemac53 avatar jakemac53 commented on July 20, 2024

Hmm, it seems to be working in other contexts just fine so I don't think that's the issue? If you want to leave this marked as skipped for now I can investigate a little bit later.

from polymer_elements.

jakemac53 avatar jakemac53 commented on July 20, 2024

This is fixed with the element update in the update branch.

from polymer_elements.

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.