Brian W wrote: > Where in the TracDev Wiki can I find these guidelines? What is the > reason to still support non-JavaScript users?
Well, it's not a hard rule, rather it's what we have always done up to now and has served us well. You can do all possible actions in Trac without JavaScript. The functionality you don't get are just nice-to-haves, and not mandatory to operate a Trac site. For example, editing a ticket query with JavaScript is nice and fast. If you don't have JavaScript, you still have the complete functionality, but you must submit the form much more often (e.g. to add a field). This makes the process longer, but everything still works. That's what I meant with "graceful degradation". Or take wiki page editing. If you have JavaScript, you get a nice side-by-side editor with automatic preview. If you don't have JavaScript, you need to submit the form with "Preview" to get the page preview. If we were to drop the "must work without JavaScript" guideline, we could give Trac a completely different (and more dynamic) UI, like Gmail or Google Docs, for example. That could certainly be nice, but nobody has shown interest in doing that up to now. We usually don't use the <noscript> tag, though, we have JavaScript-only parts of a page hidden by default, and shown through JavaScript on load. -- Remy
signature.asc
Description: OpenPGP digital signature
