Warn users about opening HTML pages as files and/or opening pages without JS support #2964
Labels
enhancement
An issue for a feature or an overall improvement
format: html
An issue/PR related to Dokka's default HTML output format
html: frontend
An issue/PR that only or primarily requires frontend work (html/css)
UX
An issue/PR related to the User Experience of using Dokka
Problem
If Dokka's HTML pages are opened in a browser as files (without using a web server), some of the features, such as navigation, do not work as expected - and it is visually confusing, as demonstrated by #1588 and #1513.
This might also happen if a user disables JavaScript in their browser for security reasons.
Screenshot
Proposal
It should be possible to add an indicator, a hint or a banner (or anything else) that is easily noticeable, and that will say something like
Note: JavaScript may still work while the navigation doesn't, so the
no-js
class cannot be used to fix it.The text was updated successfully, but these errors were encountered: