Components
Identifier
The identifier communicates a site’s parent agency and displays agency links required by federal laws and policies.
Passed WCAG 2.1 AA
About the identifier component
Note: Identifier is a core component along with the banner component. We recommend using both core components on most sites. Together, they are the most recognizable and standardized design elements of a government site.
Default
domain.gov
official website of theDefault (Spanish)
domain.gov
Un sitio web oficial de <Parent agency>
Multiple parents and logos
domain.gov
<Parent agency> and the <Other agency>
official website of theMultiple parents and logos (Spanish)
domain.gov
Un sitio web oficial de <Parent agency> y <Other agency>
No logos
domain.gov
official website of theTaxpayer disclaimer
domain.gov
<Parent agency> . Produced and published at taxpayer expense.
official website of theTaxpayer disclaimer (Spanish)
domain.gov
Un sitio web oficial de <Parent agency> . Producido y publicado con dinero de los contribuyentes de impuestos.
Guidance
When to use the identifier component
- To identify the highest-level agency associated with a site or service. The identifier is a complement to the USWDS banner. Use the identifier to tell users what parent agency is responsible for your website. Consider the parent agency the highest-level agency associated with a site or service. If your site is the primary site associated with an agency, you can still use the identifier.
- To display links required by federal laws and policies. The identifier includes links required on all government sites.
When to consider something else
- Any time it would be misleading. The identifier should be used to reduce confusion. Avoid using the identifier on any site meant only for testing or otherwise not meant to be identified as an official government website.
- Redundant content. Don’t add the identifier without removing any duplicate links from your existing site footer. Favor the common links and content in the identifier over any equivalent content in your site footer.
Usability guidance
- Use the identifier component for required links. If your site already includes the federally required links in its site footer, remove them in favor of the links in the identifier. This assures that site visitors find the required links in a consistent location from site to site.
- Consider the parent agency the highest-level agency associated with a site or service. In some cases, your site may not have a parent agency. If your site is the primary site for your agency, use your agency name in place of [Parent Agency]. For example, “[agency.gov] An official website of [Agency].”
- Display the parent agency logo, not the product logo. The identifier is meant to identify a website’s parent agency as a complement to the site footer. Site-specific logos, like a product logo, should be in the site footer, not the identifier. You may omit the logo in the identifier if it is redundant with the agency logo in your site’s footer.
- Display multiple parents and logos in hierarchical order. If a site has more than one parent agency, you may display a reference and a logo for each parent in hierarchical order, highest first. For example, “An official website of [Grandparent Department] and [Parent Agency]”.
- Avoid distraction. The identifier appears on every page of your site. Choose background colors that fit with your site theme and avoid color combinations that draw excessive attention to the identifier.
- Keep the text up-to-date. Use the most current version of the identifier.
Accessibility guidance
- Use proper landmarks for each identifier section. Each identifier section should be either a
section
or anav
, and include an appropriatearia-label
property. - Add an
alt
attribute to each logo image. Use[Agency shortname] logo
as the alt text for each logo image you add. - Use
image
role for any SVG images. Userole="img"
with any SVG logo image.
Using the identifier component
- Except where noted, use the entire component without deletions or additions. With rare exceptions, if you use the identifier, include the entire identifier. That is, don’t delete sections or required links or change any link text beyond the customizations mentioned in the implementation section.
- Use a background color darker than that of the footer. Anchor the identifier to the bottom of the page and distinguish it from other site content by adding a background color that is darker than the footer. Use primary or base family background colors of grade
80
or higher, orblack
. - Use an SVG logo if possible. Ensure the logo is high resolution. We recommend using the SVG version of any logo if you have one. Otherwise, use an image that’s at least 120 pixels tall.
- Use logos intended for dark backgrounds if possible. The identifier has a dark background. If your agency has a version of its logo intended for dark backgrounds, use that version.
- Update the required links to point to the proper URLs. The identifier includes links required of any federal website, and these links are specific to a department, agency, or website. We’ve linked each section below to the guidance on Digital.gov to provide further context.
-
About [Official parent agency acronym]: Update the link text to include the parent agency’s official acronym. Link to the “About” page of your parent agency’s principal website. If your site includes multiple parents, include only the organization highest in the hierarchy in this link.
Example: https://www.gsa.gov/about-us
-
Accessibility statement: Link to your website or service’s accessibility statement, or to your parent agency’s accessibility statement if your website or service does not have its own.
Example: https://www.dhs.gov/accessibility
-
FOIA requests: Link to a page that includes information about how the public can request information under the Freedom of Information Act on your parent agency’s principal website.
Example: https://www.gsa.gov/reference/freedom-of-information-act-foia
-
No FEAR Act data: Link to the “Equal Employment Opportunity Data Posted Pursuant to the No Fear Act” page on your parent agency’s principal website.
-
Office of the Inspector General: Link to your parent agency’s Office of the Inspector General.
Example: https://www.gsaig.gov
-
Performance reports: Link to a “Budget and Performance” page that includes the parent agency’s strategic plan among other financial and performance documentation.
Example: https://www.gsa.gov/reference/reports/budget-performance
-
Privacy policy: Link to the “Privacy” page most specific to your website. For example, if both your product website and your parent agency’s principal website have privacy pages, link to your product website’s privacy page here.
Example: https://www.dhs.gov/privacy-policy
-
- Use the Spanish version for Spanish-language sites. If you have an official Spanish-language website, use the Spanish version of the identifier.
- Duplicate the logo element if using multiple logos. If you’re using multiple logos, duplicate the
usa-identifier__logo
element and link the image to your image source. - If applicable, include any taxpayer disclaimer after the standard text. If the organization must provide a taxpayer expense disclaimer, include it following the “Official website” text, as a separate sentence. For example, “An official website of [Department]. Produced and published at taxpayer expense.”
Identifier settings
Variable | Description |
---|---|
$theme-identifier-background-color
|
The background color of the identifier. Use a color of grade 80 or higher, darker than the section that precedes it. |
$theme-identifier-font-family
|
The font family of the identifier. |
$theme-identifier-identity-domain-color
|
The color of your domain text in the identifier masthead. This should be grade 20-30 in the same family as the |
$theme-identifier-max-width
|
The maximum width of the content within the identifier. Use the same max-width as your site footer. |
$theme-identifier-primary-link-color
|
The color of the links in the masthead section. |
$theme-identifier-secondary-link-color
|
The color of the links in the required links section. This should be grade 20-30 in a |
Identifier variants
This component has no variants.
Accessibility test status
The USWDS team did 16 tests based on WCAG 2.1 AA success criteria.
Total tests |
Passed
|
Passed with exceptions
|
Conditional
|
Failed
|
---|---|---|---|---|
16 | 11 | 0 | 5 | 0 |
Overview of recent accessibility test results:
Learn more on the identifier accessibility tests page.
Package
-
Package usage:
@forward "usa-identifier";
- Dependencies:
uswds-fonts
,uswds-core
Latest updates
Meaningful code and guidance updates are listed in the following table:
Date | USWDS version | Affects | Description |
---|---|---|---|
2024-11-07 | N/A |
|
Added clarification on parent agency. We added guidance to cover cases where a site has no higher-level agency. More information: uswds-site#2591 |
2024-10-04 | 3.9.0 |
|
Updated the USA.gov link in Spanish versions of the identifier. The link text now reads “Visite USAGov en Español” and the link url is now “https://www.usa.gov/es/”. More information: uswds#5892 |
2024-08-13 | N/A |
|
Added WCAG compliance tag and accessibility test status section. More information: uswds-site#2754 |
2024-05-31 | 3.8.1 |
|
Fixed a bug that mistakenly added the English word “An” to Spanish variants in the component preview. More information: uswds#5857 |
2023-11-09 | 3.7.0 |
|
Updated the screen reader readout in English versions of the component. When read out on a screen reader, the statement “An official website of [Agency name]” can sound like “UNofficial website of [Agency name]”. Users should update their markup to improve the screen reader experience. More information: uswds#5491 |
2023-06-09 | 3.5.0 |
|
Breaking Updated Accessibility statement link text. Updated the identifier to use the text “Accessibility statement” (EN) / “Declaración de accesibilidad” (ES) for the required link to an accessibility statement. More information: uswds#5278 |
2023-06-09 | 3.5.0 |
|
Updated Accessibility statement link guidance. Updated and clarified the identifier guidance for accessibility statements. We also improved the accessibility statement example links. More information: uswds-site#2097 |
2022-10-19 | 3.2.0 |
|
Breaking
Used valid element for identity’s aria-label.
We updated the identity section of the identifier to use a |
2022-04-28 | 3.0.0 |
|
Breaking Updated to Sass module syntax and new package structure. More information: uswds#4656 |
2021-03-17 | N/A |
|
Added identifier guidance and documentation. More information: uswds-site#1180 |