RE: Aria-labelledby for form controls- examples

IMHO, as a general pattern, all examples should strive for covering as many disabilities as possible. If there are alternatives, the one which covers the most should be rated as prime.

For instance, it is fine to use aria-label for a text field with no visible label, but this does not help non-blind people detecting the label. 
Therefore I encourage considering the usage of <title> attribute at first instance.

Dexterity is really a good point, also when it comes to web content on mobile devices. Having the classic <label for> will enlarge the touchable area also.


-----Original Message-----
From: David MacDonald [] 
Sent: Donnerstag, 12. September 2013 23:56
To: Sailesh Panchang
Cc: james nurthen;
Subject: Re: Aria-labelledby for form controls- examples

I'm out of town training this week and so just skimming the discussion...
But I think we should discuss the bidirectional referencing of <label for> and labelledby... During my teaching today a programmer approached me and discussed the advantages of <label for> in that it if a user clicks on the label in any modern browser the puts focus in the form field... And this helps people with dexterity problems, even it the aria labelledby gets the accessible name.

So it would be something like this example...

I notice this is what Steve Faulkner did in the using aria in html5 note...

David MacDonald 
>From my iPad 

On 2013-09-12, at 12:16 PM, Sailesh Panchang <> wrote:

> Hello James,
> The third issue about the checkbox:
> Before the example, there is a paragraph which explains  why the checkbox needs a specific identifier.
> The 'check to compare' serves little or no purpose, I'd say even visually,  but it is part of the UI. 
> But I'll reiterate as a VI user  that  It is text that can be safely be ignored by AT to avoid cluttering verbosity. So I believe the aria-labelledby markup is good as is. 
> Agree?
> Ref:
> About role=group write-up:
> What I have already submitted is a specific technique for grouping related form controls generally usable when one is constrained by design to use fieldset-legend technique. So please review  / discuss and consider for incorporating into techniques.
> As I wrote it, it will be good if others can comment.
> Also review other changes / comments :
> See
> Thanks,
> Sailesh
> --------------------------------------------
> On Wed, 9/11/13, james nurthen <> wrote:
> Subject: Re: Aria-labelledby for form controls- examples
> To: "Sailesh Panchang" <>
> Cc:
> Date: Wednesday, September 11, 2013, 1:17 PM
> On 9/11/2013 7:52 AM, Sailesh Panchang wrote:
>>        On 9/10/2013
>>    7:54 AM, Sailesh Panchang
>>          wrote:
>> Please review:
>>    Aria-labelledby for form controls

Received on Friday, 13 September 2013 06:51:11 UTC