Skip to content

docs: add DOM policy and Trusted Types guide#7544

Draft
janechu wants to merge 1 commit into
releases/fast-element-v3from
users/janechu/dom-policy-docs
Draft

docs: add DOM policy and Trusted Types guide#7544
janechu wants to merge 1 commit into
releases/fast-element-v3from
users/janechu/dom-policy-docs

Conversation

@janechu
Copy link
Copy Markdown
Collaborator

@janechu janechu commented May 29, 2026

Pull Request

📖 Description

Adds a FAST Element 3.x guide for configuring DOMPolicy and Trusted Types. The guide documents DOM.setPolicy(), DOMPolicy.create(), Trusted Types CSP considerations, default policy limitations, XSS guidance, and policy examples, with links from relevant advanced documentation.

📑 Test Plan

  • npm run build -w @microsoft/fast-site
  • npm run format:check
  • npm run biome:ci
  • npm run checkchange

Note: npm run biome:check exits 1 with no diagnostics for this docs-only change because the changed files are Markdown and Biome ignores them.

✅ Checklist

General

  • I have included a change request file using $ npm run change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant