Closed gtnbssn closed 2 years ago
Hi! It seems some of the things asked in the template are missing? Please edit your post to fill out everything.
You won’t get any more notifications from me, but I’ll keep on updating this comment, and remove it when done!
Thanks, — bb
Ok seems i was a bit over enthusiastic about my abilities yet again. I will look deeper into the issue here. Meanwhile any advice welcome!
Friendly ping!
Hi! This was closed. Team: If this was merged, please describe when this is likely to be released. Otherwise, please add one of the no/*
labels.
Thanks a lot for your help with this!!
@gtnbssn I just noticed that the rest of the generated code depends on a footnoteLabelProperties
of at least id: 'footnote-label'
, due to accessibility concerns: it is linked to with an aria-describedby
:
I think we should force that to exist? Or do you have an alternative idea?
As an alternative, we could also force any id
to exist (throwing otherwise), and reuse that there?
Indeed!
I think there is a case for a custom class because users might want to be able to use the sr-only class elsewhere on their site, but keep the footnote title visible.
But I am less sure about the id. I cannot really think of a good reason to change it, so I'd say it would be ok to force it to exist with this value. Maybe there is a good use case, but i just cannot think of one for now.
fixed in 12.2.1 :)
Initial checklist
Description of changes
This attempts to add options to let users configure the html tag that will be used for the footnote section label, as well as the properties that will go on it, as discussed in #63
If this is deemed good enough, i will add changes to the readme to this PR in order for the new options to be documented.