Skip to content
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

Accessibility improvements #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Kavipatel0
Copy link

Improve Accessibility: Add Alt Text, ARIA Labels, and Semantic HTML for Screen Reader Accommodation

Description

This pull request improves accessibility in the Libevent website by addressing missing screen reader support and enhancing semantic HTML structure. The changes resolve Issue #8 (Lack of Screen Reader Accommodation) and improve compliance with web accessibility standards.

Changes Made

  • Added missing alt attributes for images, including the Libevent logo and benchmark images.
  • Wrapped images in <figure> and <figcaption> elements to properly associate captions with images.
  • Replaced non-semantic <div> elements with appropriate HTML tags such as <article> and <section>.
  • Updated ARIA labels for better screen reader support.
  • Cleaned up redundant HTML elements and improved spacing.

Additional Notes

This PR contains a significant number of whitespace changes due to formatting improvements. To focus on the actual content updates, it may be helpful to enable GitHub’s “Hide whitespace changes” option or append ?w=1 to the diff URL.

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

Successfully merging this pull request may close these issues.

1 participant