- Issue created by @chroid
The patch at https://git.drupalcode.org/project/sector/-/blob/10.1.x/patches/field_gr... has some placeholder text that suggests multiple attributes can be added, however when more than 1 is present it triggers array warnings.
I've probed for the addition of this on the Field Group link module as a feature request, suggesting we could provide some starter code -
https://www.drupal.org/project/field_group_link/issues/3489521
✨
Provide a option to add attributes to the Group link output
Active
but if that doesn't amount to anything, we might need to clean up this patch a little?
Test case:
Using [data-link-label="Read more"] [aria-label="Read more about [node:title]"]
as suggested in the placeholder text caused an issue whenever a space was encountered with a second attribute.
Singularly, [data-link-label="Read more"]
works.
Active
10.1
Code