Skip to content

fix(theme-classic): remove redundant title attribute from sidebar CategoryLinkLabel - #12064

Closed
AkshatRaj00 wants to merge 1 commit into
facebook:mainfrom
AkshatRaj00:fix/sidebar-redundant-title-accessibility
Closed

fix(theme-classic): remove redundant title attribute from sidebar CategoryLinkLabel#12064
AkshatRaj00 wants to merge 1 commit into
facebook:mainfrom
AkshatRaj00:fix/sidebar-redundant-title-accessibility

Conversation

@AkshatRaj00

@AkshatRaj00 AkshatRaj00 commented May 23, 2026

Copy link
Copy Markdown

No description provided.

…egoryLinkLabel

The `title` attribute on `<span>` inside CategoryLinkLabel was identical
to the visible text content. This caused WAVE accessibility tool to flag
a "Redundant title text" alert on all sidebar category items.

For users relying on voice access or screen readers, having a tooltip
that duplicates the visible label provides no additional context and adds
noise to the accessibility tree.

Fix: Remove the `title={label}` prop from the CategoryLinkLabel span.
The visible label text is sufficient for all assistive technologies.

Fixes facebook#11945
@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label May 23, 2026
@netlify

netlify Bot commented May 23, 2026

Copy link
Copy Markdown

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit cfa33c1
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6a11ff537b840000082ab200
😎 Deploy Preview https://deploy-preview-12064--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@slorber

slorber commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Duplicate of #11966

OSS vibe coding must be disclosed and is not welcome here.

Please do not send your first contributions here using AI or you will be banned

@slorber slorber closed this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants