Accessible Checkbox 1.1

Provides a class that makes checkboxes accessible



Details

Author
3i1a4o
Current version
1.1
GitHub
mashalla/checkbox
Downloads
2048
Category
Widgets
Tags
Report
GitHub Issues

Releases


How to use

<form action="" id="MooAccessCheckbox">
    <p>
        <input type="checkbox" name="apple" value="apple" checked>
        <span>Apple</span>
        <br>
        <input type="checkbox" name="banana" value="banana">
        <span>Banana</span>
        <br>
        <input type="checkbox" name="orange" value="orange">
        <span>Orange</span>
        <br>
        <input type="checkbox" name="pineapple" value="pineapple">
        <span>Pineapple</span>
        <br>
        <input type="checkbox" name="melon" value="melon">
        <span>Melon</span>
    </p>
</form>

#JS
window.addEvent('domready', function() {
    mooAccessCheckbox = new AccessibleCheckbox(
        { 'checkboxes' : $('MooAccessCheckbox')});
});

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus