a11yNot

103 accessibility failures from the a11yNot catalogue, all on this page: the 21 audit rules and the 82 W3 failures, each variant included. 20 of them are whole documents (a refresh, a redirect, a page without lang) and sit in their own frame; the rest are in this page. The reference describes each problem and links to where it sits here, and in the Alpenglow shop, an online shop that carries the same cases in its pages.

Audit rules: ARIA 11

AX_ARIA_01

Elements with ARIA roles must use a valid, non-abstract ARIA role

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_01
  • Flagged by AInspector Sidebar, aXe

Source

a11yNotAudit rule

Code

<div role="datepicker"></div>
<!-- Bad: "datepicker" is not an ARIA role -->
<div role="range"></div>
<!-- Bad: "range" is an _abstract_ ARIA role -->
<div role=""></div>
<!-- Bad: An empty ARIA role is not allowed -->
AX_ARIA_02

aria-labelledby attributes should refer to an element which exists in the DOM

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_02
  • Flagged by aXe, Accessibility Developer Tools, WAVE

Source

a11yNotAudit rule
Label for text input

Code

<!-- Bad: typo in aria-labelledby value -->
<div id="my-label">Label for text input</div>
<input type="text" aria-labelledby="the-label"></input>
AX_ARIA_03

Elements with ARIA roles must have all required attributes for that role

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_03
  • Flagged by aXe, Accessibility Developer Tools

Source

a11yNotAudit rule

Code

<!-- Bad: the checkbox role requires the aria-checked state -->
<span role="checkbox" aria-labelledby="foo" tabindex="0"></span>
AX_ARIA_04

ARIA state and property values must be valid

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_04
  • Flagged by aXe, Accessibility Developer Tools

Source

a11yNotAudit rule
foo

Code

<!-- Bad: the aria-hidden state is of type true/false -->
<span aria-hidden="yes">foo</span>
AX_ARIA_06

aria-owns should not be used if ownership is implicit in the DOM

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_06
  • Flagged by Accessibility Developer Tools

Source

a11yNotAudit rule

Code

<!-- Bad: the ownership is implicit in the DOM structure (each radio is a descendant of the radiogroup) -->
<ul
  role="radiogroup"
  aria-labelledby="foo"
  aria-owns="radio1 radio2 radio3"
>
  <li id="radio1" tabindex="-1" role="radio" aria-checked="false">
    Rainbow Trout
  </li>
  <li id="radio2" tabindex="-1" role="radio" aria-checked="false">
    Brook Trout
  </li>
  <li id="radio3" tabindex="0" role="radio" aria-checked="true">
    Lake Trout
  </li>
</ul>
AX_ARIA_07

An element's ID must not be present in more than one aria-owns attribute at any time

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_07
  • Flagged by Accessibility Developer Tools

Source

a11yNotAudit rule
  • Rainbow Trout
  • Brook Trout
  • Lake Trout

Code

<!-- Bad: list1 is owned by two comboboxes -->
<input
  id="combo1"
  type="text"
  role="combobox"
  aria-labelledby="foo"
  aria-owns="list1"
/>

<input
  id="combo2"
  type="text"
  role="combobox"
  aria-labelledby="foo"
  aria-owns="list1"
/>

<ul id="list1" aria-expanded="true" role="listbox">
  <li role="option" tabindex="-1">Rainbow Trout</li>
  <li role="option" tabindex="-1">Brook Trout</li>
  <li role="option" tabindex="-1">Lake Trout</li>
</ul>
AX_ARIA_08

Elements with ARIA roles must ensure required owned elements are present

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_08
  • Flagged by aXe, Accessibility Developer Tools

Source

a11yNotAudit rule
  • Rainbow Trout
  • Brook Trout
  • Lake Trout

Code

<!-- Bad: the radiogroup role must own elements with role radio -->
<ul role="radiogroup" aria-labelledby="foo">
  <li id="radio1" tabindex="-1">Rainbow Trout</li>
  <li id="radio2" tabindex="-1">Brook Trout</li>
  <li id="radio3" tabindex="0">Lake Trout</li>
</ul>
AX_ARIA_09

Elements with ARIA roles must be in the correct scope

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_09
  • Flagged by aXe, AInspector Sidebar, Accessibility Developer Tools

Source

a11yNotAudit rule
Rainbow Trout Brook Trout Lake Trout

Code

<!-- Bad: the listitem role must be owned by an element with role list -->
<div>
  <span role="listitem">Rainbow Trout</span>
  <span role="listitem">Brook Trout</span>
  <span role="listitem">Lake Trout</span>
</div>
AX_ARIA_10

This element has an unsupported ARIA attribute

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_10
  • Flagged by aXe, Accessibility Developer Tools

Source

a11yNotAudit rule
  • Rainbow Trout
  • Brook Trout
  • Lake Trout

Code

<!-- Bad: the radio role does not support the aria-required property -->
<ul role="radiogroup" aria-labelledby="foo">
  <li
    aria-required="true"
    tabindex="-1"
    role="radio"
    aria-checked="false"
  >
    Rainbow Trout
  </li>
  <li
    aria-required="true"
    tabindex="-1"
    role="radio"
    aria-checked="false"
  >
    Brook Trout
  </li>
  <li
    aria-required="true"
    tabindex="0"
    role="radio"
    aria-checked="true"
  >
    Lake Trout
  </li>
</ul>
AX_ARIA_11

This element has an invalid ARIA attribute

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_11
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools

Source

a11yNotAudit rule
Enter your address

Code

<!-- Bad: Labeled using incorrectly spelled aria-labeledby -->
<div id="address_label">Enter your address</div>
<input aria-labeledby="address_label" />
AX_ARIA_12

This element does not support ARIA roles, states and properties

Expected

  • Breaks the Accessibility Developer Tools rule AX_ARIA_12
  • Flagged by Accessibility Developer Tools

Source

a11yNotAudit rule

Code

<!-- Bad: the meta element should not be given any ARIA attributes -->
<meta charset="UTF-8" aria-hidden="false" />

Audit rules: COLOR 1

AX_COLOR_01

Text elements should have a reasonable contrast ratio

Expected

  • Breaks the Accessibility Developer Tools rule AX_COLOR_01
  • Flagged by aXe

Source

a11yNotAudit rule

Warning: this product should not be used by any minor without adult supervision.

Very subtle heading

Code

<!-- Bad: small text with a contrast ratio of less than 4.5:1 -->
<p style="color: gray">
  <!-- Contrast ratio 3.95:1 -->
  Warning: this product should not be used by any minor without adult
  supervision.

  <!-- Bad: large text with a contrast ratio of less than 3.0:1 -->
</p>

<h1 style="color: #bbb">Very subtle heading</h1>
<!-- Contrast ratio 1.92:1 -->

Audit rules: FOCUS 2

AX_FOCUS_01

These elements are focusable but either invisible or obscured by another element

Expected

  • Breaks the Accessibility Developer Tools rule AX_FOCUS_01

Source

a11yNotAudit rule

Code

<!-- Bad: focusable element has zero area due to floated child element -->
<a href="http://www.google.com">
  <img
    src="http://www.google.com/images/srpr/logo11w.png"
    style="float: left"
    width="269"
    height="95"
    alt="Google"
  />
</a>
AX_FOCUS_02

Elements with onclick handlers must be focusable

Expected

  • Breaks the Accessibility Developer Tools rule AX_FOCUS_02
  • Flagged by AInspector Sidebar

Source

a11yNotAudit rule
Submit Next page

Code

<!-- Bad: span with onclick attribute has no tabindex -->
<span onclick="submitForm()">Submit</span>

<!-- Bad: anchor element without href is not focusable -->
<a onclick="showNextPage()">Next page</a>

Audit rules: HTML 2

AX_HTML_01

The web page should have the content's human language indicated in the markup

Expected

  • Breaks the Accessibility Developer Tools rule AX_HTML_01
  • Flagged by aXe
  • A whole document, shown in its own frame

Source

a11yNotAudit rule

Code

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Example Page for a11yNot&#58; AX_HTML_01&#58;</title>
    <link
      rel="icon"
      href="/includes/images/a11yNot.png"
      type="image/png"
    />
  </head>

  <body>
    <main>
      <p>Page without lang attribute in html element.</p>
    </main>
  </body>
</html>
AX_HTML_02

An element's ID must be unique in the DOM

Expected

  • Breaks the Accessibility Developer Tools rule AX_HTML_02
  • Flagged by aXe, Accessibility Developer Tools

Source

a11yNotAudit rule

Code

<!-- Bad: the id 'trout' should only occur once in the "page" -->
<input type="radio" id="trout" name="trout" value="rainbow" />
<input type="radio" id="trout" name="trout" value="brook" />
<input type="radio" id="trout" name="trout" value="lake" />

Audit rules: TABLE 2

AX_TABLE_01a

Tables must have appropriate headers

Expected

  • Breaks the Accessibility Developer Tools rule AX_TABLE_01
  • Flagged by AInspector Sidebar, aXe

Source

a11yNotAudit rule
Header Header Cell
Cell Cell Cell
Cell Cell Cell
Header Cell Cell
Cell Cell Cell
Cell Cell Cell

Code

<!-- Bad: Table has incomplete header row -->
<table>
  <tr>
    <th>Header</th>
    <th>Header</th>
    <td>Cell</td>
  </tr>
  <tr>
    <td>Cell</td>
    <td>Cell</td>
    <td>Cell</td>
  </tr>
</table>

<!-- Good: Table has incomplete header column -->
<table>
  <tr>
    <td>Cell</td>
    <td>Cell</td>
    <td>Cell</td>
  </tr>
  <tr>
    <th>Header</th>
    <td>Cell</td>
    <td>Cell</td>
  </tr>
</table>

<!-- Bad: Table has no headers -->
<table>
  <tr>
    <td>Cell</td>
    <td>Cell</td>
    <td>Cell</td>
  </tr>
  <tr>
    <td>Cell</td>
    <td>Cell</td>
    <td>Cell</td>
  </tr>
</table>
AX_TABLE_01b

Tables must have appropriate headers

Expected

  • Breaks the Accessibility Developer Tools rule AX_TABLE_01
  • Flagged by aXe, Accessibility Developer Tools

Source

a11yNotAudit rule
Header Header Header
Cell Cell Cell

Code

<table role="presentation">
  <tr>
    <th>Header</th>
    <th>Header</th>
    <th>Header</th>
  </tr>
  <tr>
    <td>Cell</td>
    <td>Cell</td>
    <td>Cell</td>
  </tr>
</table>

Audit rules: TEXT 2

AX_TEXT_01

Controls and media elements should have labels

Expected

  • Breaks the Accessibility Developer Tools rule AX_TEXT_01
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools, WAVE

Source

a11yNotAudit rule
Enter your address:

Code

<div>
  Enter your address:
  <input id="address" />
  <!-- Bad: label not associated with control -->
</div>

<button class="enter_site"></button>
<!-- Bad: button has no text description -->
AX_TEXT_02

Images should have an alt attribute, unless they have an ARIA role of "presentation"

Expected

  • Breaks the Accessibility Developer Tools rule AX_TEXT_02
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools, WAVE

Source

a11yNotAudit rule

Code

<!-- Bad: no alternative content provided for informative image -->
<img src="stateDiagram.jpg" />

<!-- Bad: presentational image may not be hidden from assistive technology -->
<img src="horizontalLine.jpg" />

Audit rules: VIDEO 1

AX_VIDEO_01

Video elements should use <track> elements to provide captions

Expected

  • Breaks the Accessibility Developer Tools rule AX_VIDEO_01
  • Flagged by aXe, Accessibility Developer Tools

Source

a11yNotAudit rule

Code

<!-- Bad: No accessible content -->
<video controls>
  <source src="video.webm" type="video/webm" />
</video>

WCAG 1: Perceivable 50

F1

Changing the meaning of content by positioning information with CSS

Expected

  • Fails WCAG 1.3.2
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>
      Example Page for a11yNot&#58; W3&#58; F1&#58; Changing the meaning
      of content by positioning information with CSS
    </title>
    <link
      rel="icon"
      href="/includes/images/a11yNot.png"
      type="image/png"
    />
    <style>
      .menu1 {
        position: absolute;
        top: 3em;
        left: 0em;
        margin: 0px;
        font-family: sans-serif;
        font-size: 120%;
        color: red;
        background-color: white;
      }
      .menu2 {
        position: absolute;
        top: 3em;
        left: 10em;
        margin: 0px;
        font-family: sans-serif;
        font-size: 120%;
        color: red;
        background-color: white;
      }
      .item1 {
        position: absolute;
        top: 7em;
        left: 0em;
        margin: 0px;
      }
      .item2 {
        position: absolute;
        top: 8em;
        left: 0em;
        margin: 0px;
      }
      .item3 {
        position: absolute;
        top: 9em;
        left: 0em;
        margin: 0px;
      }
      .item4 {
        position: absolute;
        top: 7em;
        left: 14em;
        margin: 0px;
      }
      .item5 {
        position: absolute;
        top: 8em;
        left: 14em;
        margin: 0px;
      }
      #box {
        position: absolute;
        top: 5em;
        left: 5em;
      }
    </style>
  </head>

  <body>
    <div class="box">
      <span class="menu1">Products</span>
      <span class="menu2">Locations</span>
      <span class="item1">Telephones</span>
      <span class="item2">Computers</span>
      <span class="item3">Portable MP3 Players</span>
      <span class="item5">Wisconsin</span>
      <span class="item4">Idaho</span>
    </div>
  </body>
</html>
F2-1

Failure of Success Criterion 1.3.1 due to using changes in text presentation to convey information without using the appropriate markup or text

Expected

  • Fails WCAG 1.3.1
  • Flagged by WAVE

Source

a11yNotW3 failure

Introduction

This introduction provides detailed information about how to use this ........

Code

<style type="text/css">
  .heading1 {
    font-family: Times, serif;
    font-size: 200%;
    font-weight: bold;
  }
</style>

<p class="heading1">Introduction</p>
<p>
  This introduction provides detailed information about how to use this
  ........
</p>
F2-2

Failure of Success Criterion 1.3.1 due to using changes in text presentation to convey information without using the appropriate markup or text

Expected

  • Fails WCAG 1.3.1

Source

a11yNotW3 failure
Chapter One

Once upon a time in the land of the Web.....

Code

<img src="Chapter1.gif" alt="Chapter One" />

<p>Once upon a time in the land of the Web.....</p>
F2-3

Failure of Success Criterion 1.3.1 due to using changes in text presentation to convey information without using the appropriate markup or text

Expected

  • Fails WCAG 1.3.1

Source

a11yNotW3 failure

"I said, no, not before dinner!", was the exasperated response when Timmy asked his mother for the fourth time for an ice cream cone.

Code

<p>
  "I said, <span class="yell">no</span>, not before dinner!", was the
  exasperated response when Timmy asked his mother for the fourth time
  for an ice cream cone.
</p>
F24-1

Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to specifying foreground colors without specifying background colors or vice versa

Expected

  • Fails WCAG 1.4.3, 1.4.6, 1.4.8
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <html>
    <head>
      <title>Setting the canvas background</title>
      <style type="text/css">
        body {
          background-color: white;
        }
      </style>
    </head>
    <body>
      <p>My background is white.</p>
    </body>
  </html>
</html>
F24-2

Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to specifying foreground colors without specifying background colors or vice versa

Expected

  • Fails WCAG 1.4.3, 1.4.6, 1.4.8
  • Flagged by AInspector Sidebar, aXe
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <html>
    <head>
      <title>Setting the canvas background</title>
      <style type="text/css">
        body {
          color: white;
        }
      </style>
    </head>

    <body>
      <p>My foreground is white.</p>
    </body>
  </html>
</html>
F24-3

Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to specifying foreground colors without specifying background colors or vice versa

Expected

  • Fails WCAG 1.4.3, 1.4.6, 1.4.8
  • Flagged by aXe, Accessibility Developer Tools
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <html>
    <head>
      <title>A study of population dynamics</title>
      <style type="text/css">
        a:link {
          color: red;
        }
        a:visited {
          color: maroon;
        }
        a:active {
          color: fuchsia;
        }
      </style>
    </head>
    <body>
      <p>... document body... <a href="foo.htm">Foo</a></p>
    </body>
  </html>
</html>
F24-4

Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to specifying foreground colors without specifying background colors or vice versa

Expected

  • Fails WCAG 1.4.3, 1.4.6, 1.4.8
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <html>
    <head>
      <title>A study of population dynamics</title>
    </head>
    <body bgcolor="white">
      <p>... document body...</p>
    </body>
  </html>
</html>
F24-5

Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to specifying foreground colors without specifying background colors or vice versa

Expected

  • Fails WCAG 1.4.3, 1.4.6, 1.4.8
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <html>
    <head>
      <title>A study of population dynamics</title>
    </head>
    <body text="white" diff="chg">
      <p>... document body...</p>
    </body>
  </html>
</html>
F3-1

Failure of Success Criterion 1.1.1 due to using CSS to include images that convey important information

Expected

  • Fails WCAG 1.1.1

Source

a11yNotW3 failure

Where else would you find a better interest rate?

Code

<style>
  p#bestinterest {
    padding-left: 200px;
    background: transparent url(/images/TopRate.png) no-repeat top left;
  }
</style>
<p id="bestinterest">
  Where else would you find a better interest rate?
</p>
F3-2

Failure of Success Criterion 1.1.1 due to using CSS to include images that convey important information

Expected

  • Fails WCAG 1.1.1

Source

a11yNotW3 failure
  • Some book
  • Some other book
  • A book we desperately want to get rid of
  • ...
  • A book you actually want

Code

<style>
  ul#booklist li {
    padding-left: 20px;
  }

  ul#booklist li.new {
    background: transparent url(new.png) no-repeat top left;
  }

  ul#booklist li.limited {
    background: transparent url(limited.png) no-repeat top left;
  }

  ul#booklist li.instock {
    background: transparent url(instock.png) no-repeat top left;
  }

  ul#booklist li.outstock {
    background: transparent url(outstock.png) no-repeat top left;
  }
</style>
<ul id="booklist">
  <li class="new">Some book</li>
  <li class="instock">Some other book</li>
  <li class="limited">A book we desperately want to get rid of</li>
  ...
  <li class="outstock">A book you actually want</li>
</ul>
F3-3

Failure of Success Criterion 1.1.1 due to using CSS to include images that convey important information

Expected

  • Fails WCAG 1.1.1
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>
      Example Page for a11yNot&#58; W3&#58; F3-3&#58; Using CSS to
      include images that convey important information
    </title>
    <link
      rel="icon"
      href="/includes/images/a11yNot.png"
      type="image/png"
    />
  </head>

  <body>
    <p
      id="bestinterest"
      style="
        background: transparent url(/images/TopRate.png) no-repeat top
          left;
      "
    >
      Where else would you find a better interest rate?
    </p>

    <p>
      <script type="text/javascript">
        var newP = document.createElement("p");
        var newPText = document.createTextNode(
          "Where else would you find a better interest rate?",
        );
        newP.appendChild(newPText);
        newP.style.background =
          "transparent url(/images/TopRate.png) no-repeat top left";
        document.body.appendChild(newP);
      </script>
    </p>
  </body>
</html>
F32-1

Failure of Success Criterion 1.3.2 due to using white space characters to control spacing within a word

Expected

  • Fails WCAG 1.3.2

Source

a11yNotW3 failure

W e l c o m e

Code

<h1>W e l c o m e</h1>
F32-2

Failure of Success Criterion 1.3.2 due to using white space characters to control spacing within a word

Expected

  • Fails WCAG 1.3.2

Source

a11yNotW3 failure

東 京

Code

<h1>東 京</h1>
F32-3

Failure of Success Criterion 1.3.2 due to using white space characters to control spacing within a word

Expected

  • Fails WCAG 1.3.2

Source

a11yNotW3 failure
・・・・・・
表1. 都道府県別一覧表
(見出しセル 1.) (見出しセル 2.)
東
京
都
(データセル 1.) (データセル 2.)

Code

<table>
  <caption>
    表1. 都道府県別一覧表
  </caption>
  <tr>
    <td></td>
    <th scope="col">(見出しセル 1.)</th>
    <th scope="col">(見出しセル 2.)</th>
  </tr>
  <tr>
    <th scope="row">東<br />京<br />都</th>
    <td>(データセル 1.)</td>
    <td>(データセル 2.)</td>
  </tr>
  ・・・・・・
</table>
F33

Failure of Success Criterion 1.3.1 and 1.3.2 due to using white space characters to create multiple columns in plain text content

Expected

  • Fails WCAG 1.3.1, 1.3.2

Source

a11yNotW3 failure
Web Content Accessibility Guidelines including blindness and low vision, 2.0 (WCAG 2.0) covers a wide range of deafness and hearing loss, learning issues and recommendations for making difficulties, cognitive limitations, limited Web content more accessible. This movement, speech difficulties, and document contains principles, others. Following these guidelines will guidelines, Success Criteria, benefits, also make your Web content more and examples that define and explain accessible to the vast majority of users, the requirements for making Web-based including older users. It will also enable information and applications accessible. people to access Web content using "Accessible" means usable to a wide many different devices - including a range of people with disabilities, wide variety of assistive technologies.

Code

Web Content Accessibility Guidelines including blindness and low vision,
2.0 (WCAG 2.0) covers a wide range of deafness and hearing loss,
learning issues and recommendations for making difficulties, cognitive
limitations, limited Web content more accessible. This movement, speech
difficulties, and document contains principles, others. Following these
guidelines will guidelines, Success Criteria, benefits, also make your
Web content more and examples that define and explain accessible to the
vast majority of users, the requirements for making Web-based including
older users. It will also enable information and applications
accessible. people to access Web content using "Accessible" means usable
to a wide many different devices - including a range of people with
disabilities, wide variety of assistive technologies.
F34

Failure of Success Criterion 1.3.1 and 1.3.2 due to using white space characters to format tables in plain text content

Expected

  • Fails WCAG 1.3.1, 1.3.2

Source

a11yNotW3 failure
Menu Breakfast Lunch Dinner Monday 2 fried eggs tomato soup garden salad bacon hamburger Fried Chicken toast onion rings green beans Oatmeal cookie mashed potatoes Tuesday Pancakes vegetable soup Caesar salad sausage hot dogs Spaghetti with meatballs orange juice potato salad Italian bread brownie ice cream

Code

Menu Breakfast Lunch Dinner Monday 2 fried eggs tomato soup garden salad
bacon hamburger Fried Chicken toast onion rings green beans Oatmeal
cookie mashed potatoes Tuesday Pancakes vegetable soup Caesar salad
sausage hot dogs Spaghetti with meatballs orange juice potato salad
Italian bread brownie ice cream
F39

