Skip to content

Add page on integrity; revise SRI guide#43658

Open
wbamberg wants to merge 1 commit intomdn:mainfrom
wbamberg:fix-43302
Open

Add page on integrity; revise SRI guide#43658
wbamberg wants to merge 1 commit intomdn:mainfrom
wbamberg:fix-43302

Conversation

@wbamberg
Copy link
Copy Markdown
Collaborator

@wbamberg wbamberg commented Apr 3, 2026

Fixes #43302.

We didn't have a standalone page for integrity, and since it's a bit involved and used in more than one element. I thought it was worth creating one.

I've talked about including multiple hash values, and the behavior as I understand it.

TBH I don't understand why anyone would provide more than one hash function rather than just use SHA-512. Maybe I'm missing something?

I haven't systematically rewritten the SRI guide, just made some changes that seemed necessary.

I would be tempted to remove a lot of the detail about "how to generate hashes" and just point people at tools like OpenSSL.

@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs Content:Security Security docs size/m [PR only] 51-500 LoC changed labels Apr 3, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Preview URLs (5 pages)

Flaws (34)

Note! 4 documents with no flaws that don't need to be listed. 🎉

Found an unexpected or unresolvable flaw? Please report it here.

URL: /en-US/docs/Web/HTML/Reference/Attributes
Title: HTML attribute reference
Flaw count: 34

  • broken_links:
    • Link /en-US/docs/Web/HTML/Reference/Attributes/alt doesn't resolve
    • Link /en-US/docs/Web/HTML/Reference/Attributes/autoplay doesn't resolve
    • Link /en-US/docs/Web/HTML/Reference/Attributes/cite doesn't resolve
    • Link /en-US/docs/Web/HTML/Reference/Attributes/colspan doesn't resolve
    • Link /en-US/docs/Web/HTML/Reference/Attributes/controls doesn't resolve
    • and 29 more flaws omitted

@wbamberg wbamberg marked this pull request as ready for review April 3, 2026 03:28
@wbamberg wbamberg requested review from a team as code owners April 3, 2026 03:28
@wbamberg wbamberg requested review from hamishwillee and removed request for a team April 3, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTML Hypertext Markup Language docs Content:Security Security docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SRI examples are incomplete

2 participants