WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Name, Role, Value and Labels or Instructions techniques...

for

From: Ryan E. Benson
Date: Mar 31, 2015 5:41AM


>As per the OP, there is text visible in the page that acts as labels. Just
that it's not associated using <label>, and the controls instead have a
title attribute.

Patrick, I am pretty sure Mallory is asking in general, *not* /this/ exact
situation. Frankly I have the same feelings as her. One of the things about
WCAG is it was supposed to be AT gnostic. It isn't now, sadly, in my eyes.
By saying @title is equivalent to label, we can have a form without any
text shown and it wouldn't flag any errors if all the needed text is in
@title. Now this would be poor UX, but I am showing how it could be done,
if somebody wanted a "clean design." As keyborder, personally I rely on the
labels for radios and checkboxes, since the default size is sometimes hard
for me to target.

--
Ryan E. Benson

On Tue, Mar 31, 2015 at 4:39 AM, Patrick H. Lauke < <EMAIL REMOVED> >
wrote:

> On 31/03/2015 09:01, _mallory wrote:
>
>> This whole thread makes no sense to me. If titles are inaccessible
>> to keyboard and speech-to-text users, how can this count as
>> "accessible"? Because a *screen reader* can access it?
>>
>
> As per the OP, there is text visible in the page that acts as labels. Just
> that it's not associated using <label>, and the controls instead have a
> title attribute.
>
> I understand not everyone has the criteria of "must be generally
>> accessible" and instead need to meet specific WCAG requirements,
>> but I thought the whole point of WCAG was to help people build
>> things that worked, for *people*.
>>
>
> But remember that one SC can pass while still not offering a solution for
> everybody. Those excluded by the specific way an SC has been passed will
> likely be vindicated by another SC failing.
>
> So, assuming that there was no other text that acts as visual label for a
> moment, but just title, this would pass 4.1.2 but fail 3.3.2.
>
> P
> --
> Patrick H. Lauke
>
> www.splintered.co.uk | https://github.com/patrickhlauke
> http://flickr.com/photos/redux/ | http://redux.deviantart.com
> twitter: @patrick_h_lauke | skype: patrick_h_lauke
> > > > >