Skip to content
No description or website provided.
JavaScript
Find file
Latest commit 5ec4c91 @mashalla 1.2
Failed to load latest commit information.
Source 1.2
demo 0.1
README.md 0.1
package.yml 1.2

README.md

Accessible Radiobutton

Provides a class that makes a group of radiobuttons accessible

Screenshot

How to use

#HTML
<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')
    })
});
Something went wrong with that request. Please try again.