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
<div class="imagefeature">
<div class="background"
role="presentation"
style="background-image: url('https://cdn.brand.illinois.edu/toolkit/dev/examples/_assets/images/hero-bg.jpg');
flex: 1;">
<!--?lit$814659999$-->
text alternative
</div>
Accessibility Considerations
Background images are not rendered in high contrast modes on Windows 10.
The use of role="presentation" is not needed on a div element if the image is considered decorative.
If the image is informative (e.g. presence of non-empty alt attribute) the role should be img and the alt attribute should generate an aria-label, rather than text content.