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

Include Alt Attribute on Svg #320

Closed
wants to merge 2 commits into from

Conversation

kaconant
Copy link

Alt alt attribute as option for SVG per accessibility requirements.

@zpao zpao linked an issue Oct 25, 2023 that may be closed by this pull request
@@ -40,6 +40,7 @@ type QRProps = {
marginSize?: number;
imageSettings?: ImageSettings;
title?: string;
alt?: string;
Copy link
Owner

Choose a reason for hiding this comment

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

I commented on the issue, so we can continue there. But practically, all this is doing is changing the type that gets exported. Is that what you're looking for. The code is already going to pass alt along so it will be in the DOM.

@kaconant kaconant requested a review from zpao October 25, 2023 20:09
@kaconant kaconant closed this Oct 25, 2023
@kaconant kaconant deleted the includeAltAttribute branch October 25, 2023 20:31
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.

Improve Accessibility support
2 participants