This guidance is intended to help you use images effectively in login.gov products.
Login.gov uses illustrations throughout our products and services to help create an easy to follow guidance of our products and services. Below is guidance on how to use and create imagery that is in line with our brand.
Illustration provides context, adds clarity, builds consistency, and lead users to their next step. Ultimately, any illustration should provide a deeper understanding of the application or brand.
Being consistent in illustration means considering details of a single illustration, as well as looking at the body of illustration work as a whole. Consistency speaks to quality: of the illustration and of the product it represents.
Illustration is most effective when it is precise in choosing a single message to deliver. With every narrative that is built there needs to be a focal point, a hierarchy of elements that contribute to the single, pointed message. With every illustration, we ask ourselves “what are we trying to say?”
Illustrations are often decorative images. A decorative image does not add information to the content of a page. Unlike an informative image, a decorative image can be hidden from screen readers. We set decorative images as “hidden” from screen readers to help prevent a confusing, redundant and/or a tedious experience.
For decorative images, the
alt attribute should be set as empty. Avoid ommitting the
alt attribute altogether. If the
alt attribute is not used, a screen reader will read out the full filename to the user, which is not an accessible or good user experience.
Additional resources on decorative images: