Skip to content

Not useful MDN links from BCD only reload the current page #1465

@pepelsbey

Description

@pepelsbey

Description

While adding missing mdn_url links to BCD, I found one kind of BCD table that’s not useful or even confusing for our readers:

https://developer.mozilla.org/en-US/docs/Web/API/CSS/factory_functions_static#browser_compatibility

For most of the CSS static methods, there are no dedicated pages, apart from a few interesting ones:

  • highlights
  • registerProperty()
  • supports()

The rest are quite boring, so in BCD mdn_url just goes to one page they’re listed on.

So, in the BCD table:

  • If you click on the highlights static property link, you’ll get useful info on a dedicated page
  • If you click the grad() static method link, you’ll just reload the same page and end up at the top of it

And there’s no way to tell whether the link is useful or not. But that’s only for MDN readers. For other users of BCD, this link might still be helpful.

Suggested solution

I think we could/should filter out links in the BCD table which point to the page you're on, unless they point to a section (that still seems useful), but just going to the top of the page feels useless and frustrating, yeah
@LeoMcA

Metadata

Metadata

Assignees

No one assigned

    Labels

    p1We will address this soon and will provide capacity from our team for it in the next few releases.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions