Page MenuHomePhorge

a11y: Add aria-label to calendar date picker button
AcceptedPublic

Authored by aklapper on Sun, Jun 1, 11:26.

Details

Summary

Form elements should have associated labels per https://www.w3.org/WAI/tutorials/forms/labels/

Ref T16072

Test Plan

Have a custom field of "type": "date" defined in /config/edit/maniphest.custom-field-definitions/.
Go to edit a task (/maniphest/task/edit/1/) whose form exposes that custom field.
Inspect the <a> field parameters with class="calendar-button" and see an additional aria-label="Calendar date picker".
Optionally, run an Accessibility check in Chromium Lighthouse.

Diff Detail

Repository
rP Phorge
Branch
a11y-T16072-03 (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2036
Build 2036: arc lint + arc unit