Skip to content

Soften BCP14 language #435

Open

Description

@martinthomson

Describe the issue
Right now, all BCP14 tags are rendered with smaller text (0.9em), small-caps (which is redundant with the reduced size, but has no effect, because these tags never include lowercase text), and a font weight of 700, which selects the "bold" variant of the chosen font.

The effect is that BCP14 language really sticks out in text. Too much so in my view. If the SemiBold variant were selected (a weight of 600), the language would be sufficiently identifiable, but not so loud as to create distractions.

Before:
Image

After:
Image

The small-caps tweak is probably best dropped. Any lowercase text will be too small if it ever ends up in BCP14 tags, so it's not really a safe transform as it is. You could remove the 0.9em font-size tweak and go with font-variant-caps: all-small-caps, but I don't think that's a good change, because it makes the text even smaller and the current size seems about right.

BTW, you have the same rule for .bcp14 in two places on the pages I checked, one inline and one in the provided stylesheet, so be careful here.

Link to example rfc

Activity

  1. added
    rfc-display
    awaiting-triage
    on Jun 30, 2026
  2. removed
    awaiting-triage
    on Jun 30, 2026
  3. alexisannerossi commented on Jun 30, 2026

    @alexisannerossi
    Collaborator

    triage: will look at duplication as part of cleaning up css, not adjusting appearance (copied forward from rfc html)

  4. added
    design tweak
    on Oct 1, 2026
  5. holloway commented on Nov 25, 2026

    @holloway
    Contributor

    Per the triage above, we're inclined not to change this as it's the same font weight / size as the /rfc/rfcN.html version.

    I'll probably close this issue in a few days as there doesn't seem to be any remaining tasks.

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

Metadata

Metadata

Assignees

Labels

design tweakrfc-display

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions