[PR #7253] [MERGED] docs: improve accessibility #15423

Closed
opened 2026-04-13 10:01:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7253
Author: @bytaesu
Created: 1/10/2026
Status: Merged
Merged: 1/11/2026
Merged by: @bytaesu

Base: canaryHead: 2026-01-11/docs/accessibility


📝 Commits (1)

  • 6bbd3e7 docs: improve accessibility

📊 Changes

9 files changed (+60 additions, -12 deletions)

View changed files

📝 docs/components/builder/index.tsx (+6 -1)
📝 docs/components/features.tsx (+11 -5)
📝 docs/components/github-stat.tsx (+8 -1)
📝 docs/components/landing/hero.tsx (+12 -2)
📝 docs/components/landing/testimonials.tsx (+7 -2)
📝 docs/components/logo.tsx (+2 -0)
📝 docs/components/nav-bar.tsx (+2 -0)
📝 docs/components/nav-link.tsx (+10 -1)
📝 docs/components/theme-toggle.tsx (+2 -0)

📄 Description

result

Summary by cubic

Improve docs accessibility with better semantics, labels, and safer external links. Adds proper headings, hides decorative icons, and clarifies link/alt text for screen readers. Closes better-auth/better-auth#7242.

  • Accessibility
    • Replaced text tags with h1/h2/h3 in Hero and Features for correct heading order.
    • Marked decorative SVGs as aria-hidden across builder, hero, navbar, theme icons, and GitHub icons.
    • Added aria-labels for the logo and external links (GitHub, npm, demo, contextual “Learn more”).
    • Ensured external links use target="_blank" with rel="noopener noreferrer"; NavLink now sets rel/aria-label when external.
    • Improved alt text for testimonial avatars and added an informative aria-label to the GitHub stars button.

Written for commit 6bbd3e7aaa. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/7253 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 1/10/2026 **Status:** ✅ Merged **Merged:** 1/11/2026 **Merged by:** [@bytaesu](https://github.com/bytaesu) **Base:** `canary` ← **Head:** `2026-01-11/docs/accessibility` --- ### 📝 Commits (1) - [`6bbd3e7`](https://github.com/better-auth/better-auth/commit/6bbd3e7aaa46acde7e585d74dcb222136b0740d6) docs: improve accessibility ### 📊 Changes **9 files changed** (+60 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/builder/index.tsx` (+6 -1) 📝 `docs/components/features.tsx` (+11 -5) 📝 `docs/components/github-stat.tsx` (+8 -1) 📝 `docs/components/landing/hero.tsx` (+12 -2) 📝 `docs/components/landing/testimonials.tsx` (+7 -2) 📝 `docs/components/logo.tsx` (+2 -0) 📝 `docs/components/nav-bar.tsx` (+2 -0) 📝 `docs/components/nav-link.tsx` (+10 -1) 📝 `docs/components/theme-toggle.tsx` (+2 -0) </details> ### 📄 Description <img width="351" height="274" alt="result" src="https://github.com/user-attachments/assets/a3e74723-38ed-4d16-a94e-9267b772a286" /> --- - Closes https://github.com/better-auth/better-auth/issues/7242 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Improve docs accessibility with better semantics, labels, and safer external links. Adds proper headings, hides decorative icons, and clarifies link/alt text for screen readers. Closes better-auth/better-auth#7242. - **Accessibility** - Replaced text tags with h1/h2/h3 in Hero and Features for correct heading order. - Marked decorative SVGs as aria-hidden across builder, hero, navbar, theme icons, and GitHub icons. - Added aria-labels for the logo and external links (GitHub, npm, demo, contextual “Learn more”). - Ensured external links use target="_blank" with rel="noopener noreferrer"; NavLink now sets rel/aria-label when external. - Improved alt text for testimonial avatars and added an informative aria-label to the GitHub stars button. <sup>Written for commit 6bbd3e7aaa46acde7e585d74dcb222136b0740d6. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 10:01:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#15423