Skip to content

Fix emoji declaration in disease.html#1469

Merged
omroy07 merged 2 commits intoomroy07:mainfrom
Facelessism:Bug/disease-html
Feb 12, 2026
Merged

Fix emoji declaration in disease.html#1469
omroy07 merged 2 commits intoomroy07:mainfrom
Facelessism:Bug/disease-html

Conversation

@Facelessism
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

Screen readers currently announce emojis included directly inside heading elements, which can create confusing or unnecessary output for assistive technology users. Wrapping decorative emojis with <span aria-hidden="true"> ensuring they are ignored by screen readers, hence improving accessibility.

What changes are included in this PR?

Updated disease.html headings to wrap decorative emojis in <span aria-hidden="true">.

Are these changes tested?

  • Verified headings with a screen reader to ensure emojis are no longer announced.
  • Manual browser testing confirms visual appearance remains unchanged.

Are there any user-facing changes?

There are no visual changes, only accessibility improvements. Screen readers now skip the decorative emojis.

@vercel
Copy link

vercel bot commented Feb 12, 2026

@Facelessism is attempting to deploy a commit to the Om Roy's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@Facelessism
Copy link
Contributor Author

Hey @omroy07
Do merge this PR under SWoC26 tags
Thank you

@omroy07 omroy07 merged commit e735e17 into omroy07:main Feb 12, 2026
2 of 6 checks passed
@github-actions
Copy link

🎉 Congrats @Facelessism on getting your PR merged! 🙌
Thanks for the contribution — looking forward to more from you 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Accessibility issues in disease.html

2 participants