Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ARIA 101

ARIA 101

Bermon Painter

October 04, 2011
Tweet

More Decks by Bermon Painter

Other Decks in Technology

Transcript

  1. CHARLOTTE UX BERMON PAINTER OCTOBER 4th, 2011 article columnheader definition

    directory document group heading img list listitem math note presentation region row rowheader separator STRUCTURAL ROLES
  2. CHARLOTTE UX BERMON PAINTER OCTOBER 4th, 2011 button alert alertdialog

    checkbox combobox dialog gridcell link log marquee menuitem menuitemcheckbox menuitemradio option progressbar radio radiogroup scrollbar slider spinbutton status tab tabpanel textbox timer tooltip treeitem WIDGET ROLES
  3. CHARLOTTE UX BERMON PAINTER OCTOBER 4th, 2011 aria- activedescendant aria-atomic

    aria-autocomplete aria-controls aria-describedby aria-dropeffect aria-flowto aria-haspopup aria-label aria-labeledby aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-owns aria-posinset aria-eadonly aria-relevant aria-required aria-setsize aria-sort aria-valuemax WIDGET PROPERTIES
  4. CHARLOTTE UX BERMON PAINTER OCTOBER 4th, 2011 aria-busy aria-checked aria-disabled

    aria-expanded aria-grabbed aria-hidden aria-invalid aria-pressed aria-selected aria-valuenow aria-valuetext WIDGET STATES
  5. CHARLOTTE UX BERMON PAINTER OCTOBER 4th, 2011 <label for="">User Name<em

    role="presentation">(required)</em></label> <input type="text" aria-required="true" />
  6. CHARLOTTE UX BERMON PAINTER OCTOBER 4th, 2011 <label for="">User Name<em

    aria-hidden="true">(required)</em></label> <input type="text" aria-required="true" />
  7. CHARLOTTE UX BERMON PAINTER OCTOBER 4th, 2011 <label for=""> User

    Name <img src=”data:image/png;base64” alt=”required” role=”presentation” /> </label> <input type="text" id=”” aria-required="true" />
  8. CHARLOTTE UX BERMON PAINTER OCTOBER 4th, 2011 <label for=""=> User

    Name <img src=”data:image/png;base64” alt=”required” role=”presentation” /> </label> <input type="text" id=”” aria-required="true" aria-describedby=”error” /> <label id=”error” role=”alert”>Error message</label>
  9. CHARLOTTE UX BERMON PAINTER OCTOBER 4th, 2011 <div class=”message errors”

    aria-live=”polite” aria-atomic=”true”> <fieldset> <legend><h3>Errors Title</h3></legend> <ul> <li> <a href=”#input-id” id=”error-label”>Field name is required</a> OR <label for=”input-id” id=”error-label”>Field name...</label> </li> </ul> </fieldset> </div> ... <input type=”text” id=”input-id” aria-labeledby=”error-label” />