Improving the accessibility of your website content will help provide a consistent experience for all users, including those who may browse sites using assistive technology such as:
Local Law 26 of 2016 mandates that the City of New York improve the accessibility of NYC.gov and agency websites.
Your agency is responsible for improving the accessibility of your website(s) and/content in order to meet the requirements of the Web Content Accessibility Guidelines (WCAG) 2.2 AA.
The following info is designed to help you improve the accessibility of your web content and maintain your site(s) on NYC.gov through Interwoven TeamSite (the City's enterprise content management system) in accordance with the WCAG 2.2 AA guidelines.
Note: The information on this page is subject to change without notice.
Please only share this page with TeamSite users or web content creators at your agency, and ensure that this site or this page does not get linked to from anywhere, publicly.
If you need our assistance with posting accessible content to your site, please prep your content in accordance with the guidelines below first, then send it to Webmail. If you don't know how to send your content to Webmail, please email your questions to the NYC.gov Web Operations team.
The primary destinction between the "regular" and "custom/special" content below is that we estimate it may take longer to mitigate the issues related to "custom/special" content.
Text and images of text must have a contrast ratio of at least 4.5:1 against the background that each appears on.
Note: Colors that are 4.5:1 (or very close to it) usually work on both light and dark backgrounds.
Use an accessibility evaluation tool to identify color contrast issues on your web pages. Rectify the issues and retest. Automated contrast calculators cannot always understand the context of elements and will occasionally report incorrect values, usually due to being incorrect about the background color. Inspect errors to see that the correct colors went into the calculator.
Color should not be the only way of distinguishing links. Links on agency sites on NYC.gov must also be bold. Links within the body content area of pages on agency sites on NYC.gov will be underlined.
Review your website to ensure that links throughout it are a different color than the regular body content and also bold. (Links on the home page should be bold as well.) If desired or necessary, links on your site can also be underlined.
Except when used in abbreviations and acronyms, avoid formatting text in ALL CAPS.
Review your website content and change text styled in ALL CAPS text to regular case or title case, as appropriate. People recognize words by their shapes, so avoiding the use of ALL CAPS makes words easier to recognize, which improves the speed at which users will perceive and understand your web content.
Minimize the use of bold or italicized text.
Bold (i.e., <b>) and italics (i.e., <i>) tags are often used to style content or to stress content's importance. However, in general, users find large blocks of bold or italicized text hard to read, so avoid those styles whenever possible. Also, from an accessibility standpoint, some screen readers do not recognize those tags. It is a known issue that TeamSite's visual editor (TinyMCE) still uses the <b> and <i> tags; the Interwoven team is investigating a solution to replace them with the <strong> and <em> tags, respectively.
Screen readers do not recognize colored text, and color blind individuals may not be able to differentiate some colors. Review the content on your site for colored text. If the colored text is used to emphasize something important, add an additional element, such as asterisks, surrounding it.
Red and/or green are often used to emphasize important text. Change red text, which is set in the commonly-used hex #ff0000 to hex #df0000, which provides sufficient contrast when on a white background.
For common, easily understood terms (e.g., St., Ave., Dr., US., etc.), you do not need to use the <abbr> tags.
Each web page must have a unique, short, descriptive title that describes the topic or purpose. On NYC.gov agency sites, we commonly referred these page titles as "browser titles." This is the title that appears when you hover over the browser tab.
Review each page title to ensure that it is unique, describes the content of the page, and is in the standard format (e.g., "About NYCHA - NYCHA") established for pages on NYC.gov.
To review a page title in Chrome, for example, hover over the tab area of the browser window. To add or revise a page title in TeamSite, go to "File > Page Settings > Title," and select "Edit". Insert a title and/or revise the existing title. Set it in this format: "Page Name - Agency Site/Initiative Acronym or Name".
Review each page on your site. Within the body content area, set the first heading as an h1, and set sub-sections with subsequent headings tags (e.g., h2, h3, h4, etc.,), hierarchically.
Link text must be descriptive, not generic/vague (e.g., click here, learn more, read more, etc.), and unique within the context of the content on the page.
Review the text of each link on your site, and revise it to describe what will happen when the user clicks it (e.g., "Download the 5.2.17 agenda," "Visit the HPD website," "Learn more about ID.NYC,"). Avoid non-descriptive link text such as "Read more," "Learn more," "Click here," etc.
Components that have the same functionality or links that point to the same location are labelled consistently across web pages/instances.
Use consistency when labelling links and functionality across pages. For example, if there is link text of "2017 Annual Report" on one page that links to the "2017_annual-report.pdf," use the same link text if you link to it on other pages.
If you need assistance turning off the hero autoplay feature, contact us. In some hero configurations, the brief descriptions that appear below the hero title will display in ALL CAPS. In TeamSite, however, be sure to set them in title case or regular case. We will be editing the template to make it display in regular case in the future. Hero content must also meet the other requirements on this page, particularly those related to non-text elements (e.g., include alt text, etc.). If a hero image functions as a link, describe that functionality in the alt text.
Non-text elements include images, graphics, logos, pictures, audio, video, infographics, buttons, icons, form controls, maps, image maps, interactive elements, etc. Purely decorative non-text elements do not require alt text, and should be presented in a way (i.e., aria-hidden) that will enable them to be ignored by screen readers and other assistive technology.
Review each non-text element on your site:
When drafting alt text:
Audio-only content is not accessible to deaf/hard of hearing individuals. Video-only content is not accessible to blind/low vision individuals. Have text transcripts created for the audio-only content and post them with that content. Have audio descriptions or text transcripts created for video-only content and post them with that content. For more information about creating transcripts and/or audio-descriptions, contact the City's Digital Accessibility Coordinator and/or the Mayor's Office for People with Disabilities.
Deaf/hard of hearing individuals cannot hear the audio/dialogue and need captions or a text transcript of the sounds, music, and dialogue to understand what is happening in the video. Blind/low vision individuals cannot see any text, scene transitions, or any visual actions happening onscreen. They would need an audio description or text transcript that explains the important visual elements of the video (e.g., the setting, who the significant characters are, what they are doing, and any text and logos that appear onscreen).
For all video/multimedia content, but especially for such content targeted to the disability community and/or about safety/emergency topics, this is the preferred method to ensure users can consume the content effectively.
Provide an alternate, "audio-described" version of the video.
Include synchronized captions, either open or closed in the video.
Insert the words "Audio Description:" followed by a description of the audio (a summary of what's in the video/a general explanation) within the text surrounding the video.
Include a link to a transcript of the audio (i.e., dialogue, music, sound, etc.).
Adhere as close as possible to the NYC.gov Expand/Collapse Standards when building such content on your site. The content within the expand/collapse items must adhere to the other requirements outlined on this page.
Expand/collapse functionality is recommended for frequently asked questions or topics followed by lengthy explanations.
Follow these guidelines for forms on your site:
Tables must contain only tabular data and be programmed correctly, and adhere to NYC.gov Table Standards. Tables on NYC.gov must also be responsive, meaning the layout responds to the user's device.
Review each table to ensure that it contains only tabular data and that it is programmed correctly. Code your tables following the examples on our Tables page.
Do not enclose "back to top" link in brackets (e.g., [back to top]).
Brackets around "back to top" links will be read by screen readers, and add unnessary complexity for users. Since they are not necessary, remove all brackets, if any, surrounding "back to top links" on your site.