Failure of Success Criterion 1.1.1 due to providing a text alternative that is not null (e.g., alt="spacer" or alt="image") for images that should be ignored by assistive technology

Expected

  • Fails WCAG 1.1.1
  • Flagged by WAVE

Source

a11yNotW3 failure
Tree type: spacerCedrus deodara

Code

<div>
  Tree type:
  <img src="spacer.gif" width="100" height="1" alt="spacer" />Cedrus
  deodara
</div>
F42-1

Failure of Success Criterion 1.3.1 and 2.1.1 due to using scripting events to emulate links in a way that is not programmatically determinable

Expected

  • Fails WCAG 1.3.1, 2.1.1
  • Flagged by AInspector Sidebar, WAVE

Source

a11yNotW3 failure
Fake link

Code

<span onclick="this.location.href = 'newpage.html'"> Fake link </span>
F42-2

Failure of Success Criterion 1.3.1 and 2.1.1 due to using scripting events to emulate links in a way that is not programmatically determinable

Expected

  • Fails WCAG 1.3.1, 2.1.1
  • Flagged by AInspector Sidebar, WAVE

Source

a11yNotW3 failure
go to the new page

Code

<img
  src="go.gif"
  alt="go to the new page"
  onclick="this.location.href = 'newpage.html'"
/>
F42-3

Failure of Success Criterion 1.3.1 and 2.1.1 due to using scripting events to emulate links in a way that is not programmatically determinable

Expected

  • Fails WCAG 1.3.1, 2.1.1
  • Flagged by AInspector Sidebar

Source

a11yNotW3 failure

View Bargains

Code

<p>
  <img
    src="bargain.jpg"
    tabindex="0"
    alt="View Bargains"
    onclick="doNav('viewbargains.html')"
    onkeypress="doKeyPress('viewbargains.html')"
  />
</p>
F42-4

Failure of Success Criterion 1.3.1 and 2.1.1 due to using scripting events to emulate links in a way that is not programmatically determinable

Expected

  • Fails WCAG 1.3.1, 2.1.1

Source

a11yNotW3 failure
View the results of the survey.

Code

<div id="linklike">View the results of the survey.</div>
F43-1

Failure of Success Criterion 1.3.1 due to using structural markup in a way that does not represent relationships in the content

Expected

  • Fails WCAG 1.3.1
  • Flagged by AInspector Sidebar, WAVE

Source

a11yNotW3 failure

Interested in learning more? Write to us at

3333 Third Avenue, Suite 300 · New York City

And we'll send you the complete informational packet absolutely Free!

Code

<p>Interested in learning more? Write to us at</p>
<h4>3333 Third Avenue, Suite 300 · New York City</h4>

<p>
  And we'll send you the complete informational packet absolutely Free!
</p>
F43-2

Failure of Success Criterion 1.3.1 due to using structural markup in a way that does not represent relationships in the content

Expected

  • Fails WCAG 1.3.1
  • Flagged by AInspector Sidebar, aXe, WAVE

Source

a11yNotW3 failure

Study on the Use of Heading Elements in Web Pages

Joe Jones and Mary Smith

March 14, 2006

Abstract

A study was conducted in early 2006 ...

Code

<h1>Study on the Use of Heading Elements in Web Pages</h1>
<h3>
  Joe Jones and Mary Smith
  <h3>
    <h4>March 14, 2006</h4>
    <h2>Abstract</h2>
    <p>A study was conducted in early 2006 ...</p>
  </h3>
</h3>
F43-3

Failure of Success Criterion 1.3.1 due to using structural markup in a way that does not represent relationships in the content

Expected

  • Fails WCAG 1.3.1

Source

a11yNotW3 failure

After extensive study of the company Web site, the task force identified the following common problem.

The use of markup for presentational effects made Web pages confusing to screen reader users.

The committee lists particular examples of the problems introduced by this practice below.

Code

<p>
  After extensive study of the company Web site, the task force
  identified the following common problem.
</p>

<blockquote>
  <p>
    The use of markup for presentational effects made Web pages
    confusing to screen reader users.
  </p>
</blockquote>

<p>
  The committee lists particular examples of the problems introduced by
  this practice below.
</p>
F43-4

Failure of Success Criterion 1.3.1 due to using structural markup in a way that does not represent relationships in the content

Expected

  • Fails WCAG 1.3.1

Source

a11yNotW3 failure
Bargain Corner

Buy today, and save 20%

Code

<fieldset>
  <legend>Bargain Corner</legend>
  <p>Buy today, and save 20%</p>
</fieldset>
F46

Failure of Success Criterion 1.3.1 due to using th elements, caption elements, or non-empty summary attributes in layout tables

Expected

  • Fails WCAG 1.3.1
  • Flagged by WAVE

Source

a11yNotW3 failure
Page Title
navigation content
main content
right sidebar content
footer

Code

<table summary="layout table">
  <tr>
    <th colspan="3">Page Title</th>
  </tr>
  <tr>
    <td><div>navigation content</div></td>
    <td><div>main content</div></td>
    <td><div>right sidebar content</div></td>
  </tr>
  <tr>
    <td colspan="3">footer</td>
  </tr>
</table>
F48-1

Failure of Success Criterion 1.3.1 due to using the pre element to markup tabular information

Expected

  • Fails WCAG 1.3.1

Source

a11yNotW3 failure
 	Monday	Tuesday	Wednesday	Thursday	Friday
 8:00-
 9:00	Meet with Sam				
 9:00-
 10:00			Dr. Williams	Sam again	Leave for San Antonio
 

Code

<pre>
 	Monday	Tuesday	Wednesday	Thursday	Friday
 8:00-
 9:00	Meet with Sam				
 9:00-
 10:00			Dr. Williams	Sam again	Leave for San Antonio
 </pre>
F48-2

Failure of Success Criterion 1.3.1 due to using the pre element to markup tabular information

Expected

  • Fails WCAG 1.3.1

Source

a11yNotW3 failure
   CIRCUIT COURT JUDGE BRANCH 3
                                                  W
                                                   R
                                          M R E     I
                                           A . L     T
                                     M L    R   B     E
                                      I A    Y   E     -
                                       K N        R     I
                                        E G        T     N
                                       -----   -----   -----
0001 TOWN OF ALBION WDS 1-2               22      99       0
0002 TOWN OF BERRY WDS 1-2                52     178       0
0003 TOWN OF BLACK EARTH                  16      49       0
0004 TOWN OF BLOOMING GROVE WDS 1-3       44     125       0
0005 TOWN OF BLUE MOUNDS                  33     117       0
0006 TOWN OF BRISTOL WDS 1-3             139     639       1
0007 TOWN OF BURKE WDS 1-4                80     300       0
0008 TOWN OF CHRISTIANA WDS 1-2           22      50       0

 

Code

<pre>
   CIRCUIT COURT JUDGE BRANCH 3
                                                  W
                                                   R
                                          M R E     I
                                           A . L     T
                                     M L    R   B     E
                                      I A    Y   E     -
                                       K N        R     I
                                        E G        T     N
                                       -----   -----   -----
0001 TOWN OF ALBION WDS 1-2               22      99       0
0002 TOWN OF BERRY WDS 1-2                52     178       0
0003 TOWN OF BLACK EARTH                  16      49       0
0004 TOWN OF BLOOMING GROVE WDS 1-3       44     125       0
0005 TOWN OF BLUE MOUNDS                  33     117       0
0006 TOWN OF BRISTOL WDS 1-3             139     639       1
0007 TOWN OF BURKE WDS 1-4                80     300       0
0008 TOWN OF CHRISTIANA WDS 1-2           22      50       0

 </pre>
F49-1

