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
The component currently takes the alt text from the children images and adds them to the <div> with an aria-label attribute, but should it instead be aria-description or aria-describedby?
From the MDN docs:
The aria-description attribute is similar to aria-label in that both provide a text string to associate with the element, but a label should be short and concise, while the description can be longer as it is intended to provide more context and information.
The text was updated successfully, but these errors were encountered:
The component currently takes the alt text from the children images and adds them to the
<div>
with anaria-label
attribute, but should it instead bearia-description
oraria-describedby
?From the MDN docs:
The text was updated successfully, but these errors were encountered: