Skip to content

Instantly share code, notes, and snippets.

View ginader's full-sized avatar

Dirk Ginader ginader

View GitHub Profile
@ginader
ginader / bulletproof accessible required inputs
Created February 9, 2011 23:39
if ARIA is supported it will anounce required on the input and ignore the image. If not the user sees the required icon and gets the alt text.
<label for="fname">
First Name <img src="required-icon.png" alt="required" role="presentation">
</label>
<input type="text" aria-required="true" required id="fname" name="fname" >
$ npm install npm
npm info it worked if it ends with ok
npm info version 0.2.1
npm info fetch http://registry.npmjs.org/npm/-/npm@0.2.3-2.tgz
npm info install npm@0.2.3-2
npm WARN npm@0.2.3-2 linkMans It seems /usr/local/Cellar/node/0.2.2/share/man might not be visible to man
npm WARN npm@0.2.3-2 linkMans For greater justice, please add it to your man path
npm WARN npm@0.2.3-2 linkMans See: `man man`
npm info activate npm@0.2.3-2
npm info build Success: npm@0.2.3-2
$ npm update npm --loglevel verbose
npm info it worked if it ends with ok
npm verb cli [ 'update', 'npm', '--loglevel', 'verbose' ]
npm info version 0.2.1
npm verb config file /Users/ginader/.npmrc
npm verb config file /usr/local/Cellar/node/0.2.2/etc/npmrc
npm info update Nothing to update
npm not ok
<script type="text/javascript">
$(function() { if($.browser.mozilla){ $('.equalize').removeClass('equalize'); } });
</script>