You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Footnote: changing link color doesn't update footnote arrow link color #51991
Using 16.1 RC 2 and testing footnotes, I noticed that after setting a link color, that color is only respected in the text itself but not in the arrow to return next to the footnote itself to return. I expect to be able to have the colors match, especially since the current color offered isn't accessibility ready. cc @ellatrix for more insight as I wonder if this has to be set elsewhere.
Step-by-step reproduction instructions
Open the Post Editor.
Add some text.
Highlight some text, use the drop down menu in the block toolbar to add a footnote.
Open block settings and set a link color.
Notice this updates the (1) color but not the arrow of the footnote itself.
Screenshots, screen recording, code snippet
footnote.color.mov
Environment info
WP 6.2.2
GB 16.1 RC 2
TT3
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Hm, so you expect the link colour of the anchor to also change the back link colour? Not sure how this all works. Do you know who created this feature?
I think the link color change should only apply to the links in that block (i.e. Paragraph Block) and should not affect other blocks (i.e. Footnotes block). If the Footnote block itself supported link colors, this problem would be solved.
I think the link color change should only apply to the links in that block (i.e. Paragraph Block) and should not affect other blocks (i.e. Footnotes block). If the Footnote block itself supported link colors, this problem would be solved.
Agreed. I think the next step here is to add color (and additional block supports) to the Footnotes block.
@ghorivipul97 is this something you are actively working on? If not, can you unassign yourself?
Activity
ellatrix commentedon Jun 30, 2023
Hm, so you expect the link colour of the anchor to also change the back link colour? Not sure how this all works. Do you know who created this feature?
annezazu commentedon Jul 3, 2023
I do expect that or at least a way to change the color of the arrow/back link. As for the "feature", do you mean color options?
ghorivipul97 commentedon Jul 3, 2023
@annezazu I'm here, can you able to assign me
t-hamano commentedon Jul 7, 2023
I think the link color change should only apply to the links in that block (i.e. Paragraph Block) and should not affect other blocks (i.e. Footnotes block). If the Footnote block itself supported link colors, this problem would be solved.
ghorivipul97 commentedon Jul 7, 2023
okay @t-hamano
I will do it
ndiego commentedon Jul 24, 2023
Agreed. I think the next step here is to add color (and additional block supports) to the Footnotes block.
@ghorivipul97 is this something you are actively working on? If not, can you unassign yourself?
mikachan commentedon Jul 24, 2023
I've opened a quick PR for updating the block supports, #52897, as I think this is all we need to address this issue.
Happy to work with anything @ghorivipul97 has in progress, too!
ghorivipul97 commentedon Jul 25, 2023
Hello @mikachan
it's done and raise PR.