WCAG HTML Technique Examples
- H2: Combining adjacent image and text links for the same resource
- H4: Creating a logical tab order through links, form controls, and objects
- H24: Providing text alternatives for the area elements of image maps
- H25: Providing a title using the title element
- H30: Providing link text that describes the purpose of a link for anchor elements
- H32: Providing submit buttons
- H33: Supplementing link text with the title attribute
- H34: Using a Unicode right-to-left mark (RLM) or left-to-right mark (LRM) to mix text direction inline
- H36 Using
alt
attributes on images used as submit buttons
- H37: Using
alt
attributes on img
elements
- H39: Using caption elements to associate data table captions with data tables
- H42: Using h1-h6 to identify headings
- H43: Using id and headers attributes to associate data cells with header cells in data tables
- H44: Using label elements to associate text labels with form controls
- H45: Using longdesc
- H48: Using ol, ul and dl for lists or groups of links
- H49: Using semantic markup to mark emphasized or special text
- H51: Using table markup to present tabular information
- H56: Using the
dir
attribute on an inline element to resolve problems with nested directional runs
- H58: Using language attributes to identify changes in the human language
- H59: Using the
link
element and navigation tools
- H63: Using the scope attribute to associate header cells and data cells in data tables
- H64: Using the
title
attribute of the frame
and iframe
elements
- H65: Using the
title
attribute to identify form controls when the label
element cannot be used
- H67: Using null alt text and no
title
attribute on img
elements for images that AT should ignore
- H69: Providing heading elements at the beginning of each section of content
- H70: Using frame elements to group blocks of repeated material
- H71: Providing a description for groups of form controls using
fieldset
and legend
elements
- H73: Using the
summary
attribute of the table
element to give an overview of data tables
- H77: Identifying the purpose of a link using link text combined with its enclosing list item
- H78: Identifying the purpose of a link using link text combined with its enclosing paragraph
- H79: Identifying the purpose of a link in a data table using the link text combined with its enclosing table cell and associated table header cells
- H80: Identifying the purpose of a link using link text combined with the preceding heading element
- H81: Identifying the purpose of a link in a nested list using link text combined with the parent list item under which the list is nested
- H83: Using the
target
attribute to open a new window on user request and indicating this in link text
- H84: Using a button with a select element to perform an action
- H85: Using
optgroup
to group option
elements inside a select
- H86: Providing text alternatives for ASCII art, emoticons, and leetspeak
- H89: Using the
title
attribute to provide context-sensitive help
- H90: Indicating required form controls using label or legend
- H91: Using HTML form controls and links
- H93: Ensuring that
id
attributes are unique on a Web page
- H94: Ensuring that elements do not contain duplicate attributes
- H95: Using the track element to provide captions
- H96: Using the track element to provide audio descriptions
- H97: Grouping related links using the nav element