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] title attribute transclusion #14

Open
stryju opened this issue Jul 10, 2014 · 1 comment
Open

[feature] title attribute transclusion #14

stryju opened this issue Jul 10, 2014 · 1 comment

Comments

@stryju
Copy link
Contributor

stryju commented Jul 10, 2014

it would be good, if the injector could transclude the title attribute to the SVG, if possible (tho, some more work could be involved to properly implement that)

currently, the title just remains on SVG, but according to the SVG 1.1 specs, it would be better to use a <title> or <desc> element

WDYT?

@protodave
Copy link
Contributor

I think that's a good idea... and currently have an open issue on iconic.js for figuring out what to do with the alt tag as well:

SVG spec does not define an alt attribute. Any alt attribute defined on the img tag could maybe be translated into title/desc tags or an aria-label attribute?

Iconic icons SVGs have a predefined SVG title tag built-in, so we'll need to think about how to handle pre-existing tags too (replace, merge?)

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

2 participants