You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While addressing #142 with #1450, axe found an issue where on ImageCard we were passing the title as the alt text for the image. It was flagged because the recommended best practice is to not repeat image alt text as text on the page. There's more info about this rule on the Deque website.
As a temporary fix, we added the alt text of "A picture of the building" to the alt text, but we'd like to follow up to allow for a description prop to be passed as alt text because the image card could in theory be used in different contexts. If the description prop is not available, we want to default to empty alt text to avoid having the title read out twice.
The text was updated successfully, but these errors were encountered:
While addressing #142 with #1450, axe found an issue where on ImageCard we were passing the title as the alt text for the image. It was flagged because the recommended best practice is to not repeat image alt text as text on the page. There's more info about this rule on the Deque website.
As a temporary fix, we added the alt text of "A picture of the building" to the alt text, but we'd like to follow up to allow for a description prop to be passed as alt text because the image card could in theory be used in different contexts. If the description prop is not available, we want to default to empty alt text to avoid having the title read out twice.
The text was updated successfully, but these errors were encountered: