• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

react-component / switch / 79
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/rc-tools-8.x
DEFAULT BRANCH: master
Ran 10 Sep 2018 02:23PM UTC
Jobs 1
Files 2
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
79

Pull #26

travis-ci

web-flow
Improve a11y by using button with role switch

As for [mozilla switch guidelines](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_switch_role)
Plus I switched `span` for `button` to get support for `Enter` and `Space`  keys out of the box (now the browser will take care about it and that's why I deleted the test, cause enzyme doesn't fire `onClick` on such keypresses, but the browsers will do)
Pull Request #26: Improve a11y by using button with role switch

37 of 65 branches covered (56.92%)

1 of 1 new or added line in 1 file covered. (100.0%)

33 of 36 relevant lines covered (91.67%)

12.58 hits per line

Jobs
ID Job ID Ran Files Coverage
3 79.3 (TEST_TYPE=coverage) 10 Sep 2018 02:23PM UTC 0
91.67
Travis Job 79.3
Source Files on build 79
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #79
  • Pull Request #26
  • PR Base - master (#78)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc