|
|
Reported:
|
2022-12-29 11:16 CET by Pierre Ossman
|
Modified:
|
2023-04-26 13:47 CEST
(History)
|
|
4
users
(show)
|
|
See Also:
|
|
Acceptance Criteria:
|
* Controls should have labels when the purpose of the control by itself isn't clear.
* Clicking a label next to a control should activate the control (check the checkbox, focus the text-input etc.)
* Labels should not be focusable using the keyboard. They should not receive a focus-outline and should be skipped in the tab-cycle order.
* Where we have disabled controls, the connected label should also appear disabled.
* IDs added to elements that labels map to must be unique.
* Table cells that are visual labels for input elements should be <th> instead of <td> since we have special styling for these.
* HTML labels should map to labelable control elements.
* HTML labels should not map to containers that hold multiple control elements.
|
|
|