Skip to content

Include aria-label as part of the Declarative API's toolparamdescription sources #286

Description

@sawyer-stripe

According to these docs: When toolparamdescription isn't set the browser uses the content within the associated <label> and skips descendants that are labelable. If there isn't a label, the browser refers to the aria-description.

Some existing sites use aria-label in place of <label> for some fields and actions. It would be helpful if aria-label was included in the determination of the toolparamdescription value, for instance, in order of priority:

  1. <label>
  2. aria-label
  3. aria-description

Activity

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