Skip to content

Conversation

@0GiS0
Copy link
Owner

@0GiS0 0GiS0 commented May 29, 2025

This pull request focuses on improving accessibility across multiple HTML files (about.html, contact.html, and gallery.html). The changes address issues such as missing language attributes, inconsistent heading structures, lack of alt text for images, poor color contrast, and non-semantic elements. The updates ensure better compatibility with assistive technologies and enhance the overall user experience.

General Accessibility Improvements:

  • Added lang="en" attribute to the <html> tag to declare the language for screen readers. (about.html: [1] contact.html: [2] gallery.html: [3]
  • Introduced a "Skip to main content" link for keyboard navigation, improving accessibility for repetitive navigation. (about.html: [1] contact.html: [2] gallery.html: [3]

Semantic and Structural Enhancements:

  • Replaced inconsistent heading levels (e.g., skipping from h1 to h4) with a logical hierarchy, ensuring proper document structure. (about.html: [1] contact.html: [2]
  • Updated non-semantic elements (e.g., <div> and <h6>) to semantic elements (<h2>, <h3>, etc.) for better clarity and accessibility. (about.html: [1] contact.html: [2]

Image and Media Accessibility:

  • Added descriptive alt attributes to images to provide context for visually impaired users. (about.html: [1] contact.html: [2]
  • Included title and aria-label attributes for interactive elements like status indicators and timeline dots. (about.html: [1] contact.html: [2]

Form and Interactive Element Enhancements:

  • Improved form accessibility by adding <label> elements for inputs and associating them with their respective fields using for attributes. (contact.html: contact.htmlL25-L153)
  • Enhanced keyboard navigation and screen reader support for interactive elements like tabs, accordions, and buttons by using proper ARIA roles and attributes (e.g., role="tab", aria-expanded). (about.html: [1] contact.html: [2]

Visual and Contrast Improvements:

  • Fixed poor color contrast in text and buttons by using accessible color combinations. (about.html: [1] contact.html: [2]

giselatb added 2 commits May 29, 2025 15:02
- Added lang attributes to HTML documents for language declaration.
- Implemented skip links to allow users to bypass repetitive navigation.
- Improved heading structure for better semantic organization.
- Added alt text to images for improved screen reader support.
- Replaced non-semantic elements with appropriate HTML elements (e.g., buttons instead of divs).
- Enhanced form accessibility by adding labels to input fields.
- Improved color contrast in sections to meet accessibility standards.
- Added ARIA roles and properties to custom controls for better assistive technology support.
- Implemented keyboard navigation for carousels and modals.
- Created a new accessibility report page to summarize findings and improvements.
@github-actions
Copy link

🔍 Accessibility Test Results

No accessibility violations found!

🎉 Great job following accessibility best practices!


This comment was generated automatically by the accessibility testing workflow.

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.

3 participants