Describe the bug
The current reason for the cancellation form not being accessible is that it lacks a label and association with the form field. For screen reader users, the purpose of the form has no description.
The form and form fields also lack class names used elsewhere in PMPRO forms, which breaks styling that might already be using PMPR's naming convention.
Describe the bug The current reason for the cancellation form not being accessible is that it lacks a label and association with the form field. For screen reader users, the purpose of the form has no description.
The form and form fields also lack class names used elsewhere in PMPRO forms, which breaks styling that might already be using PMPR's naming convention.
This is probably not the right place for this but here is an example commit to the change: https://github.com/strangerstudios/pmpro-reason-for-cancelling/commit/156e05912e61515b6ef9acd2d93e25ad07d4fe47
Expected behavior An HTML label element with a 'for' attribute that matches the id for the textarea element.
Isolating the problem (mark completed items with an [x]):
WordPress Environment