Loading...
 
Skip to main content

History: No Javascript

Preview of version: 22

This page is to discuss & report ways how Tiki can work better in contexts where Javascript is not activated.


jQuery was added as an experimental feature of Tiki 3.0 and will become the default in 4.0 Tiki will have more & more javascript usage to improve user experience. Ideally, Tiki has a graceful fallback for when Javascript is not available. It is expected that look & feel won't be as nice, but we should strive to make it work. To test, use NoScript

Todo

  1. Toolbar & Smileys rely on JS, so should not appear
    • Help should continue to be shown at bottom of page (like in 3.0)
  2. Forms submitted by JS onchange event (e.g. theme switch) should always display submit button with at least "Go" when JS is off
    1. Done: theme switch shows "Switch" button when JS is off
  3. profiles won't work

Enforcing JavaScript?

No

  • accessibility
  • barrier free websites
    • blind people
  • machine readable sites and search engines
  • legal obligations
  • Tiki philosophy: make things optional
  • respect the environment
  • people might deactivate it or use noscript plugin (e.g. Firefox)
    • tracking of users, third party JavaScript are reasons for this behaviour
    • desktop ressources are wasted, powerusers with many browser windows and many tabs
  • NGOs don't like it
  • Tiki admin access should be easy
  • usage of textbrowsers, e.g. lynx
  • security, software bugs

Yes

  • hinders progress and modernization of Tiki with features that are universally popular
  • modern touchscreens and dropdown menus
  • better functionality
  • better user experience
  • support AJAX and Tiki services
  • javascript is a language not a feature - unusual to make entire languages optional
  • burden on code and volunteer coders - more difficult to maintain and understand code
    • Results in significant duplication of code in some cases
  • cost/benefit - benefit to small user set has not yet been proven to outweigh the cost
  • wisdom of "stuck-in-time" approach to js issues is questionable and not accepted by many, including in the Tiki team
    • Other potential solutions not explored, and exploration is discouraged
    • Respect the environment which includes those who disagree with the "stuck-in-time" approach
  • danger of making the most commonly used functions the most backwards - a significant overall negative for Tiki's appeal to users
    • May result since coders will be less likely to enhance or modernize with js-based enhancements in areas where js must be optional

Ruleset for coding (suggestion)

  • Restrict optionality requirement to discreet actions where considered absolutely necessary
  • Optionality only to be considered for most basic features and the most basic actions within those features
  • Optionality not required in following areas (not an all-inclusive list):
    • Admin areas (i.e., anything requiring tiki_p_admin_xxx permission), Trackers, Perspectives (requires jQuery UI), Spreadsheets
  • Basic features where optionality should be considered:
    • Wiki, File Gallery, Article, Blog, Forum
  • Basic actions where js should be optional within the basic features:
    • Edit
    • Delete

Related

History

Advanced
Information Version
10 Jun 15 09:08 GMT-0000 Sam Hartman Comments on Accessibility and Javascript 44
10 Jun 15 06:12 GMT-0000 Gary Cunningham-Lee Some additions and minor edits. 43
09 Jun 15 19:38 GMT-0000 amette 42
09 Jun 15 19:36 GMT-0000 amette 41
09 Jun 15 19:35 GMT-0000 amette 40
23 Apr 15 10:54 GMT-0000 amette Proposal Plugin modified by editor. 39
21 Apr 15 15:20 GMT-0000 Gary Cunningham-Lee My comments added. 38
21 Apr 15 14:55 GMT-0000 Gary Cunningham-Lee Corrected spelling and typos, etc. 37
21 Apr 15 13:35 GMT-0000 Torsten Fabricius added after Gary's comment in IRC today: "identify where js is used, and of these places, which should have a fallback/alternative" 36
21 Apr 15 13:25 GMT-0000 Torsten Fabricius Sorry, broke the Propoal plugin by deleting the endquote " - fixed 35
21 Apr 15 13:10 GMT-0000 Torsten Fabricius line break did not work out, sorry 34
21 Apr 15 13:08 GMT-0000 Torsten Fabricius only added line break 33
21 Apr 15 13:05 GMT-0000 Torsten Fabricius Proposal Plugin modified by editor. 32
21 Apr 15 13:05 GMT-0000 Torsten Fabricius added proposal referring to IRC cat Gary Mette and Torsten from yeterday (have been posting this chat in the comment) 31
20 Apr 15 22:29 GMT-0000 Frank Guthausen bootstrap fallback 30
20 Apr 15 10:45 GMT-0000 Torsten Fabricius Did write a more detailed added a detailed comment, what Frank Guthausen, Torsten Fabricius (myself) and Alexander Mette think about the actual JS drive 29
20 Apr 15 04:17 GMT-0000 lindon 28
20 Apr 15 04:14 GMT-0000 lindon 27
20 Apr 15 04:10 GMT-0000 lindon 26
19 Apr 15 20:54 GMT-0000 lindon 25
19 Apr 15 20:54 GMT-0000 lindon 24
19 Apr 15 20:52 GMT-0000 lindon 23
19 Apr 15 19:29 GMT-0000 lindon 22
19 Apr 15 19:24 GMT-0000 lindon 21
19 Apr 15 15:32 GMT-0000 lindon 20
  • «
  • 1 (current)
  • 2

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Kanban
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools

Show PHP error messages