Skip to content

RFC Citation Link Jumps #440

Open
Open

Description

@mferguson-rpc

Describe the issue
When clicking on a link to an RFC in running text (e.g., [RFC9580]), the reader is jumped to the reference entry in the References section and back to the citation in so short a time that the reference entry cannot be read at all. Of course, you can hover and go to the RFC from the popup, but then why link to the references section?

Note that this is different behavior than appears for non-RFC citations (e.g., [FIPS-204]) where the reader is taken to the reference entry and then needs to navigate to the non-RFC doc or back to where they were in the text on their own.

Link to example rfc

Activity

  1. added
    rfc-displayIssues regarding how RFC content is displayed
    awaiting-triageAwaiting review by the RPC / Tools team
    on Jul 1, 2026
  2. alexisannerossi commented on Jul 7, 2026

    @alexisannerossi
    Collaborator

    triage: will fix

  3. holloway commented on Jul 16, 2026

    @holloway
    Contributor

    @mferguson-rpc thanks for reporting this. There was a bug on links to RFCs that caused behavior that matches that description, and that's now been fixed. Can you please test to see if the bug is fixed for you? Thanks!

    Techy details:

    Links to RFCs render using RFCRouterLink, which wraps the links in a Reka Popover (the Wikipedia-style hover/focus preview card).
    Non-RFC links are unaffected.

    When the Popover closes, Reka's default onCloseAutoFocus calls .focus() on the RFC Link to restore focus.

    These links to RFCs can be internal/hash links eg href="#RFC1234".

    If a reader clicked on an internal link to an RFC when the popover was open, or nearly open, the page would scroll down to the link
    target, and then Reka would immediately attempt to restore focus so the browser natively scrolls back to the initial link to an RFC, yanking the reader back to roughly where they clicked.

    The fix is to adjust the default Reka behaviour for onCloseAutoFocus, which cancels Reka's focus restoration when focus is already outside the card (e.g. on the just-clicked trigger link) because there is nothing to restore.

    When focus is inside the card (eg keyboard Escape) the WCAG-friendly focus-return is preserved.

  4. added
    awaiting-feedbackwhen the issue is potentially resolved and needs feedback / confirmation
    on Jul 16, 2026
  5. mferguson-rpc commented on Jul 17, 2026

    @mferguson-rpc
    Author

    Thanks for having a look! I can now see the reference entry and stay there to read it. However, same problem with getting back to the citation in text as reported in my response to #441.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-feedbackwhen the issue is potentially resolved and needs feedback / confirmationrfc-displayIssues regarding how RFC content is displayed

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions