[Bug 24278] should links be allowed inside labels?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24278

Mallory <stommepoes@stommepoes.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stommepoes@stommepoes.nl

--- Comment #2 from Mallory <stommepoes@stommepoes.nl> ---
I, and many others apparently, use this construct quite regularly:

<input type="checkbox" name="voorwaarden" id="voorwaarden">
<label for="voorwaarden">I have read and agreed to the <a
href="/voorwaarden">General Terms and Conditions</a>.</label>

Removing this would probably mean relying on aria-describedby on a separate
element, or hope the user's attention can remember that somewhere at the top of
the form was a link to the terms even by the time they've worked their way to
the bottom.

As a hack, I've also used anchors within labels for help text/extended label
info where a natively-focusable element was preferred for simple CSS hiding and
showing. However, as a hack, and now that everyone does everything with
Javascript nowadays anyway, I wouldn't let this reason hold against this bug.
But the first example would still hold for me.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 14 January 2014 08:14:39 UTC