Skip to content

docs: fix broken html rendering in accessibility banner#16736

Open
ApplY3D wants to merge 1 commit into
payloadcms:mainfrom
ApplY3D:a11y-banner-fix
Open

docs: fix broken html rendering in accessibility banner#16736
ApplY3D wants to merge 1 commit into
payloadcms:mainfrom
ApplY3D:a11y-banner-fix

Conversation

@ApplY3D
Copy link
Copy Markdown
Contributor

@ApplY3D ApplY3D commented May 25, 2026

What?

Fixed an issue where raw HTML tags were being displayed as plain text within the Accessibility page banner.

Why?

The Banner component in the documentation site does not automatically transform raw HTML strings (like <p> and <a>) into rendered elements. This resulted in users seeing the literal code instead of the intended message and link. Switching to standard Markdown ensures the content is correctly parsed and rendered by the MDX provider.

How?

Updated docs/admin/accessibility.mdx to replace the non-rendering raw HTML with standard Markdown syntax inside the <Banner> component.

Fixes #16735

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessibility documentation page shows raw html in the Banner component

1 participant