Skip to content

Allow to set id attributes #266

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

Open
jstask82 opened this issue Feb 17, 2025 · 0 comments
Open

Allow to set id attributes #266

jstask82 opened this issue Feb 17, 2025 · 0 comments

Comments

@jstask82
Copy link

It is a accessibility pattern to include an aria-labelledby attribute to an svg like this for example:

<svg role="img" aria-labelledby="id1 id2">
<title id="id1">title</title>
<desc id="id2">desc</desc>
//…
</svg>

i was not able to attach an id to the <title> or element in astro-icon. I assume this functionality does not exist yet.

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