OWD project: Consistently document Web platform security requirements in MDN reference docs #146
Labels
proposal (actionable)
Enough information is provided and the work is scoped well. Actionable but not prioritized right now
Problem statement
Certain Web Platform APIs are only available behind certain security requirements, for example:
MDN documentation authors have no consistent way to record these security requirements and therefore these requirements aren't displayed nicely to MDN readers. New powerful Web Platform features come with security requirements very often. Web developers need to find security information at a consistent and reliable place in the documentation.
Proposed solutions
We could introduce a front-matter key on the authoring side. For example, something like this:
(Some information is also available in IDLs in webref, maybe we can programmatically add security requirements to the front-matter)
From this, we need to figure out how to render the information. Some pages already have a "Security requirements" section, like https://developer.mozilla.org/en-US/docs/Web/API/Performance/measureUserAgentSpecificMemory#security_requirements. It might be good to come up with boilerplate text or similar, so that security requirements are always talked about in the same way.
The https://developer.mozilla.org/en-US/docs/Web/Security section needs to be worked on. For each security concept of the web platform, we need docs that we can point to.
Task list
Priority assessment
More information
Related MDN discussion: mdn/mdn-community#288
Open Web Docs (OWD) is a non-profit collective funded by corporate and individual donations.
In order for this project to happen, please consider donating to OWD on https://opencollective.com/open-web-docs.
For more information on sponsorship and membership tiers, see https://openwebdocs.org/membership/
More information is available at https://openwebdocs.org.
For questions, please reach out to [email protected].
The text was updated successfully, but these errors were encountered: