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

Feature request: accessible SVGs #328

Open
kevinrenskers opened this issue Mar 11, 2024 · 0 comments
Open

Feature request: accessible SVGs #328

kevinrenskers opened this issue Mar 11, 2024 · 0 comments

Comments

@kevinrenskers
Copy link

As the icons are always inlined, there's no <img> tag to add an alt text to. To solve this with inlined <svg> elements, you'd normally add a <title> tag inside the <svg> tag - see https://css-tricks.com/accessible-svgs/#aa-2-inline-svg.

Can you add this to svelte-fa? I'd like our icons to be accessible, which they are not at the moment.

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

No branches or pull requests

1 participant