-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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' property for describing image element in a herocard is not working #3371
Comments
Thank you for the report, @madbeher. What channel are you using? |
Hi, Thanks..... |
@madbeher - Hero cards don't have an Also, it would help if you posted your code as code instead of a screenshot |
@v-kydela Hero cards can have an image. Take a look at the Hero Card documentation. @madbeher I'm going to transfer this issue to the Web Chat repo since this looks like an issue with Web Chat not adding the
|
@tdurnford - Sorry I'm not sure what you mean when you say hero cards can have an image. Are you just agreeing with what I said about the cards having an |
@v-kydela Hero cards have an |
We tried using both 'image' and 'images' property and both are working.But 'alt' property is not working for both of them. Below is the documentation link which mentions that herocard has 'image' property. https://docs.microsoft.com/en-us/composer/how-to-send-cards Please find the attached screenshot from above documentation link which mentions that herocard has 'image' property. |
Please find below documentation link specific to hero card. https://docs.microsoft.com/en-us/composer/how-to-send-cards#herocard |
Alt-text are something outside for We need to bring in the service team to update the schema to provide support on accessibility. We also have another bug #2675 that need schema update for accessibility support. |
Few things:
|
FYI. The HeroCard template in the Composer documentation was referenced from the sample. |
I believe LG supports both the |
We are trying to add descriptive text to an image element in hero card using 'alt' property of 'CardImage' object as mentioned in the below document.
https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-reference#hero-card
https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#cardimage-object
I have attached screenshot of implemented logic
Herocard_LG_Template.zip
for the same.After implementing as shown in the attach image 'alt' property for image is not working and image is not getting displayed as well.
The text was updated successfully, but these errors were encountered: