gov-au-ui-kit icon indicating copy to clipboard operation
gov-au-ui-kit copied to clipboard

Feature request - "JavaScript must be enabled to use this site/feature" interstitial

Open elisechant opened this issue 8 years ago • 6 comments

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 avatar Aug 05 '16 03:08 elisechant

@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.

petronbot avatar Aug 05 '16 04:08 petronbot

👍 love it

elisechant avatar Aug 05 '16 05:08 elisechant

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?

TrebBrennan avatar Aug 08 '16 00:08 TrebBrennan

Sure @TrebBrennan will have a chat with you presently.

joolswood avatar Aug 10 '16 23:08 joolswood

This has moved up in our backlog (out from the esky), so adding a roadmap label.

Tracked under DESIGN-319.

klepas avatar Aug 15 '16 05:08 klepas

We really need this. Currently we're doing this:

screen shot 2016-10-19 at 7 13 27 am

elisechant avatar Oct 18 '16 19:10 elisechant