Skip to content

Footnote: changing link color doesn't update footnote arrow link color #51991

Closed

Description

@annezazu

Description

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

  1. Open the Post Editor.
  2. Add some text.
  3. Highlight some text, use the drop down menu in the block toolbar to add a footnote.
  4. Open block settings and set a link color.
  5. 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.

Yes

Activity

  1. added
    [Type] Bug
    [Block] Footnotes
    on Jun 27, 2023
  2. ellatrix commented on Jun 30, 2023

    @ellatrix
    Member

    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?

  3. annezazu commented on Jul 3, 2023

    @annezazu
    ContributorAuthor

    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?

  4. ghorivipul97 commented on Jul 3, 2023

    @ghorivipul97
    Contributor

    @annezazu I'm here, can you able to assign me

  5. t-hamano commented on Jul 7, 2023

    @t-hamano
    Contributor

    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.

  6. ghorivipul97 commented on Jul 7, 2023

    @ghorivipul97
    Contributor

    okay @t-hamano
    I will do it

  7. added
    [Type] Feature
    [Type] Enhancement
    and removed
    [Type] Feature
    on Jul 17, 2023
  8. ndiego commented on Jul 24, 2023

    @ndiego
    Member

    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?

  9. added
    [Status] In Progress
    on Jul 24, 2023
  10. mikachan commented on Jul 24, 2023

    @mikachan
    Member

    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!

  11. moved this from 📥 Todo to 🏗️ In Progress in WordPress 6.3.x Editor Taskson Jul 24, 2023
  12. moved this from 🏗️ In Progress to 🔎 Needs Review in WordPress 6.3.x Editor Taskson Jul 24, 2023
  13. moved this from 🔎 Needs Review to 🦵 Punted to 6.4 in WordPress 6.3.x Editor Taskson Jul 24, 2023
  14. ghorivipul97 commented on Jul 25, 2023

    @ghorivipul97
    Contributor

    Hello @mikachan
    it's done and raise PR.

  15. moved this from 🦵 Punted to 6.4 to ✅ Done in WordPress 6.3.x Editor Taskson Jul 25, 2023
  16. removed
    [Type] Enhancement
    on Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

[Block] Footnotes[Status] In Progress[Type] Bug

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions