Skip to content

Conversation

@pepelsbey
Copy link
Member

Description

Adds browser support considerations to code guidelines:

  • Use feature detection
  • Don’t specify supporting browsers

Motivation

To improve maintenance.

@pepelsbey pepelsbey requested a review from dipikabh October 17, 2025 14:10
@pepelsbey pepelsbey requested a review from a team as a code owner October 17, 2025 14:10
@github-actions github-actions bot added Content:Meta Content in the meta docs size/s [PR only] 6-50 LoC changed labels Oct 17, 2025
@github-actions
Copy link
Contributor

Preview URLs

Flaws (1)

URL: /en-US/docs/MDN/Writing_guidelines/Code_style_guide
Title: Guidelines for writing code examples
Flaw count: 1

  • broken_links:
    • /en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Feature_detection is a redirect

Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good one

@hamishwillee hamishwillee merged commit 3a42aa0 into mdn:main Oct 19, 2025
7 checks passed
@pepelsbey pepelsbey deleted the examples-support branch October 20, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Meta Content in the meta docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants