Accessible Radiobutton 1.2

Provides a class that makes a group of radiobuttons accessible



Details

Author
3i1a4o
Current version
1.2
GitHub
mashalla/radiobutton
Downloads
2641
Category
Widgets
Tags
Report
GitHub Issues

Releases


How to use

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

#JS
window.addEvent('domready', function() {
    var mooAccessRadiobutton = new AccessibleRadiobutton({
        'radiobuttons' : $('MooAccessRadiobutton')
    })
});

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