Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Source
Octocat-spinner-32 demo
Octocat-spinner-32 README.md
Octocat-spinner-32 package.yml
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.