Comments (1)
Not exactly, it is for progressive enhancement: if JS fails to load or is broken, the HTML structure will allow the user to browse the page without any problem.
If we put directly the button and the JS fails, there will be a button, but that doesn't do anything.
from jquery-accessible-hide-show-aria.
Related Issues (20)
- Question about browser compatibility HOT 2
- Bug on Chrome HOT 2
- Toggle to show all at once HOT 2
- Are anchored link supported? HOT 6
- Why attributes names are variables ? HOT 2
- same selector in documentation HOT 1
- Animate the icons HOT 1
- Define your own classname only once HOT 1
- rails-assets.org compatibility HOT 5
- Add type="button" to buttons
- Handle appearance and no-js without setTimeout
- "aria-controls" attribute on buttons HOT 7
- Open with anchor on the same page doesn't work (feature request)
- Toggle to show all at once *by group* HOT 2
- One button to collapse/expand them all - keyboard issue HOT 1
- Add possibility to separate styles HOT 1
- Add js- for classes used only by JS
- Add possibility to use aria attributes... or not
- Publish as npm package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-accessible-hide-show-aria.