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
- Navigate to Tools → Abilities Explorer
- Open any ability's test view (
?action=test&ability=...)
- Inspect the JSON payload textarea
- 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
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
?action=test&ability=...)<textarea id="ability-test-payload">has no associated labelExpected 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, oraria-labelledbyscreen readers cannot announce what the field is for.References
includes/Experiments/Abilities_Explorer/Admin_Page.php