Failure of Success Criterion 1.3.2 due to using an HTML layout table that does not make sense when linearized

Expected

  • Fails WCAG 1.3.2

Source

a11yNotW3 failure
XYZ mountaineering top!
XYZ gets you to the

Code

<table>
  <tr>
    <td><img src="logo.gif" alt="XYZ mountaineering" /></td>
    <td rowspan="2" valign="bottom">top!</td>
  </tr>
  <tr>
    <td>XYZ gets you to the</td>
  </tr>
</table>
F49-2

Failure of Success Criterion 1.3.2 due to using an HTML layout table that does not make sense when linearized

Expected

  • Fails WCAG 1.3.2
  • Flagged by AInspector Sidebar, aXe

Source

a11yNotW3 failure
...
Link 1 Museum Picture Placard text
Link 2
Link 3
Link 4
Link 5
Link 6
Link 7

Image Heading

Link 8
Link 9 Description of the image
Link 10
Link 20

Code

<table>
  <tr>
    <td><a href="#">Link 1</a></td>
    <td rowspan="20"><img src="img.png" alt="Museum Picture" /></td>
    <td rowspan="6"><img src="placard.png" alt="Placard text" /></td>
  </tr>
  <tr>
    <td><a href="#">Link 2</a></td>
  </tr>
  <tr>
    <td><a href="#">Link 3</a></td>
  </tr>
  <tr>
    <td><a href="#">Link 4</a></td>
  </tr>
  <tr>
    <td><a href="#">Link 5</a></td>
  </tr>
  <tr>
    <td><a href="#">Link 6</a></td>
  </tr>
  <tr>
    <td><a href="#">Link 7</a></td>
    <td rowspan="2"><h2>Image Heading</h2></td>
  </tr>
  <tr>
    <td><a href="#">Link 8</a></td>
  </tr>
  <tr>
    <td><a href="#">Link 9</a></td>
    <td rowspan="12">Description of the image</td>
  </tr>
  <tr>
    <td><a href="#">Link 10</a></td>
  </tr>
  ...
  <tr>
    <td><a href="#">Link 20</a></td>
  </tr>
</table>
F65

Failure of Success Criterion 1.1.1 due to omitting the alt attribute or text alternative on img elements, area elements, and input elements of type "image"

Expected

  • Fails WCAG 1.1.1
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools, WAVE

Source

a11yNotW3 failure

Code

<img src="../images/animal.jpg" />
F68-1

Failure of Success Criterion 1.3.1 and 4.1.2 due to the association of label and user interface controls not being programmatically determined

Expected

  • Fails WCAG 1.3.1, 4.1.2
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools, WAVE

Source

a11yNotW3 failure
First name:
Last name:
I have a dog I have a cat

Code

<form>
  First name:
  <input type="text" name="firstname" />
  <br />
  Last name:
  <input type="text" name="lastname" />
  <br />
  I have a dog <input type="checkbox" name="pet" value="dog" /> I have a
  cat <input type="checkbox" name="pet" value="cat" />
</form>
F68-2

Failure of Success Criterion 1.3.1 and 4.1.2 due to the association of label and user interface controls not being programmatically determined

Expected

  • Fails WCAG 1.3.1, 4.1.2
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools, WAVE

Source

a11yNotW3 failure

Code

<form action="..." method="post">
  <p>
    <label>First Name</label>
    <input type="text" name="firstname" />
    <label>Last Name</label>
    <input type="text" name="lastname" />
  </p>
</form>
F68-3

Failure of Success Criterion 1.3.1 and 4.1.2 due to the association of label and user interface controls not being programmatically determined

Expected

  • Fails WCAG 1.3.1, 4.1.2
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools, WAVE

Source

a11yNotW3 failure

Code

<input type="text" value="Type your search here" /><input
  type="submit"
  type="submit"
  value="Search"
/>
F69-1

Failure of Success Criterion 1.4.4 when resizing visually rendered text up to 200 percent causes the text, image or controls to be clipped, truncated or obscured

Expected

  • Fails WCAG 1.4.4

Source

a11yNotW3 failure
Now is the time for all good men to come to the aid of their country.

Now is the time for all good men to come to the aid of their country.

Code

<div
  style="
    font-size: 100%;
    width: 120px;
    height: 100px;
    border: thin solid gray;
  "
>
  Now is the time for all good men to come to the aid of their country.
</div>
<p>
  Now is the time for all good men to come to the aid of their country.
</p>
F69-2

Failure of Success Criterion 1.4.4 when resizing visually rendered text up to 200 percent causes the text, image or controls to be clipped, truncated or obscured

Expected

  • Fails WCAG 1.4.4

Source

a11yNotW3 failure
Now is the time for all good men to come to the aid of their country.

Now is the time for all good men to come to the aid of their country.

Code

<div
  style="
    font-size: 100%;
    width: 120px;
    height: 100px;
    overflow: hidden;
    border: thin solid gray;
  "
>
  Now is the time for all good men to come to the aid of their country.
</div>
<p>
  Now is the time for all good men to come to the aid of their country.
</p>
F71-1

Failure of Success Criterion 1.1.1 due to using text look-alikes to represent text without providing a text alternative

Expected

  • Fails WCAG 1.1.1

Source

a11yNotW3 failure
ϲоοk

Code

ϲоοk
F71-2

Failure of Success Criterion 1.1.1 due to using text look-alikes to represent text without providing a text alternative

Expected

  • Fails WCAG 1.1.1

Source

a11yNotW3 failure
ϲоοk

Code

&#x03F2;&#x043E;&#x03BF;&#x006B;
F72

Failure of Success Criterion 1.1.1 due to using ASCII art without providing a text alternative

Expected

  • Fails WCAG 1.1.1

Source

a11yNotW3 failure
  %   __ __ __ __ __ __ __ __ __ __ __ __ __ __   
100 |             *                             |
 90 |                *  *                       |
 80 |          *           *                    |
 70 |             @           *                 |
 60 |          @                 *              |
 50 |       *        @              *           |
 40 |                   @              *        |
 30 |    *  @              @  @           *     |
 20 |                                           |
 10 |    @                       @  @  @  @     |
      0  5 10 15 20 25 30 35 40 45 50 55 60 65 70
      Flash frequency (Hz)

Code

<pre>
  %   __ __ __ __ __ __ __ __ __ __ __ __ __ __   
100 |             *                             |
 90 |                *  *                       |
 80 |          *           *                    |
 70 |             @           *                 |
 60 |          @                 *              |
 50 |       *        @              *           |
 40 |                   @              *        |
 30 |    *  @              @  @           *     |
 20 |                                           |
 10 |    @                       @  @  @  @     |
      0  5 10 15 20 25 30 35 40 45 50 55 60 65 70
      Flash frequency (Hz)
</pre>
F73

Failure of Success Criterion 1.4.1 due to creating links that are not visually evident without color vision

Expected

  • Fails WCAG 1.4.1
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
  <head>
    <style type="text/css">
      p a:link {
        text-decoration: none;
      }
      p a:visited {
        text-decoration: none;
      }
      p a:active {
        text-decoration: none;
      }
      p a:hover {
        text-decoration: underline;
        color: red;
      }
    </style>
  </head>

  <body>
    <p>
      To find out more about the
      <a href="rain_in_spain.htm">rain in spain</a>there are many
      resources.
    </p>
  </body>
</html>
F80

Failure of Success Criterion 1.4.4 when text-based form controls do not resize when visually rendered text is resized up to 200%

Expected

  • Fails WCAG 1.4.4

Source

a11yNotW3 failure

Contact Us

Please provide us with your details and we will contact you as soon as we can. Note that all of the form fields are required.





Code

