Skip to content

This is an early unpublished editor's draft; content is incomplete and subject to change.

Label included in programmatic name

foundational

Normative Text

The programmatic name includes the visual label.

Methods & best practices

  • Method: Code the same name as you display.
  • Best Practice: Use unique names and keep the programmatic and visual names the same.
Tests

This section is non-normative.

Procedure

For each interactive element:

  1. Identify the interactive elements’ programmatic name.
  2. Identify the interactive element’s visual name.
  3. Check that #1 includes all of #2.

Expected results

  • #3 is true.

Tests

This content needs to be written.