gov-au-ui-kit
gov-au-ui-kit copied to clipboard
Feature request - "JavaScript must be enabled to use this site/feature" interstitial
Provide a component which might be used in a feature switch situation if JavaScript is disabled and the feature requires JavaScript.
You can achieve this with the <noscript>
element, and may or may not be toggled off by leveraging the style class html.no-js
. For reference, Facebook use something like this on their main desktop site.
I expect the interstitial would provide at minimum:
- a description - which we would need a content designer to supply
- instructions for how to optionally enable JavaScript
- a call to action to an alternate service platform - perhaps optionally this could be "click to call", "click to download"
@elisechant Good suggestion - we've had a couple of discussions amongst the teams about implementing modals/interstitials and it sounds like you've described a good use case.
I've added a story to our backlog, I'll give you an update here when we've got it on the roadmap.
👍 love it
Agreed we should do this but need make the wording super simple:
This tool will not work because JavaScript is turned off in your browser. Find out how to turn on JavaScript
@joolswood Awesome if you could provide some word-smithing on this?
Sure @TrebBrennan will have a chat with you presently.
This has moved up in our backlog (out from the esky), so adding a roadmap
label.
Tracked under DESIGN-319
.
We really need this. Currently we're doing this: