Giter VIP home page Giter VIP logo

accessible-ui / tabs Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 2.92 MB

๐Ÿ…ฐ An accessible and versatile tabs component for React with keyboard navigation and labeling features taught in w3.org's WAI-ARIA tabs example

Home Page: https://codesandbox.io/s/accessibletabs-example-0dw15

License: MIT License

JavaScript 3.56% TypeScript 96.44%
a11y a11y-tabs accessible-tabs accessiblity aria react tabs

tabs's People

Contributors

jaredlunde avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

tabs's Issues

Module build fails when transpiling with babel

Hey guys,

I've found an issue when compiling the dist to a ES5 version:
ERROR in ./node_modules/@accessible/tabs/dist/es/index.js Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: /node_modules/@accessible/tabs/dist/es/index.js: Unexpected token, expected ";" (306:9)

The line in question is this one: !manualActivation && activate() when I manually change it to: ;!manualActivation && activate() it works. The same code error is in the cjs dist.

Is there a way to get this fixed so babel doesn't fail? Currently im stuck on this and the project wont build.

Add option to disable window scroll

Hey man, great library! All your components have been a great addition to some projects I have been working on.

I have a feature request for the tabs; would it be possible to pass the preventScroll property as a parameter to the tabs component? In my current usecase, my page jumps down when I switch tabs. There are ways to work around it in my case, but I was wondering if you would consider adding it.

https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus

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.