Skip to content

Ability test payload textarea in Abilities Explorer lacks an accessible name #648

@Trushiv04

Description

@Trushiv04

Description

The JSON input <textarea> on the Abilities Explorer test screen does not have an accessible name. This causes a WCAG 2.1 AA violation as screen readers cannot announce the purpose of the input field.

Steps to Reproduce

  1. Navigate to Tools → Abilities Explorer
  2. Open any ability's test view (?action=test&ability=...)
  3. Inspect the JSON payload textarea
  4. Observe that the <textarea id="ability-test-payload"> has no associated label

Expected Behavior

The textarea should have an accessible name indicating its purpose (the JSON test input).

Actual Behavior

The <textarea> renders with no <label>, aria-label, or aria-labelledby screen readers cannot announce what the field is for.

References

  • WCAG 2.1 SC 1.3.1 Info and Relationships
  • WCAG 2.1 SC 4.1.2 Name, Role, Value
  • Affected file: includes/Experiments/Abilities_Explorer/Admin_Page.php

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions