Skip to content

Fix grammar and punctuation typos in Web API docs - #46031

Merged
wbamberg merged 2 commits into
mdn:mainfrom
kumability:fix-typos-web-api-grammar
Oct 8, 2026
Merged

wbamberg merged 2 commits into
mdn:mainfrom
kumability:fix-typos-web-api-grammar

Conversation

@kumability

@kumability kumability commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes 11 small grammar and punctuation typos across 11 Web API pages. Commits are split by kind:

  1. its/it's and affect/effect mix-ups (4), e.g. "each task simply logs it's expected order" → "its expected order"
  2. Doubled articles and punctuation (7), e.g. "removes a the named Highlight" → "removes the named Highlight", "lost focus,, for example" → "lost focus, for example"
Page Fix
Canvas_API/Tutorial/Applying_styles_and_colors effects → affects
Media_Source_Extensions_API/Transcoding_assets_for_MSE it's → its
Prioritized_Task_Scheduling_API it's → its
Scheduler/postTask it's → its
HighlightRegistry/delete doubled article
HTMLLinkElement/imageSrcset punctuation
IDBRequest/transaction doubled article
PaintWorkletGlobalScope/registerPaint doubled article
RTCEncodedVideoFrame/getMetadata doubled article
Window/blur_event punctuation
XRFrame/getHitTestResults doubled article

Motivation

These typos make sentences harder to read.

Additional details

For the doubled articles ("a the", "the a"), I kept whichever article fits the sentence: "the" where the noun was already introduced or is specific (e.g. the hit test source from the previous sentence), "a" where it's generic (e.g. "Thrown when a worklet already exists").

I checked that no other open PR touches these files.

Related issues and pull requests

Follow-up of #46013 (parentheses in Web API docs).

@kumability
kumability requested a review from a team as a code owner October 8, 2026 01:35
@kumability
kumability requested review from sideshowbarker and removed request for a team October 8, 2026 01:35
@github-actions github-actions Bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Oct 8, 2026

@wbamberg wbamberg left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

👍 nice

@wbamberg
wbamberg merged commit 8b77a01 into mdn:main Oct 8, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants