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

Enhance SVG Accessibility with 'title' and 'desc' in Groups #15

Conversation

mac303
Copy link
Contributor

@mac303 mac303 commented Jan 19, 2024

Currently, the SVG elements lack semantic details that could improve accessibility and provide a richer context for users relying on screen readers and other assistive technologies. To address this, I propose adding title and desc elements to our SVG groups ( tags). These elements will provide textual descriptions of the graphics, enhancing the understanding of the SVG content's structure and semantics.

<g>
    <title>Group Title</title>
    <desc>Description of the elements within the group and their interrelation.</desc>
    <!-- SVG Elements here... -->
</g>

By implementing these changes, we can improve the SVGs' accessibility, making our content more inclusive and compliant with web accessibility standards. This enhancement is not only in alignment with SVG best practices but also reinforces our commitment to creating accessible content for all users.

Copy link
Owner

@richardpiazza richardpiazza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a terrific improvement! Thanks for making the suggestion 🎉

@richardpiazza richardpiazza merged commit b308ebd into richardpiazza:main Jan 19, 2024
2 checks passed
@mac303
Copy link
Contributor Author

mac303 commented Jan 20, 2024

Thanks for the positive feedback! Happy it was helpful. 😊

@mac303 mac303 deleted the 3-enhance-svg-accessibility-with-title-and-desc-in-groups branch January 20, 2024 21:04
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.

2 participants