TextLabel.labelFor

Indicates which other control this label is here for. Similar to HTML for attribute.

In practice this means a click on the label will focus the labelFor. In future versions it will also set screen reader hints but that is not yet implemented.

class TextLabel
Widget labelFor;

Meta

History

Added October 3, 2021 (dub v10.4)