<h1>Contact Us</h1>
<p>
  Please provide us with your details and we will contact you as soon as
  we can. Note that all of the form fields are required.
</p>
<label for="fname">First Name</label
><input type="text" name="fname" id="fname" /><br />
<label for="lname">Last Name</label
><input type="text" name="lname" id="lname" /><br />
<label for="phone">Telephone</label
><input type="text" name="phone" id="phone" /><br />
<label for="email">Email</label
><input type="text" name="email" id="email" /><br />
<input type="submit" name="Submit" value="Submit" id="Submit" />
F87-1

Failure of Success Criterion 1.3.1 due to inserting non-decorative content by using :before and :after pseudo-elements and the 'content' property in CSS

Expected

  • Fails WCAG 1.3.1

Source

a11yNotW3 failure

Do you think he's going to make it?

It's not looking good.

Code

<style>
  p.jim:before {
    content: "Jim: ";
  }
  p.mary:before {
    content: "Mary: ";
  }

  q:before {
    content: open-quote;
  }
  q:after {
    content: close-quote;
  }
</style>
<p class="jim">
  <q>Do you think he's going to make it?</q>
</p>
<p class="mary">
  <q>It's not looking good.</q>
</p>
F87-2

Failure of Success Criterion 1.3.1 due to inserting non-decorative content by using :before and :after pseudo-elements and the 'content' property in CSS

Expected

  • Fails WCAG 1.3.1

Source

a11yNotW3 failure

The defendant was at the scene of the crime when it occurred.

The defendant committed the crime.

Code

<style>
  p.fact:before {
    content: "Fact: ";
    font-weight: bold;
  }
  p.opinion:before {
    content: "Opinion: ";
    font-weight: bold;
  }
</style>
<p class="fact">
  The defendant was at the scene of the crime when it occurred.
</p>
<p class="opinion">The defendant committed the crime.</p>
F88-1

Failure of Success Criterion 1.4.8 due to using text that is justified (aligned to both the left and the right margins)

Expected

  • Fails WCAG 1.4.8
  • Flagged by WAVE

Source

a11yNotW3 failure

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum sit amet pede. Phasellus nec sem id mauris vehicula tincidunt. Morbi ac arcu. Maecenas vehicula velit et orci. Donec ullamcorper porttitor velit. Sed arcu lorem, cursus sit amet, auctor eu, convallis ut, purus. Vivamus imperdiet accumsan nunc. Maecenas pellentesque nunc a libero. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Curabitur pharetra commodo justo. Nulla facilisi. Phasellus nulla lacus, tempor quis, tincidunt ac, rutrum et, mauris.

Code

<p align="justify">
  Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum
  sit amet pede. Phasellus nec sem id mauris vehicula tincidunt. Morbi
  ac arcu. Maecenas vehicula velit et orci. Donec ullamcorper porttitor
  velit. Sed arcu lorem, cursus sit amet, auctor eu, convallis ut,
  purus. Vivamus imperdiet accumsan nunc. Maecenas pellentesque nunc a
  libero. Vestibulum ante ipsum primis in faucibus orci luctus et
  ultrices posuere cubilia Curae; Curabitur pharetra commodo justo.
  Nulla facilisi. Phasellus nulla lacus, tempor quis, tincidunt ac,
  rutrum et, mauris.
</p>
F88-2

Failure of Success Criterion 1.4.8 due to using text that is justified (aligned to both the left and the right margins)

Expected

  • Fails WCAG 1.4.8
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>
      Example Page for a11yNot&#58; W3&#58; F88-2&#58; Using text that
      is justified &#40;aligned to both the left and the right
      margins&#41;
    </title>
    <link
      rel="icon"
      href="/includes/images/a11yNot.png"
      type="image/png"
    />
    <style>
      p {
        text-align: justify;
      }
    </style>
  </head>

  <body>
    <p>
      Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
      Vestibulum sit amet pede. Phasellus nec sem id mauris vehicula
      tincidunt. Morbi ac arcu. Maecenas vehicula velit et orci. Donec
      ullamcorper porttitor velit. Sed arcu lorem, cursus sit amet,
      auctor eu, convallis ut, purus. Vivamus imperdiet accumsan nunc.
      Maecenas pellentesque nunc a libero. Vestibulum ante ipsum primis
      in faucibus orci luctus et ultrices posuere cubilia Curae;
      Curabitur pharetra commodo justo. Nulla facilisi. Phasellus nulla
      lacus, tempor quis, tincidunt ac, rutrum et, mauris.
    </p>
  </body>
</html>
F90

Failure of Success Criterion 1.3.1 for incorrectly associating table headers and content via the headers and id attributes

Expected

  • Fails WCAG 1.3.1
  • Flagged by aXe

Source

a11yNotW3 failure
Homework Exams Projects
1 2 Final 1 2 Final
15% 15% 15% 20% 10% 10% 15%

Code

<table>
  <tr>
    <th rowspan="2" id="h">Homework</th>
    <th colspan="3" id="e">Exams</th>
    <th colspan="3" id="p">Projects</th>
  </tr>
  <tr>
    <th id="e1" headers="e">1</th>
    <th id="e2" headers="e">2</th>
    <th id="ef" headers="e">Final</th>
    <th id="p1" headers="p">1</th>
    <th id="p2" headers="p">2</th>
    <th id="pf" headers="p">Final</th>
  </tr>
  <tr>
    <td headers="h">15%</td>
    <td headers="e p1">15%</td>
    <td headers="e p2">15%</td>
    <td headers="e pf">20%</td>
    <td headers="e e1">10%</td>
    <td headers="e e2">10%</td>
    <td headers="e ef">15%</td>
  </tr>
</table>
F91

Failure of Success Criterion 1.3.1 for not correctly marking up table headers

Expected

  • Fails WCAG 1.3.1
  • Flagged by aXe

Source

a11yNotW3 failure
Name Age Height (cm) Weight (kg)
Linda 33 169 59
Jack 37 184 74
Kira 8 120 21
Daniel 3 79 14

Code

<table>
  <tr>
    <td>Name</td>
    <td>Age</td>
    <td>Height (cm)</td>
    <td>Weight (kg)</td>
  </tr>

  <tr>
    <td>Linda</td>
    <td>33</td>
    <td>169</td>
    <td>59</td>
  </tr>

  <tr>
    <td>Jack</td>
    <td>37</td>
    <td>184</td>
    <td>74</td>
  </tr>

  <tr>
    <td>Kira</td>
    <td>8</td>
    <td>120</td>
    <td>21</td>
  </tr>

  <tr>
    <td>Daniel</td>
    <td>3</td>
    <td>79</td>
    <td>14</td>
  </tr>
</table>
F92

Failure of Success Criterion 1.3.1 due to the use of role presentation on content which conveys semantic information

Expected

  • Fails WCAG 1.3.1
  • Flagged by aXe

Source

a11yNotW3 failure
Fruits and their colors
Name Color
banana yellow
orange orange

Code

<table role="presentation">
  <caption>
    Fruits and their colors
  </caption>
  <tr>
    <th>Name</th>
    <th>Color</th>
  </tr>
  <tr>
    <td scope="row">banana</td>
    <td>yellow</td>
  </tr>
  <tr>
    <td scope="row">orange</td>
    <td>orange</td>
  </tr>
</table>
F93

Failure of Success Criterion 1.4.2 for absence of a way to pause or stop an HTML5 media element that autoplays

Expected

  • Fails WCAG 1.4.2

Source

a11yNotW3 failure

Code

<video src="ads.cgi?kind=video" autoplay loop></video>

WCAG 2: Operable 19

F4

Failure of Success Criterion 2.2.2 due to using text-decoration:blink without a mechanism to stop it in less than five seconds

