Re: CSS in Accessibility Name Computation (Was: a11y-outline available for Firefox)

I am a bit confused because I did not get any response on my previous
message. Myabe it was not properly delivered. So here it is again:

I think the standard is actually clear about this: All labels should be
included in the name. A labelable element is associated with a label
element if:

- the label element has a `for` attribute that matches the control's `id`
- the label element does not have a `for` attribute and the labelable
element is the first labelable descendant of that label.

This means that there can be more than one label for a labelable
element. These labels should be processed in source order.

Source: https://www.w3.org/TR/html52/sec-forms.html#the-label-element

tobias

Received on Monday, 12 February 2018 15:48:51 UTC