Skip to content

Instantly share code, notes, and snippets.

@cmegown
Last active December 9, 2020 22:01
Show Gist options
  • Save cmegown/4d99f0ab012c71b613ccb65b392528fb to your computer and use it in GitHub Desktop.
Save cmegown/4d99f0ab012c71b613ccb65b392528fb to your computer and use it in GitHub Desktop.
Web Content Accessibility Guidelines (WCAG) 2.1
[
{
"id": "1",
"title": "Perceivable",
"description": "Information and user interface components must be presentable to users in ways they can perceive.",
"guidelines": [
{
"id": "1.1",
"title": "Text Alternatives",
"description": "Provide text alternatives for any non-text content so that it can be changed into other forms people need, such as large print, braille, speech, symbols or simpler language.",
"criteria": [
{
"id": "1.1.1",
"title": "Non-text Content",
"description": "All non-text content that is presented to the user has a text alternative that serves the equivalent purpose, except for the situations listed below.",
"level": "A",
"techniques": [
{
"title": "Controls, Input",
"description": "If non-text content is a control or accepts user input, then it has a name that describes its purpose. (Refer to Success Criterion 4.1.2 for additional requirements for controls and content that accepts user input.)"
},
{
"title": "Time-Based Media",
"description": "If non-text content is time-based media, then text alternatives at least provide descriptive identification of the non-text content. (Refer to Guideline 1.2 for additional requirements for media.)"
},
{
"title": "Test",
"description": "If non-text content is a test or exercise that would be invalid if presented in text, then text alternatives at least provide descriptive identification of the non-text content."
},
{
"title": "Sensory",
"description": "If non-text content is primarily intended to create a specific sensory experience, then text alternatives at least provide descriptive identification of the non-text content."
},
{
"title": "CAPTCHA",
"description": "If the purpose of non-text content is to confirm that content is being accessed by a person rather than a computer, then text alternatives that identify and describe the purpose of the non-text content are provided, and alternative forms of CAPTCHA using output modes for different types of sensory perception are provided to accommodate different disabilities."
},
{
"title": "Decoration, Formatting, Invisible",
"description": "If non-text content is pure decoration, is used only for visual formatting, or is not presented to users, then it is implemented in a way that it can be ignored by assistive technology."
}
]
}
]
},
{
"id": "1.2",
"title": "Time-based Media",
"description": "Provide alternatives for time-based media.",
"criteria": [
{
"id": "1.2.1",
"title": "Audio-only and Video-only (Prerecorded)",
"description": "For prerecorded audio-only and prerecorded video-only media, the following are true, except when the audio or video is a media alternative for text and is clearly labeled as such:",
"level": "A",
"techniques": [
{
"title": "Prerecorded Audio-only",
"description": "An alternative for time-based media is provided that presents equivalent information for prerecorded audio-only content."
},
{
"title": "Prerecorded Video-only",
"description": "Either an alternative for time-based media or an audio track is provided that presents equivalent information for prerecorded video-only content."
}
]
},
{
"id": "1.2.2",
"title": "Captions (Prerecorded)",
"description": "Captions are provided for all prerecorded audio content in synchronized media, except when the media is a media alternative for text and is clearly labeled as such.",
"level": "A"
},
{
"id": "1.2.3",
"title": "Audio Description or Media Alternative (Prerecorded)",
"description": "An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media, except when the media is a media alternative for text and is clearly labeled as such.",
"level": "A"
},
{
"id": "1.2.4",
"title": "Captions (Live)",
"description": "Captions are provided for all live audio content in synchronized media.",
"level": "AA"
},
{
"id": "1.2.5",
"title": "Audio Description (Prerecorded)",
"description": "Audio description is provided for all prerecorded video content in synchronized media.",
"level": "AA"
},
{
"id": "1.2.6",
"title": "Sign Language (Prerecorded)",
"description": "Sign language interpretation is provided for all prerecorded audio content in synchronized media.",
"level": "AAA"
},
{
"id": "1.2.7",
"title": "Extended Audio Description (Prerecorded)",
"description": "Where pauses in foreground audio are insufficient to allow audio descriptions to convey the sense of the video, extended audio description is provided for all prerecorded video content in synchronized media.",
"level": "AAA"
},
{
"id": "1.2.8",
"title": "Media Alternative (Prerecorded)",
"description": "An alternative for time-based media is provided for all prerecorded synchronized media and for all prerecorded video-only media.",
"level": "AAA"
},
{
"id": "1.2.9",
"title": "Audio-only (Live)",
"description": "An alternative for time-based media that presents equivalent information for live audio-only content is provided.",
"level": "AAA"
}
]
},
{
"id": "1.3",
"title": "Adaptable",
"description": "Create content that can be presented in different ways (for example simpler layout) without losing information or structure.",
"criteria": [
{
"id": "1.3.1",
"title": "Info and Relationships",
"description": "Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.",
"level": "A"
},
{
"id": "1.3.2",
"title": "Meaningful Sequence",
"description": "When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.",
"level": "A"
},
{
"id": "1.3.3",
"title": "Sensory Characteristics",
"description": "Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, color, size, visual location, orientation, or sound.",
"level": "A"
},
{
"id": "1.3.4",
"title": "Orientation",
"description": "Content does not restrict its view and operation to a single display orientation, such as portrait or landscape, unless a specific display orientation is essential.",
"level": "AA"
},
{
"id": "1.3.5",
"title": "Identify Input Purpose",
"description": "The purpose of each input field collecting information about the user can be programmatically determined when:",
"level": "AA",
"techniques": [
{
"title": "",
"description": "The input field serves a purpose identified in the Input Purposes for User Interface Components section; and"
},
{
"title": "",
"description": "The content is implemented using technologies with support for identifying the expected meaning for form input data."
}
]
},
{
"id": "1.3.6",
"title": "Identify Purpose",
"description": "In content implemented using markup languages, the purpose of User Interface Components, icons, and regions can be programmatically determined.",
"level": "AAA"
}
]
},
{
"id": "1.4",
"title": "Distinguishable",
"description": "Make it easier for users to see and hear content including separating foreground from background.",
"criteria": [
{
"id": "1.4.1",
"title": "Use of Color",
"description": "Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.",
"level": "A"
},
{
"id": "1.4.2",
"title": "Audio Control",
"description": "If any audio on a Web page plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.",
"level": "A"
},
{
"id": "1.4.3",
"title": "Contrast (Minimum)",
"description": "The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except for the following:",
"level": "AA",
"techniques": [
{
"title": "Large Text",
"description": "Large-scale text and images of large-scale text have a contrast ratio of at least 3:1;"
},
{
"title": "Incidental",
"description": "Text or images of text that are part of an inactive user interface component, that are pure decoration, that are not visible to anyone, or that are part of a picture that contains significant other visual content, have no contrast requirement."
},
{
"title": "Logotypes",
"description": "Text that is part of a logo or brand name has no contrast requirement."
}
]
},
{
"id": "1.4.4",
"title": "Resize text",
"description": "Except for captions and images of text, text can be resized without assistive technology up to 200 percent without loss of content or functionality.",
"level": "AA"
},
{
"id": "1.4.5",
"title": "Images of Text",
"description": "If the technologies being used can achieve the visual presentation, text is used to convey information rather than images of text except for the following:",
"level": "AA",
"techniques": [
{
"title": "Customizable",
"description": "The image of text can be visually customized to the user's requirements;"
},
{
"title": "Essential",
"description": "A particular presentation of text is essential to the information being conveyed."
}
]
},
{
"id": "1.4.6",
"title": "Contrast (Enhanced)",
"description": "The visual presentation of text and images of text has a contrast ratio of at least 7:1, except for the following:",
"level": "AAA",
"techniques": [
{
"title": "Large Text",
"description": "Large-scale text and images of large-scale text have a contrast ratio of at least 4.5:1;"
},
{
"title": "Incidental",
"description": "Text or images of text that are part of an inactive user interface component, that are pure decoration, that are not visible to anyone, or that are part of a picture that contains significant other visual content, have no contrast requirement."
},
{
"title": "Logotypes",
"description": "Text that is part of a logo or brand name has no contrast requirement."
}
]
},
{
"id": "1.4.7",
"title": "Low or No Background Audio",
"description": "For prerecorded audio-only content that (1) contains primarily speech in the foreground, (2) is not an audio CAPTCHA or audio logo, and (3) is not vocalization intended to be primarily musical expression such as singing or rapping, at least one of the following is true:",
"level": "AAA",
"techniques": [
{
"title": "No Background",
"description": "The audio does not contain background sounds."
},
{
"title": "Turn Off",
"description": "The background sounds can be turned off."
},
{
"title": "20 dB",
"description": "The background sounds are at least 20 decibels lower than the foreground speech content, with the exception of occasional sounds that last for only one or two seconds."
}
]
},
{
"id": "1.4.8",
"title": "Visual Presentation",
"description": "For the visual presentation of blocks of text, a mechanism is available to achieve the following:",
"level": "AAA",
"techniques": [
{
"title": "",
"description": "Foreground and background colors can be selected by the user."
},
{
"title": "",
"description": "Width is no more than 80 characters or glyphs (40 if CJK)."
},
{
"title": "",
"description": "Text is not justified (aligned to both the left and the right margins)."
},
{
"title": "",
"description": "Line spacing (leading) is at least space-and-a-half within paragraphs, and paragraph spacing is at least 1.5 times larger than the line spacing."
},
{
"title": "",
"description": "Text can be resized without assistive technology up to 200 percent in a way that does not require the user to scroll horizontally to read a line of text on a full-screen window."
}
]
},
{
"id": "1.4.9",
"title": "Images of Text (No Exception)",
"description": "Images of text are only used for pure decoration or where a particular presentation of text is essential to the information being conveyed.",
"level": "AAA"
},
{
"id": "1.4.10",
"title": "Reflow",
"description": "Content can be presented without loss of information or functionality, and without requiring scrolling in two dimensions for:",
"level": "AA",
"techniques": [
{
"title": "",
"description": "Vertical scrolling content at a width equivalent to 320 CSS pixels;"
},
{
"title": "",
"description": "Horizontal scrolling content at a height equivalent to 256 CSS pixels."
}
]
},
{
"id": "1.4.11",
"title": "Non-text Contrast",
"description": "The visual presentation of the following have a contrast ratio of at least 3:1 against adjacent color(s):",
"level": "AA",
"techniques": [
{
"title": "User Interface Components",
"description": "Visual information required to identify user interface components and states, except for inactive components or where the appearance of the component is determined by the user agent and not modified by the author;"
},
{
"title": "Graphical Objects",
"description": "Parts of graphics required to understand the content, except when a particular presentation of graphics is essential to the information being conveyed."
}
]
},
{
"id": "1.4.12",
"title": "Text Spacing",
"description": "In content implemented using markup languages that support the following text style properties, no loss of content or functionality occurs by setting all of the following and by changing no other style property:",
"level": "AA",
"techniques": [
{
"title": "",
"description": "Line height (line spacing) to at least 1.5 times the font size;"
},
{
"title": "",
"description": "Spacing following paragraphs to at least 2 times the font size;"
},
{
"title": "",
"description": "Letter spacing (tracking) to at least 0.12 times the font size;"
},
{
"title": "",
"description": "Word spacing to at least 0.16 times the font size."
}
]
},
{
"id": "1.4.13",
"title": "Content on Hover or Focus",
"description": "Where receiving and then removing pointer hover or keyboard focus triggers additional content to become visible and then hidden, the following are true:",
"level": "AA",
"techniques": [
{
"title": "Dismissable",
"description": "A mechanism is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an input error or does not obscure or replace other content;"
},
{
"title": "Hoverable",
"description": "If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing;"
},
{
"title": "Persistent",
"description": "The additional content remains visible until the hover or focus trigger is removed, the user dismisses it, or its information is no longer valid."
}
]
}
]
}
]
},
{
"id": "2",
"title": "Operable",
"description": "User interface components and navigation must be operable.",
"guidelines": [
{
"id": "2.1",
"title": "Keyboard Accessible",
"description": "Make all functionality available from a keyboard.",
"criteria": [
{
"id": "2.1.1",
"title": "Keyboard",
"description": "All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user's movement and not just the endpoints.",
"level": "A"
},
{
"id": "2.1.2",
"title": "No Keyboard Trap",
"description": "If keyboard focus can be moved to a component of the page using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.",
"level": "A"
},
{
"id": "2.1.3",
"title": "Keyboard (No Exception)",
"description": "All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.",
"level": "AAA"
},
{
"id": "2.1.4",
"title": "Character Key Shortcuts",
"description": "If a keyboard shortcut is implemented in content using only letter (including upper- and lower-case letters), punctuation, number, or symbol characters, then at least one of the following is true:",
"level": "A",
"techniques": [
{
"title": "Turn off",
"description": "A mechanism is available to turn the shortcut off;"
},
{
"title": "Remap",
"description": "A mechanism is available to remap the shortcut to use one or more non-printable keyboard characters (e.g. Ctrl, Alt, etc);"
},
{
"title": "Active only on focus",
"description": "The keyboard shortcut for a user interface component is only active when that component has focus."
}
]
}
]
},
{
"id": "2.2",
"title": "Enough Time",
"description": "Provide users enough time to read and use content.",
"criteria": [
{
"id": "2.2.1",
"title": "Timing Adjustable",
"description": "For each time limit that is set by the content, at least one of the following is true:",
"level": "A",
"techniques": [
{
"title": "Turn off",
"description": "The user is allowed to turn off the time limit before encountering it; or"
},
{
"title": "Adjust",
"description": "The user is allowed to adjust the time limit before encountering it over a wide range that is at least ten times the length of the default setting; or"
},
{
"title": "Extend",
"description": "The user is warned before time expires and given at least 20 seconds to extend the time limit with a simple action (for example, \"press the space bar\"), and the user is allowed to extend the time limit at least ten times; or"
},
{
"title": "Real-time Exception",
"description": "The time limit is a required part of a real-time event (for example, an auction), and no alternative to the time limit is possible; or"
},
{
"title": "Essential Exception",
"description": "The time limit is essential and extending it would invalidate the activity; or"
},
{
"title": "20 Hour Exception",
"description": "The time limit is longer than 20 hours."
}
]
},
{
"id": "2.2.2",
"title": "Pause, Stop, Hide",
"description": "For moving, blinking, scrolling, or auto-updating information, all of the following are true:",
"level": "A",
"techniques": [
{
"title": "Moving, blinking, scrolling",
"description": "For any moving, blinking or scrolling information that (1) starts automatically, (2) lasts more than five seconds, and (3) is presented in parallel with other content, there is a mechanism for the user to pause, stop, or hide it unless the movement, blinking, or scrolling is part of an activity where it is essential; and"
},
{
"title": "Auto-updating",
"description": "For any auto-updating information that (1) starts automatically and (2) is presented in parallel with other content, there is a mechanism for the user to pause, stop, or hide it or to control the frequency of the update unless the auto-updating is part of an activity where it is essential."
}
]
},
{
"id": "2.2.3",
"title": "No Timing",
"description": "Timing is not an essential part of the event or activity presented by the content, except for non-interactive synchronized media and real-time events.",
"level": "AAA"
},
{
"id": "2.2.4",
"title": "Interruptions",
"description": "Interruptions can be postponed or suppressed by the user, except interruptions involving an emergency.",
"level": "AAA"
},
{
"id": "2.2.5",
"title": "Re-authenticating",
"description": "When an authenticated session expires, the user can continue the activity without loss of data after re-authenticating.",
"level": "AAA"
},
{
"id": "2.2.6",
"title": "Timeouts",
"description": "Users are warned of the duration of any user inactivity that could cause data loss, unless the data is preserved for more than 20 hours when the user does not take any actions.",
"level": "AAA"
}
]
},
{
"id": "2.3",
"title": "Seizures and Physical Reactions",
"description": "Do not design content in a way that is known to cause seizures or physical reactions.",
"criteria": [
{
"id": "2.3.1",
"title": "Three Flashes or Below Threshold",
"description": "Web pages do not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.",
"level": "A"
},
{
"id": "2.3.2",
"title": "Three Flashes",
"description": "Web pages do not contain anything that flashes more than three times in any one second period.",
"level": "AAA"
},
{
"id": "2.3.3",
"title": "Animation from Interactions",
"description": "Motion animation triggered by interaction can be disabled, unless the animation is essential to the functionality or the information being conveyed.",
"level": "AAA"
}
]
},
{
"id": "2.4",
"title": "Navigable",
"description": "Provide ways to help users navigate, find content, and determine where they are.",
"criteria": [
{
"id": "2.4.1",
"title": "Bypass Blocks",
"description": "A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.",
"level": "A"
},
{
"id": "2.4.2",
"title": "Page Titled",
"description": "Web pages have titles that describe topic or purpose.",
"level": "A"
},
{
"id": "2.4.3",
"title": "Focus Order",
"description": "If a Web page can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.",
"level": "A"
},
{
"id": "2.4.4",
"title": "Link Purpose (In Context)",
"description": "The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link context, except where the purpose of the link would be ambiguous to users in general.",
"level": "A"
},
{
"id": "2.4.5",
"title": "Multiple Ways",
"description": "More than one way is available to locate a Web page within a set of Web pages except where the Web Page is the result of, or a step in, a process.",
"level": "AA"
},
{
"id": "2.4.6",
"title": "Headings and Labels",
"description": "Headings and labels describe topic or purpose.",
"level": "AA"
},
{
"id": "2.4.7",
"title": "Focus Visible",
"description": "Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.",
"level": "AA"
},
{
"id": "2.4.8",
"title": "Location",
"description": "Information about the user's location within a set of Web pages is available.",
"level": "AAA"
},
{
"id": "2.4.9",
"title": "Link Purpose (Link Only)",
"description": "A mechanism is available to allow the purpose of each link to be identified from link text alone, except where the purpose of the link would be ambiguous to users in general.",
"level": "AAA"
},
{
"id": "2.4.10",
"title": "Section Headings",
"description": "Section headings are used to organize the content.",
"level": "AAA"
}
]
},
{
"id": "2.5",
"title": "Input Modalities",
"description": "Make it easier for users to operate functionality through various inputs beyond keyboard.",
"criteria": [
{
"id": "2.5.1",
"title": "Pointer Gestures",
"description": "All functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture, unless a multipoint or path-based gesture is essential.",
"level": "A"
},
{
"id": "2.5.2",
"title": "Pointer Cancellation",
"description": "For functionality that can be operated using a single pointer, at least one of the following is true:",
"level": "A",
"techniques": [
{
"title": "No Down-Event",
"description": "The down-event of the pointer is not used to execute any part of the function;"
},
{
"title": "Abort or Undo",
"description": "Completion of the function is on the up-event, and a mechanism is available to abort the function before completion or to undo the function after completion;"
},
{
"title": "Up Reversal",
"description": "The up-event reverses any outcome of the preceding down-event;"
},
{
"title": "Essential",
"description": "Completing the function on the down-event is essential."
}
]
},
{
"id": "2.5.3",
"title": "Label in Name",
"description": "For user interface components with labels that include text or images of text, the name contains the text that is presented visually.",
"level": "A"
},
{
"id": "2.5.4",
"title": "Motion Actuation",
"description": "Functionality that can be operated by device motion or user motion can also be operated by user interface components and responding to the motion can be disabled to prevent accidental actuation, except when:",
"level": "A",
"techniques": [
{
"title": "Supported Interface",
"description": "The motion is used to operate functionality through an accessibility supported interface;"
},
{
"title": "Essential",
"description": "The motion is essential for the function and doing so would invalidate the activity."
}
]
},
{
"id": "2.5.5",
"title": "Target Size",
"description": "The size of the target for pointer inputs is at least 44 by 44 CSS pixels except when:",
"level": "AAA",
"techniques": [
{
"title": "Equivalent",
"description": "The target is available through an equivalent link or control on the same page that is at least 44 by 44 CSS pixels;"
},
{
"title": "Inline",
"description": "The target is in a sentence or block of text;"
},
{
"title": "User Agent Control",
"description": "The size of the target is determined by the user agent and is not modified by the author;"
},
{
"title": "Essential",
"description": "A particular presentation of the target is essential to the information being conveyed."
}
]
},
{
"id": "2.5.6",
"title": "Concurrent Input Mechanisms",
"description": "Web content does not restrict use of input modalities available on a platform except where the restriction is essential, required to ensure the security of the content, or required to respect user settings.",
"level": "AAA"
}
]
}
]
},
{
"id": "3",
"title": "Understandable",
"description": "Information and the operation of user interface must be understandable.",
"guidelines": [
{
"id": "3.1",
"title": "Readable",
"description": "Make text content readable and understandable.",
"criteria": [
{
"id": "3.1.1",
"title": "Language of Page",
"description": "The default human language of each Web page can be programmatically determined.",
"level": "A"
},
{
"id": "3.1.2",
"title": "Language of Parts",
"description": "The human language of each passage or phrase in the content can be programmatically determined except for proper names, technical terms, words of indeterminate language, and words or phrases that have become part of the vernacular of the immediately surrounding text.",
"level": "AA"
},
{
"id": "3.1.3",
"title": "Unusual Words",
"description": "A mechanism is available for identifying specific definitions of words or phrases used in an unusual or restricted way, including idioms and jargon.",
"level": "AAA"
},
{
"id": "3.1.4",
"title": "Abbreviations",
"description": "A mechanism for identifying the expanded form or meaning of abbreviations is available.",
"level": "AAA"
},
{
"id": "3.1.5",
"title": "Reading Level",
"description": "When text requires reading ability more advanced than the lower secondary education level after removal of proper names and titles, supplemental content, or a version that does not require reading ability more advanced than the lower secondary education level, is available.",
"level": "AAA"
},
{
"id": "3.1.6",
"title": "Pronunciation",
"description": "A mechanism is available for identifying specific pronunciation of words where meaning of the words, in context, is ambiguous without knowing the pronunciation.",
"level": "AAA"
}
]
},
{
"id": "3.2",
"title": "Predictable",
"description": "Make Web pages appear and operate in predictable ways.",
"criteria": [
{
"id": "3.2.1",
"title": "On Focus",
"description": "When any user interface component receives focus, it does not initiate a change of context.",
"level": "A"
},
{
"id": "3.2.2",
"title": "On Input",
"description": "Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.",
"level": "A"
},
{
"id": "3.2.3",
"title": "Consistent Navigation",
"description": "Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.",
"level": "AA"
},
{
"id": "3.2.4",
"title": "Consistent Identification",
"description": "Components that have the same functionality within a set of Web pages are identified consistently.",
"level": "AA"
},
{
"id": "3.2.5",
"title": "Change on Request",
"description": "Changes of context are initiated only by user request or a mechanism is available to turn off such changes.",
"level": "AAA"
}
]
},
{
"id": "3.3",
"title": "Input Assistance",
"description": "Help users avoid and correct mistakes.",
"criteria": [
{
"id": "3.3.1",
"title": "Error Identification",
"description": "If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.",
"level": "A"
},
{
"id": "3.3.2",
"title": "Labels or Instructions",
"description": "Labels or instructions are provided when content requires user input.",
"level": "A"
},
{
"id": "3.3.3",
"title": "Error Suggestion",
"description": "If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.",
"level": "AA"
},
{
"id": "3.3.4",
"title": "Error Prevention (Legal, Financial, Data)",
"description": "For Web pages that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, at least one of the following is true:",
"level": "AA",
"techniques": [
{
"title": "Reversible",
"description": "Submissions are reversible."
},
{
"title": "Checked",
"description": "Data entered by the user is checked for input errors and the user is provided an opportunity to correct them."
},
{
"title": "Confirmed",
"description": "A mechanism is available for reviewing, confirming, and correcting information before finalizing the submission."
}
]
},
{
"id": "3.3.5",
"title": "Help",
"description": "Context-sensitive help is available.",
"level": "AAA"
},
{
"id": "3.3.6",
"title": "Error Prevention (All)",
"description": "For Web pages that require the user to submit information, at least one of the following is true:",
"level": "AAA",
"techniques": [
{
"title": "Reversible",
"description": "Submissions are reversible."
},
{
"title": "Checked",
"description": "Data entered by the user is checked for input errors and the user is provided an opportunity to correct them."
},
{
"title": "Confirmed",
"description": "A mechanism is available for reviewing, confirming, and correcting information before finalizing the submission."
}
]
}
]
}
]
},
{
"id": "4",
"title": "Robust",
"description": "Content must be robust enough that it can be interpreted by by a wide variety of user agents, including assistive technologies.",
"guidelines": [
{
"id": "4.1",
"title": "Compatible",
"description": "Maximize compatibility with current and future user agents, including assistive technologies.",
"criteria": [
{
"id": "4.1.1",
"title": "Parsing",
"description": "In content implemented using markup languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features.",
"level": "A"
},
{
"id": "4.1.2",
"title": "Name, Role, Value",
"description": "For all user interface components (including but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.",
"level": "A"
},
{
"id": "4.1.3",
"title": "Status Messages",
"description": "In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.",
"level": "AA"
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment