Photography brings another dimension to the City’s brand identity. Pictures should be expressive, show real people and emotions, and be cropped for greatest effect. Aim for a photojournalistic approach, creating a sense of place, and showing real-life interactions between people. Never use a photo that’s contrived or cliched. Dynamic lines, angles and cropping give images personality.
In general:
We do not rely on imagery to communicate processes or other information on phila.gov. Images should support text content or be accompanied by a text equivalent.
Most often, photos featured on phila.gov will accompany a blog post. However, images may be embedded into a page alongside body text in certain cases.
Featured images must:
Do not use images that:
Flyers or graphics created for social media cannot be posted as images anywhere on phila.gov. These images will generally not comply with City’s digital accessibility policy or resize appropriately on phila.gov.
All images are required to have alternative text (also called alt text).
Good alt text describes the image within its surrounding context. For example, a headshot of a person should contain the person’s name. Never start alt text with “photo of” or “image of.”
<img src="captain-picard.jpg" alt="Captain Jean-Luc Picard">If an image contains text, like a logo, that text must be the alternate text.
<img src="city-of-philadelphia-logo.jpg" alt="City of Philadelphia">If the image is purely visual and does not contain meaningful information, the alternate text can be blank, but the attribute must be present. This indicates to screenreaders that the image is “decorative” or not important to understanding the content on the page.
<img src="hero-header-background.jpg" alt="">You can read more about alternate text on the WebAIM website.