Skip to content
Snippets Groups Projects
Commit 9c0b53ff authored by Viola Elsenhans's avatar Viola Elsenhans Committed by Mathias Maaß
Browse files

refs #24359 [finc] fix w3c errors

parent c655d7f8
Branches
Tags
No related merge requests found
...@@ -2,13 +2,12 @@ ...@@ -2,13 +2,12 @@
<?php /* finc adds php for more specific labels, #18754 */ ?> <?php /* finc adds php for more specific labels, #18754 */ ?>
<?php $label = isset($this->context) ? 'select_item_' . $this->context : 'select_item'; ?> <?php $label = isset($this->context) ? 'select_item_' . $this->context : 'select_item'; ?>
<label class="record-checkbox hidden-print"> <label class="record-checkbox hidden-print">
<?php /* finc adds aria-label and -describedby */ ?> <?php /* finc adds aria-label and -describedby and space in front of form attribute */ ?>
<input <input
class="checkbox-select-item" class="checkbox-select-item"
type="checkbox" type="checkbox"
name="ids[]" name="ids[]"
value="<?=$this->id?>" value="<?=$this->id?>"<?php if (isset($this->formAttr)): ?> form="<?=$this->formAttr ?>"<?php endif; ?>
<?php if (isset($this->formAttr)): ?>form="<?=$this->formAttr ?>"<?php endif; ?>
aria-describedby="<?=$this->id?>" aria-describedby="<?=$this->id?>"
aria-label="<?=$this->transEscAttr($label)?>" aria-label="<?=$this->transEscAttr($label)?>"
/> />
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment