View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5613 | Composr | core_form_interfaces | public | 2024-02-15 19:38 | 2024-06-07 18:50 |
Reporter | PDStig | Assigned To | PDStig | ||
Priority | normal | Severity | trivial | ||
Status | resolved | Resolution | fixed | ||
Product Version | 11.alpha4 | ||||
Summary | 5613: Accessibility labels incorrect for multi fields | ||||
Description | The "for" attribute of labels on multi-line fields is wrong. Since these fields are suffixed with _index, this method of doing labels will not work. We will need to create a new label for every new input that is created. Do this via JavaScript. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Automated response: 5613: Accessibility labels incorrect for multi fields The "for" attribute of labels on multi-line fields is wrong. Since these fields are suffixed with _index, this method of doing labels will not work. Actually I did not see this happening anymore, but what should have been happening was a new "accessibility-hidden" label element for each new field. It only existed on the first input but not the new ones. This patch fixes the JS so that a new label is created for each new input. |
|
Fixed in Git commit ee16b56aee (https://gitlab.com/composr-foundation/composr/commit/ee16b56aee - link will become active once code pushed to GitLab) |
|
A hotfix (a TAR of files to upload) has been uploaded to this issue. Only apply this hotfix if you absolutely need it and cannot wait until the next release of Composr (releases are more reliable and strictly tested). As of Composr version 11, the recommended way to apply a hotfix is by following the same steps as an upgrade (https://baseurl/upgrader.php, use the hotfix on step 5). The upgrader will automatically skip files belonging to addons you do not have installed or that are newer on disk than in the hotfix. Otherwise, you can manually extract and replace these files (do not replace if your on-disk file is newer than the one in the hotfix). Always take backups of your site or at least files you are replacing before applying a hotfix. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/). |