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

Alt tag in new component Avatar #4990

Comments

@ghost
Copy link

@ghost ghost commented Mar 23, 2020

Is your feature request related to a problem? Please describe...

There is no way to add an ALT tag to the new Avatar Component resulting in a lower SEO ranking when using :src or src attribute in the component

Describe the solution you'd like

Please add :alt or alt in the Avatar component for images, like :src

Describe alternatives you've considered

I have added an alt tag in avatar component, but it adds it to the <span tag

Additional context

avatar-component

@ghost
Copy link
Author

@ghost ghost commented Mar 23, 2020

@tmorehouse Thank you so much and keep up the great work, Bootstrap-Vue is AWESOME ! :-)

@tmorehouse tmorehouse added this to To do in 2.9.0 Mar 23, 2020
2.9.0 automation moved this from To do to Done Mar 23, 2020
jacobmllr95 added a commit that referenced this issue Mar 23, 2020
…icon avatars (closes #4990) (#4991)

* feat(b-avatar): add `img-alt` prop for adding alt attribute to image avatars (closes #4990)

* Update package.json

* Update avatar.js

* Update package.json

* Update avatar.js

* Update avatar.js

* Update avatar.js

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>
@tmorehouse
Copy link
Member

@tmorehouse tmorehouse commented Mar 26, 2020

@Ozkaa BootstrapVue v2.9.0 has been released.

@ghost
Copy link
Author

@ghost ghost commented Mar 26, 2020

@tmorehouse Thank you so much, you guys rock!
Stay safe, Oscar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment