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
Due to feedback we received in our milestone presentation, we realized we should use sr-only text instead of aria-label for non-interactive elements such as icons that denote information.
For example, any non-button non-anchor element that has aria-label text should have its text placed like so:
// previouslyreturn<divaria-label="Lorem ipsum dolor"><Icon/>
Some info
</div>// nowreturn<div><Icon/><spanclassName="sr-only">Text describing icon</span>
Some info
</div>
The text was updated successfully, but these errors were encountered:
Description
Due to feedback we received in our milestone presentation, we realized we should use sr-only text instead of aria-label for non-interactive elements such as icons that denote information.
For example, any non-button non-anchor element that has aria-label text should have its text placed like so:
The text was updated successfully, but these errors were encountered: