Skip to content

Fix typos in accessibility docs: stray words, articles, and parentheses - #46035

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

wbamberg merged 2 commits into
mdn:mainfrom
kumability:fix-typos-accessibility

Conversation

@kumability

Copy link
Copy Markdown
Contributor

Description

Fixes 10 small typos across 9 accessibility pages. Commits are split by kind:

  1. Parentheses (2): unchecked (`false)` → unchecked (`false`) in aria-checked, and an unclosed (or an HTML element with an equivalent role … in menuitemradio role
  2. Stray words, articles, and wording (8):
    • "with an of aria-label="…"" → "with an aria-label="…"" in the complementary, contentinfo, form, and navigation role pages. The search role page already has the correct wording.
    • "set to a the id to the menuitem" → "set to the id of the menuitem" in menu role
    • "moving off an a focused element" → "moving off a focused element" and "a group of radio button" → "a group of radio buttons" in radiogroup role
    • "have a positive affect on our emotions" → "have a positive effect on our emotions" in Color contrast and luminance
Page Fix
aria-checked ) inside inline code
menuitemradio role unclosed paren
complementary role stray "of"
contentinfo role stray "of"
form role stray "of"
navigation role stray "of"
menu role doubled article, "to" → "of"
radiogroup role doubled article, plural
Color contrast and luminance "affect" → "effect" (noun)

Motivation

These typos make sentences harder to read.

Additional details

In menu role, dropping only the extra "a" would still leave "set to the id to the menuitem", so I also changed the second "to" to "of". The wording has been like this since the page was created, so there was no earlier version to restore.

I checked that no other open PR touches these files.

Related issues and pull requests

Same kind of fixes as #46013 and #46031.

@kumability
kumability requested a review from a team as a code owner October 8, 2026 03:19
@kumability
kumability requested review from estelle and removed request for a team October 8, 2026 03:19
@github-actions github-actions Bot added Content:Accessibility Accessibility docs size/s [PR only] 6-50 LoC changed labels Oct 8, 2026
If your want more than one item in a group to be checked, or if you want to enable checking and unchecking an item, consider using `menuitemcheckbox`.

If a `menu` or `menubar` contains more than one group of `menuitemradio` elements, or if the `menu` contains a group of `menuitemradio` elements as well as other, unrelated `menuitem` elements and/or `menuitemcheckbox` elements, contain each set of related `menuitemradio` elements in a `group` element or delimit the group the `menuitemradio` elements from the other menu items with a `separator` element (or an HTML element with an equivalent role such as a {{HTMLElement('fieldset')}} grouping or a thematic break {{HTMLElement('hr')}} separator.
If a `menu` or `menubar` contains more than one group of `menuitemradio` elements, or if the `menu` contains a group of `menuitemradio` elements as well as other, unrelated `menuitem` elements and/or `menuitemcheckbox` elements, contain each set of related `menuitemradio` elements in a `group` element or delimit the group the `menuitemradio` elements from the other menu items with a `separator` element (or an HTML element with an equivalent role such as a {{HTMLElement('fieldset')}} grouping or a thematic break {{HTMLElement('hr')}} separator).

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.

this sentence is much too complex, but not a problem introduced by this PR.

@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.

👍

@wbamberg
wbamberg merged commit b126460 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:Accessibility Accessibility docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants