Anakinyo → created an issue.
🐛 | Pathauto | TypeError : implode(): Argument #1 ($pieces) must be of type array, string given dans implode() (*/web/modules/contrib/pathauto/src/Form/PathautoSettingsForm.php ligne 255)
Anakinyo → created an issue.
Anakinyo → created an issue.
Hi, effectively, for accessibility, I need to use tooltip_id like an ID, so if a term appear more than 1 time, there are duplicate IDs.
I use aria-describedby on the parent span and id on the tooltip span.
For exemple :
<span role="tooltip" aria-describedby="{{ tooltip_id }}" class="tx-tooltip" tabindex="0">
{{ term_name }}
<span id="{{ tooltip_id }}" class="tx-tooltip-text">
{{ description }}
</span>
</span>
I need all of this to have a clean accessibility code.
Is it possible to add an increment at the end of tooltip_id var after every use on a term ? Or something else ?
Thx for your help