WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Using labels or table headers on nested editable elements inside data cells?

for

From: Lucy Greco
Date: Jan 10, 2017 11:18AM


this has been coming up a lot lately here. in this example the table is
actualy data. but it it is reely just a lay out table should the role of
presentation be used on the table so the table verbosaty is not ther as
well

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


On Tue, Jan 10, 2017 at 7:15 AM, Graham Armfield <
<EMAIL REMOVED> > wrote:

> I know the code provided was just an example, but what is it that
> differentiates the various rows of inputs in this table setup? Surely you'd
> also need some way of tying the age/number field with the name field
> otherwise the prompt is ambiguous.
>
> In the corresponding form not laid out in a table I'd be using fieldset and
> legend to link the inputs. But here, could you also have the id of the name
> field included in the aria-labelledby? Has anyone tried doing that.
>
> I'd want to test this in mobile situations with Voiceover and Talkback too.
>
> Regards
> Graham Armfield
> > > > >