Skip to content

Add Stytch sponsor logos and update README #509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@

---

## Sponsors

We gratefully acknowledge support from our sponsors:

<div align="center">
<a href="https://stytch.com">
<picture>
<source width="200px" media="(prefers-color-scheme: dark)" srcset="./sponsor/stytch-light.svg">
<source width="200px" media="(prefers-color-scheme: light)" srcset="./sponsor/stytch-dark.svg">
<img width="200px" src="./sponsor/stytch-dark.svg" />
</picture>
</a>
<p align="center">
<a href="https://stytch.com/?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_campaign=xmlcrypto">
<b>The identity platform for humans & AI agents</b><br/>
One integration for authentication, authorization, and security
Comment on lines +15 to +23
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Add alt text and drop unsupported width on <source> for better accessibility & spec-compliance

  • MD045 warns because the <img> tag has no alt attribute – screen-readers will announce nothing.
  • The width attribute is not part of the <source> element spec; it is ignored by browsers and flagged by some HTML linters.
-      <source width="200px" media="(prefers-color-scheme: dark)" srcset="./sponsor/stytch-light.svg">
-      <source width="200px" media="(prefers-color-scheme: light)" srcset="./sponsor/stytch-dark.svg">
-      <img width="200px" src="./sponsor/stytch-dark.svg" />
+      <source media="(prefers-color-scheme: dark)" srcset="./sponsor/stytch-light.svg">
+      <source media="(prefers-color-scheme: light)" srcset="./sponsor/stytch-dark.svg">
+      <img width="200px" src="./sponsor/stytch-dark.svg" alt="Stytch logo" />

This small tweak keeps the visual layout untouched while satisfying accessibility tooling and HTML semantics.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<source width="200px" media="(prefers-color-scheme: dark)" srcset="./sponsor/stytch-light.svg">
<source width="200px" media="(prefers-color-scheme: light)" srcset="./sponsor/stytch-dark.svg">
<img width="200px" src="./sponsor/stytch-dark.svg" />
</picture>
</a>
<p align="center">
<a href="https://stytch.com/?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_campaign=xmlcrypto">
<b>The identity platform for humans & AI agents</b><br/>
One integration for authentication, authorization, and security
<source media="(prefers-color-scheme: dark)" srcset="./sponsor/stytch-light.svg">
<source media="(prefers-color-scheme: light)" srcset="./sponsor/stytch-dark.svg">
<img width="200px" src="./sponsor/stytch-dark.svg" alt="Stytch logo" />
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

15-15: Inline HTML
Element: source

(MD033, no-inline-html)


16-16: Inline HTML
Element: source

(MD033, no-inline-html)


17-17: Inline HTML
Element: img

(MD033, no-inline-html)


17-17: Images should have alternate text (alt text)

(MD045, no-alt-text)


20-20: Inline HTML
Element: p

(MD033, no-inline-html)


21-21: Inline HTML
Element: a

(MD033, no-inline-html)


22-22: Inline HTML
Element: b

(MD033, no-inline-html)


22-22: Inline HTML
Element: br

(MD033, no-inline-html)

🤖 Prompt for AI Agents
In README.md around lines 15 to 23, the <img> tag lacks an alt attribute, which
reduces accessibility for screen readers, and the <source> elements incorrectly
use the width attribute, which is not supported. To fix this, add a meaningful
alt attribute to the <img> tag describing the image content, and remove the
width attributes from all <source> elements to comply with HTML specifications
without affecting layout.

</a>
</p>
</div>
---

# Upgrading

The `.getReferences()` AND the `.references` APIs are deprecated.
Expand Down
3 changes: 3 additions & 0 deletions sponsor/stytch-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions sponsor/stytch-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.