Skip to content

Conversation

@afsheen-nadaf
Copy link

Description of Changes

This PR improves the accessibility and usability of the theme switcher button by providing a dynamic accessible label and tooltip that indicate the theme that will be applied when the button is clicked.

  • Adds a dynamic aria-label for screen reader users
  • Updates the title attribute to reflect the next theme state

This aligns the accessible behaviour of the button with its visual representation and improves overall clarity.

Type of Change

Please check the appropriate box that describes your PR:

  • 🐛 Bug Fix — Fixes a documented issue or incorrect behavior
  • ✨ Content Enhancement — Updates or improves existing content
  • ✍️ New Content — Adds new chapters, examples, or significant sections
  • 🛠️ Other — Please describe in the Description of Changes section

Checklist

@netlify
Copy link

netlify bot commented Jan 2, 2026

Deploy Preview for stupendous-kringle-a86e81 ready!

Name Link
🔨 Latest commit 78930ae
🔍 Latest deploy log https://app.netlify.com/projects/stupendous-kringle-a86e81/deploys/6957fceeeb79fa000884c4e7
😎 Deploy Preview https://deploy-preview-444--stupendous-kringle-a86e81.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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