Expected

  • Fails WCAG 2.2.2
  • Flagged by WAVE

Source

a11yNotW3 failure

My Great Product Sale! $44,995!

Code

<p>
  My Great Product
  <span style="text-decoration: blink">Sale! $44,995!</span>
</p>
F40

Failure of Success Criterion 2.2.1 and 2.2.4 due to using meta redirect with a time limit

Expected

  • Fails WCAG 2.2.1, 2.2.4
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Do not use this!</title>
    <meta
      http-equiv="refresh"
      content="5; url=http://www.example.com/newpage"
    />
  </head>
  <body>
    <p>
      If your browser supports Refresh, you'll be transported to our
      <a href="http://www.example.com/newpage">new site</a>
      in 5 seconds, otherwise, select the link manually.
    </p>
  </body>
</html>
F41-1

Failure of Success Criterion 2.2.1, 2.2.4, and 3.2.5 due to using meta refresh with a time-out

Expected

  • Fails WCAG 2.2.1, 2.2.4, 3.2.5
  • Flagged by aXe
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>HTML Techniques for WCAG 2.0</title>
    <meta http-equiv="refresh" content="60" />
  </head>
  <body>
    ...
  </body>
</html>
F41-2

Failure of Success Criterion 2.2.1, 2.2.4, and 3.2.5 due to using meta refresh with a time-out

Expected

  • Fails WCAG 2.2.1, 2.2.4, 3.2.5
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>The Tudors</title>
    <meta http-equiv="refresh" content="10;URL='http://example.com/'" />
  </head>
  <body>
    <p>
      This page has moved to a
      <a href="http://example.com/"> example.com</a>. Please note that
      we now have our own domain name and will redirect you in a few
      seconds. Please update your links and bookmarks.
    </p>
  </body>
</html>
F44

Failure of Success Criterion 2.4.3 due to using tabindex to create a tab order that does not preserve meaning and operability

Expected

  • Fails WCAG 2.4.3
  • Flagged by Accessibility Developer Tools, aXe, WAVE

Source

a11yNotW3 failure

Code

<ol>
  <li><a href="main.html" tabindex="1">Homepage</a></li>
  <li><a href="chapter1.html" tabindex="4">Chapter 1</a></li>
  <li><a href="chapter2.html" tabindex="3">Chapter 2</a></li>
  <li><a href="chapter3.html" tabindex="2">Chapter 3</a></li>
</ol>
F47

Failure of Success Criterion 2.2.2 due to using the blink element

Expected

  • Fails WCAG 2.2.2
  • Flagged by aXe, WAVE

Source

a11yNotW3 failure

My Great Product Sale! $44,995!

Code

<p>My Great Product <blink>Sale! $44,995!</blink></p>
F50

Failure of Success Criterion 2.2.2 due to a script that causes a blink effect without a mechanism to stop the blinking at 5 seconds or less

Expected

  • Fails WCAG 2.2.2
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>F50</title>
  </head>
  <body>
    ...
    <script type="text/javascript">
      <!--
      // blink "on" state
      function show() {
        if (document.getElementById)
          document.getElementById("blink1").style.visibility =
            "visible";
        settime - out("hide()", 450);
      }
      // blink "off" state
      function hide() {
        if (document.getElementById)
          document.getElementById("blink1").style.visibility = "hidden";
        settime - out("show()", 450);
      }
      // kick it off
      show();
      //-->
    </script>
    ...
    <span id="blink1">This content will blink</span>
  </body>
</html>
F54

Failure of Success Criterion 2.1.1 due to using only pointing-device-specific event handlers (including gesture) for a function

Expected

  • Fails WCAG 2.1.1

Source

a11yNotW3 failure

Go to next page

Code

<p>
  <img
    onmousedown="nextPage()"
    src="nextarrow.gif"
    alt="Go to next page"
  />
</p>
F55-1

Failure of Success Criteria 2.1.1, 2.4.7, and 3.2.1 due to using script to remove focus when focus is received

Expected

  • Fails WCAG 2.1.1, 2.4.7, 3.2.1

Source

a11yNotW3 failure

Code

<input type="submit" onFocus="this.blur();" />
F55-2

Failure of Success Criteria 2.1.1, 2.4.7, and 3.2.1 due to using script to remove focus when focus is received

Expected

  • Fails WCAG 2.1.1, 2.4.7, 3.2.1

Source

a11yNotW3 failure

Code

<a onFocus="this.blur()" href="Page.html"><img src="myImage.gif" /></a>
F55-3

Failure of Success Criteria 2.1.1, 2.4.7, and 3.2.1 due to using script to remove focus when focus is received

Expected

  • Fails WCAG 2.1.1, 2.4.7, 3.2.1

Source

a11yNotW3 failure

Code

<a href="link.html" onfocus="if (this.blur) this.blur();"
  >Link Phrase</a
>
F63-1

Failure of Success Criterion 2.4.4 due to providing link context only in content that is not related to the link

Expected

  • Fails WCAG 2.4.4

Source

a11yNotW3 failure

A British businessman has racked up 2 million flyer miles and plans to travel on the world's first commercial tourism flights to space.

Read More...

Code

<p>
  A British businessman has racked up 2 million flyer miles and plans to
  travel on the world's first commercial tourism flights to space.
</p>

<p><a href="ff.html">Read More...</a></p>
F63-2

Failure of Success Criterion 2.4.4 due to providing link context only in content that is not related to the link

Expected

  • Fails WCAG 2.4.4

Source

a11yNotW3 failure
Play music from your browser
Download now

Code

<table>
  <tr>
    <td>Play music from your browser</td>
  </tr>
  <tr>
    <td>
      <a href="http://www.example.com/download.htm">
        <img
          src="download.jpg"
          width="165"
          height="32"
          alt="Download now"
      /></a>
    </td>
  </tr>
</table>
F78-1

Failure of Success Criterion 2.4.7 due to styling element outlines and borders in a way that removes or renders non-visible the visual focus indicator

Expected

  • Fails WCAG 2.4.7
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>
      Example Page for a11yNot&#58; W3&#58; F78-1&#58; Styling element
      outlines and borders in a way that removes or renders non-visible
      the visual focus indicator
    </title>
    <link
      rel="icon"
      href="/includes/images/a11yNot.png"
      type="image/png"
    />
    <style>
      :focus {
        outline: none;
      }
    </style>
  </head>

  <body>
    <p>
      Default focus indication for <a href="">this link</a> is turned
      off with CSS.
    </p>
  </body>
</html>
F78-2

Failure of Success Criterion 2.4.7 due to styling element outlines and borders in a way that removes or renders non-visible the visual focus indicator

Expected

  • Fails WCAG 2.4.7
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>
      Example Page for a11yNot&#58; W3&#58; F78-2&#58; Styling element
      outlines and borders in a way that removes or renders non-visible
      the visual focus indicator
    </title>
    <link
      rel="icon"
      href="/includes/images/a11yNot.png"
      type="image/png"
    />
    <style>
      a {
        outline: thin dotted black;
      }
    </style>
  </head>

  <body>
    <p>
      The outline of <a href="">this link</a> is visually similar to the
      focus indicator.
    </p>
  </body>
</html>
F78-3

Failure of Success Criterion 2.4.7 due to styling element outlines and borders in a way that removes or renders non-visible the visual focus indicator

Expected

  • Fails WCAG 2.4.7
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>
      Example Page for a11yNot&#58; W3&#58; F78-3&#58; Styling element
      outlines and borders in a way that removes or renders non-visible
      the visual focus indicator
    </title>
    <link
      rel="icon"
      href="/includes/images/a11yNot.png"
      type="image/png"
    />
    <style>
      a {
        border: medium solid black;
      }
    </style>
  </head>

  <body>
    <p>
      The border of <a href="">this link</a> occludes the focus
      indicator.
    </p>
  </body>
