WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: form accessibility

for

From: Jonathan Avila
Date: Aug 10, 2016 5:39PM


> In my .xsl, if I put the <input> before the <label> (on radio buttons and checkboxes), I think I can grab the value of the radio button and use it as my for and id attribute. But if the <label> comes first, I can't. Is there a preferred order by screen

The input should come before the label for radio button and checkboxes. Screen magnifiers are designed to work this way and may align the left edge of the magnified view as this paradigm is advised for checkboxes and radio buttons.

https://www.w3.org/TR/WCAG20-TECHS/G162.html

Jonathan

Jonathan Avila
Chief Accessibility Officer
SSB BART Group 
<EMAIL REMOVED>
703.637.8957 (Office)

Visit us online: Website | Twitter | Facebook | Linkedin | Blog
Check out our Digital Accessibility Webinars!