Skip to content

The wording "programmatically linked label" in F96 is ambiguous #5279

Open

Description

@giacomo-petri

In F96, the procedure includes "programmatically linked label" in the list of form controls. I find this wording ambiguous. My interpretation is that it refers to a label element that is programmatically associated with a form control (for example, through the for attribute or by nesting the control within the label). If that is the intended meaning, I think this wording may create unnecessary confusion for several reasons:

  • a label is not itself a control. While an HTML label element can be associated with a form control and, when properly implemented, allows users to focus the associated control by clicking it, I would not consider the label itself to be a control; and the target of 2.5.3 is user interface component.
  • the phrase "programmatically linked" is also potentially misleading. SC 2.5.3 is concerned with the text that is presented visually as the label, not with how that label is programmatically associated with the control. Referring to a "programmatically linked label" may therefore lead testers to focus on the association mechanism rather than on whether the visible label is reflected in the accessible name.

I suggest rewording this part of the procedure to avoid the ambiguity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions