You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.
The key principle of progressive enhancement is that core functionality works without JavaScript. Web development best practices note that if you have functionality that requires JavaScript, that you insert it into the DOM using JavaScript, such that if the JavaScript is unavailable (for a whole shedful of uncontrollable reasons), the page continues to function, and is not in a broken state.
But the demo page at demo / demo.htm - there are three links in the ol.nui-tabs that do not function as expected. If these links require JavaScript to function, then they need to be injected with JavaScript. Otherwise they should be linking to proper URLs, like separate documents, or fragment identifiers in the page.
At the moment, the HTML still requires JavaScript to cover over this breakage, so it is not currently a good example of progressive enhancement.
The correct approach depends on the content of the tabs, if all of the tab-panel content is deemed core experience, then that content needs to be available without JavaScript, whether it's the tab panels unrolled one after the other, or a server side implementation of the tab panel.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The key principle of progressive enhancement is that core functionality works without JavaScript. Web development best practices note that if you have functionality that requires JavaScript, that you insert it into the DOM using JavaScript, such that if the JavaScript is unavailable (for a whole shedful of uncontrollable reasons), the page continues to function, and is not in a broken state.
But the demo page at demo / demo.htm - there are three links in the ol.nui-tabs that do not function as expected. If these links require JavaScript to function, then they need to be injected with JavaScript. Otherwise they should be linking to proper URLs, like separate documents, or fragment identifiers in the page.
At the moment, the HTML still requires JavaScript to cover over this breakage, so it is not currently a good example of progressive enhancement.
The correct approach depends on the content of the tabs, if all of the tab-panel content is deemed core experience, then that content needs to be available without JavaScript, whether it's the tab panels unrolled one after the other, or a server side implementation of the tab panel.
The text was updated successfully, but these errors were encountered: