Tabs are not functional when CSS is loaded but JavaScript is not #5115
Labels
🐛 bug
Something isn't working the way it should (including incorrect wording in documentation)
javascript
sass / css
tabs
Description of the issue
The tabs component work perfectly with JavaScript and CSS enabled.
If CSS is disabled then the tabs revert to just a list of links and headings which also works fine.
When JavaScript is disabled (or fails to load) but CSS does load then the tabs are non-functional - I can't get to tabs other than the initial one.
Steps to reproduce the issue
I tested this with https://design-system.service.gov.uk/components/tabs/default/ in Chrome by blocking all network requests to
*.js
.Actual vs expected behaviour
It would probably be preferable that the tabs component continue to work when CSS is available and JavaScript is not.
Environment (where applicable)
5.4.0
The text was updated successfully, but these errors were encountered: