Skip to content

code within a link label does not look linkified #7339

@JakobJingleheimer

Description

@JakobJingleheimer

URL:

https://nodejs-pxw2fivbz-openjs.vercel.app/en/learn/modules/publishing-a-package

Browser Name:

Brave (Chromium)

Browser Version:

131.0.6778.108

Operating System:

macOS 14.6

How to reproduce the issue:

code within a link has no styling of link

In the above, I would expect the color of require() to be the same as the link colour (green).

I believe the current is unintentional, and due to the style of main code having the same css specificity than main a (both 0,0,2), but last wins, and main code occurs after.

I think color of link should have higher specificity to ensure it is not overridden.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityIssues concerning accessibility

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions