Skip to content

H1 headings in badge.mdx, button-group.mdx, and avatar.mdx do not match the {Platform} Name Overview pattern #529

Description

@jsakamotoIGJP

Summary

The H1 heading of badge.mdx and button-group.mdx under docs/xplat/src/content/en/components/inputs/ does not follow the pattern used by the other files in the same folder.

Current headings

# Badge Component
# Button Group Component

Headings used by every other file in the same folder

# {Platform} Button Overview
# {Platform} Checkbox Overview
# {Platform} Chip Overview
# {Platform} Circular Progress Overview
# {Platform} Date Time Input Overview
# {Platform} File Input Overview
# {Platform} Icon Button Overview
# {Platform} Input Overview
# {Platform} Linear Progress Overview
# {Platform} Rating Overview
# {Platform} Text Area Overview

18 out of 20 files in docs/xplat/src/content/en/components/inputs/ follow the {Platform} <Name> Overview pattern. Only badge.mdx and button-group.mdx use the older <Name> Component pattern, with no {Platform} token.

Proposed fix

Change the two headings to match the majority pattern.

# {Platform} Badge Overview
# {Platform} Button Group Overview

Why this matters

The Japanese translation for both files was recently updated (button-group PR #468, badge PR #526), and the review found the same mismatch on the Japanese side. Since the Japanese docs follow the English source, fixing the English heading first will let the Japanese translation be corrected to match in a follow-up change.

Scope

This issue is about the H1 heading only. No other content in these two files needs to change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions