Skip to content

Handling multiple labels #66

Open
Open

Description

@andruud

In #22, there is a proposal to use labels as "fallback" content for a parameter's description. For example:

<label for=foo>One label</label>
<input id=foo type=text>

could produce a parameter schema like:

{
  "type": "string",
  "description": "One label"
}

That's fine, but an element can have multiple labels attached to it:

<label for=foo>One label</label>
<label for=foo>Another label</label>
<input id=foo type=text>

What do we do then? I have chosen a cave-man approach of joining the texts with ; for now.

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