Department of Education and Early Childhood Development (DEECD)
Web Development
Web Developer Guidelines
Visual Design Recommendations

Javascript Guidelines

No. Checkpoint Source
1.1 All JavaScript is accompanied by the <noscript> element containing the equivalent content or functionality provided by the JavaScript Priority 1
1.2 The site is functional and all content available when JavaScript is disabled Priority 1
1.3 The page does not contain JavaScript links Priority 1
1.4 JavaScript does not cause flickering Priority 1
1.5 Any movement caused by JavaScript can be stopped Priority 2
1.6 JavaScript does not create any popup windows Priority 2
1.7 JavaScript does not open any new browser windows Priority 2
1.8 JavaScript does not change the focus to another browser window Priority 2
1.9 When JavaScript is used to create menu fly-overs, the relevant head navigation item is a link Priority 2
1.10 When JavaScript is used to create expandable/collapsible menus, the default presentation i.e. when JavaScript is disabled, has all menu items and sub-items expanded Priority 2
1.11 JavaScript has not been used for form submission Priority 1
1.12 Where JavaScript has been used for form validation, there is a server-side fallback Priority 1
1.13 JavaScript does not cause a refresh of the page unless the user authorises it Priority 2
1.14 Where JavaScript has been used to update or refresh a page, the user is aware that this update or refresh will occur Priority 2
1.15 Where JavaScript has been used to update a page, the updated content appears after the current focus Priority 2
1.16 JavaScript does not require any timed responses Priority 2
1.17 The event handler ondblclick is not used Priority 2
1.18 Ensure event handlers are input-device independent Priority 2
1.19 Event handlers do not rely on the user's mouse coordinates Priority 2

Back to top