WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: List with Checkboxes & Links

for

From: Lucy Greco
Date: Apr 1, 2015 2:02PM


can you use labled by for the check box and then point to the link for the
lable

On Wed, Apr 1, 2015 at 12:59 PM, Patrick Burke < <EMAIL REMOVED> > wrote:

>
> Hi everyone,
>>
>
> Sorry for yet *another* variant of the form-field-with-extra-content
> problem.:
>
> I'm working with a site that has a list of names, with a checkbox for each
> one. The checkboxes let you select or deselect people for further action
> (Recommend for Promotion, Fire 'em All!, etc).
>
> The current arrangement is a 2-column table, with all the checkboxes in
> the left column (with no association to the names on the right.) I would
> simply suggest a list of checkboxes, with the names as labels. HOWEVER,
> each name is also linked to personnel profile info (simple href leading to
> a separate page for each individual).
>
> So, what's the simplest construct we can recommend? It should: have the
> checkboxes labeled appropriately, allow lookup of the individual personnel
> links, yet not have too much repetition of the names.
>
> In a very quick test, embedding the anchor inside the label tag appears to
> be a BAD IDEA! (Jaws+Firefox). The form field is recognized, but not the
> link. Of course this also breaks the expected behavior of clicking on the
> label to activate the form field.
>
> Thanks much for any ideas,
>
> Patrick
>
>
> --
> Patrick J. Burke
>
> Coordinator
> UCLA Disabilities &
> Computing Program
>
> Phone: 310 206-6004
> E-mail: <EMAIL REMOVED>
> Location: 4909 Math Science
>
>
> Department Contact: <EMAIL REMOVED>
> > > > >



--
Lucia Greco
Web Accessibility Evangelist
IST - Architecture, Platforms, and Integration
University of California, Berkeley
(510) 289-6008 skype: lucia1-greco
http://webaccess.berkeley.edu
Follow me on twitter @accessaces