CSS + JS + Accessibility
A guide to hiding content from screen readers and making JavaScript widgets accessible using CSS and JavaScript techniques.
A guide to hiding content from screen readers and making JavaScript widgets accessible using CSS and JavaScript techniques.
A developer's 2010 entry for the JS1k contest: a compact, canvas-based drawing app created with native JavaScript under 1KB.
Explains common pitfalls in JavaScript benchmarking and introduces tools like jsPerf and Benchmark.js to create reliable performance tests.
Explains how using setTimeout with a 0ms delay can speed up window.onload by preventing JavaScript from blocking the event.
A developer shares key principles for writing testable JavaScript code, focusing on avoiding singletons to prevent state pollution in tests.
A developer automates game idea generation by creating a tool that randomly combines words to produce 50 creative, one-line game concepts.
A guide to creating a constructor-safe spying function for unit testing JavaScript code, with examples and implementation details.
Explains the HTML5 `document.head` property, its benefits over traditional DOM access, and provides polyfill code for cross-browser support.
A tutorial on implementing the Showdown/PageDown Markdown parser in JavaScript, with examples for both plain JS and jQuery integration.
Analysis of Steve Jobs' open letter on Apple's decision not to support Flash on mobile devices, discussing proprietary standards and HTML5.
Analysis of a deceptive Facebook app that tricks users into running malicious JavaScript to spam friends.
A developer's experience using Opera browser with Oracle Enterprise Manager, highlighting its speed and tab management benefits.
Explores the size threshold for using inline scripts/styles vs. external files, considering HTTP overhead, caching, and performance trade-offs.
Explains how to use JavaScript's debugger statement to inspect private variables in closure-based modules, improving debugging for patterns like the Module Pattern.
Explains how JavaScript converts objects to primitives using toString and valueOf methods, covering basics, edge cases, and performance.
A developer creates a Python library to mimic JavaScript's flexible object syntax, allowing dot notation and dynamic property access.
A presentation overview on writing efficient, high-quality JavaScript code, aimed at developers with a Python background.
Guide to displaying messages in SharePoint 2010 using Status bar and Notification areas with JavaScript.
An in-depth guide to the JavaScript Module Pattern, covering basics, advanced techniques, and practical examples for clean code.
Analyzes the performance difference between JavaScript's strict (===) and loose (==) equality operators, finding minimal practical impact.