Problem/Motivation
Source revision / Target revision radios have no label. All form element must have a label to adhere to WCAG 3.3.2, see https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions.html
Steps to reproduce
Inspect html on /node/1/revisions:
<input data-drupal-selector="edit-node-revisions-table-0-select-column-two" type="radio" id="edit-node-revisions-table-0-select-column-two" name="radios_right" value="1" checked="checked" class="form-radio" style="display: block;">
Proposed resolution
Add a label to Source revision / Target revision radios
Remaining tasks
- Write a merge request
- Review
- Commit
User interface changes
Source revision / Target revision radios have a label
API changes
None
Data model changes
None
Issue fork diff-3588984
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
idebr commentedComment #4
idebr commentedThe merge request adds a label to Source revision / Target revision radios
The generated HTML is now:
Comment #5
acbramley commentedNice find, thanks!