</html>
F84-1

Failure of Success Criterion 2.4.9 due to using a non-specific link such as "click here" or "more" without a mechanism to change the link text to specific text.

Expected

  • Fails WCAG 2.4.9
  • Flagged by Accessibility Developer Tools, WAVE

Source

a11yNotW3 failure
Click here for more information on the Rocky Mountains.

Code

<a href="file110.htm">Click here</a> for more information on the Rocky
Mountains.
F84-2

Failure of Success Criterion 2.4.9 due to using a non-specific link such as "click here" or "more" without a mechanism to change the link text to specific text.

Expected

  • Fails WCAG 2.4.9
  • Flagged by WAVE

Source

a11yNotW3 failure

News headlines

The middle east peace meetings have yielded fruitful dialogue. read more

Code

<h2>News headlines</h2>
The middle east peace meetings have yielded fruitful dialogue.
<a href="r4300.htm">read more</a>
F89

Failure of Success Criteria 2.4.4, 2.4.9 and 4.1.2 due to using null alt on an image where the image is the only content in a link

Expected

  • Fails WCAG 2.4.4, 2.4.9, 4.1.2
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools, WAVE

Source

a11yNotW3 failure

Code

<a href="scores.html">
  <img src="football.gif" alt="" />
</a>
<a href="scores.html"> Football Scoreboard </a>
}

WCAG 3: Understandable 3

F36-1

Failure of Success Criterion 3.2.2 due to automatically submitting a form and presenting new content without prior warning when the last field in the form is given a value

Expected

  • Fails WCAG 3.2.2
  • Flagged by AInspector Sidebar

Source

a11yNotW3 failure
- -

Code

<form method="get" id="form1">
  <input type="text" name="text1" size="3" maxlength="3" /> -
  <input type="text" name="text2" size="3" maxlength="3" /> -
  <input
    type="text"
    name="text3"
    size="4"
    maxlength="4"
    onchange="form1.submit()"
  />
</form>
F36-2

Failure of Success Criterion 3.2.2 due to automatically submitting a form and presenting new content without prior warning when the last field in the form is given a value

Expected

  • Fails WCAG 3.2.2
  • Flagged by AInspector Sidebar, WAVE

Source

a11yNotW3 failure

Code

<form method="get" id="form2">
  <input type="text" name="text1" />
  <select name="select1" onchange="form2.submit()">
    <option>one</option>
    <option>two</option>
    <option>three</option>
    <option>four</option>
  </select>
</form>
F37

Failure of Success Criterion 3.2.2 due to launching a new window without prior warning when the selection of a radio button, check box or select list is changed

Expected

  • Fails WCAG 3.2.2
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>F37</title>
  </head>
  <body>
    <script type="text/JavaScript">
      function goToMirror(theInput) {
       var mirrorSite = "http://download." + theInput.value + "/";
       window.open(mirrorSite);
      }
    </script>
    …
    <form name="mirror_form" id="mirror_form" action="" method="get">
      <p>Please select a mirror download site:</p>
      <p>
        <input
          type="radio"
          onclick="goToMirror(this)"
          name="mirror"
          id="mirror_belnet"
          value="belnet.be"
        />
        <label for="mirror_belnet">belnet (<abbr>BE</abbr>)</label
        ><br />
        <input
          type="radio"
          onclick="goToMirror(this)"
          name="mirror"
          id="mirror_surfnet"
          value="surfnet.nl"
        />
        <label for="mirror_surfnet">surfnet (<abbr>NL</abbr>)</label
        ><br />
        <input
          type="radio"
          onclick="goToMirror(this)"
          name="mirror"
          id="mirror_puzzle"
          value="puzzle.ch"
        />
        <label for="mirror_puzzle">puzzle (<abbr>CH</abbr>)</label
        ><br />
        <input
          type="radio"
          onclick="goToMirror(this)"
          name="mirror"
          id="mirror_voxel"
          value="voxel.com"
        />
        <label for="mirror_voxel">voxel (<abbr>US</abbr>)</label><br />
      </p>
    </form>
  </body>
</html>

WCAG 4: Robust 10

F59

Failure of Success Criterion 4.1.2 due to using script to make div or span a user interface control in HTML without providing a role for the control

Expected

  • Fails WCAG 4.1.2
  • Flagged by AInspector Sidebar

Source

a11yNotW3 failure

Include Signature

Code

<p>
  <span onclick="toggleCheckbox('chkbox')">
    <img src="unchecked.gif" id="chkbox" alt="" /> Include Signature
  </span>
</p>
F70-1

Failure of Success Criterion 4.1.1 due to incorrect use of start and end tags or attribute markup

Expected

  • Fails WCAG 4.1.1

Source

a11yNotW3 failure

Code

<p This is a paragraph</p>
F70-2

Failure of Success Criterion 4.1.1 due to incorrect use of start and end tags or attribute markup

Expected

  • Fails WCAG 4.1.1
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Example Page for a11yNot&#58; W3&#58; F70-2&#58; Incorrect use of start and end tags or attribute markup</title>
	<link rel=icon href="/includes/images/a11yNot.png" type="image/png">
</head>

<body>

<p>This is a paragraph<p>

</body>
</html>
F70-3

Failure of Success Criterion 4.1.1 due to incorrect use of start and end tags or attribute markup

Expected

  • Fails WCAG 4.1.1

Source

a11yNotW3 failure

Code

<input title="name type="text">
F70-4

Failure of Success Criterion 4.1.1 due to incorrect use of start and end tags or attribute markup

Expected

  • Fails WCAG 4.1.1

Source

a11yNotW3 failure

Code

<input title="name"type="text">
F70-5

Failure of Success Criterion 4.1.1 due to incorrect use of start and end tags or attribute markup

Expected

  • Fails WCAG 4.1.1

Source

a11yNotW3 failure

Code

<input title=Enter name here type=text>
F70-6

Failure of Success Criterion 4.1.1 due to incorrect use of start and end tags or attribute markup

Expected

  • Fails WCAG 4.1.1
  • A whole document, shown in its own frame

Source

a11yNotW3 failure

Code

<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Example Page for a11yNot&#58; W3&#58; F70-6&#58; Incorrect use of start and end tags or attribute markup</title>
	<link rel=icon href="/includes/images/a11yNot.png" type="image/png">
</head>

<body>

<p>This is a paragraph
<p>This is another paragraph</p>

</body>
</html>
F86-1

Failure of Success Criterion 4.1.2 due to not providing names for each part of a multi-part form field, such as a US telephone number

Expected

  • Fails WCAG 4.1.2
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools, WAVE

Source

a11yNotW3 failure
Phone number: () -

Code

Phone number: (<input type="text" size="3" />)
<input type="text" size="3" />-<input type="text" size="4" />
F86-2

Failure of Success Criterion 4.1.2 due to not providing names for each part of a multi-part form field, such as a US telephone number

Expected

  • Fails WCAG 4.1.2
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools, WAVE

Source

a11yNotW3 failure
Phone number: () -

Code

Phone number: (<input type="text" size="3" />)
<input type="text" size="3" />-<input type="text" size="4" />
F86-3

Failure of Success Criterion 4.1.2 due to not providing names for each part of a multi-part form field, such as a US telephone number

Expected

  • Fails WCAG 4.1.2
  • Flagged by AInspector Sidebar, aXe, Accessibility Developer Tools, WAVE

Source

a11yNotW3 failure
() -

Code

<label for="area">Phone number:</label> (<input
  id="area"
  type="text"
  size="3"
/>) <input type="text" size="3" />-<input type="text" size="4" />