Accessibility test page

This is an accessibility test page that also contains spulling erors and accessibility issues found mostly in the editable regions of the page (non template issues) up to WCAG 2.2 AA standard. It also contains a broken link.


Headings

Ensure every page contains a top-level heading

WCAG 2.0 A 1.3.1

Every page should have a clearly defined heading, known as a "H1" (Heading 1).

This web page has no <h1> and starts with a <h2>.

Heading that is out of sequence

The previos heading is a <h3> and the above heading is in the wrong sequence as I have skipped the heading level 4 and gone straight to 5.

Ensure headings include text

WCAG 2.0 A 1.3.1

Heading elements (<h1>, <h2>, ...) must contain some machine-readable text content. Below this paragraph is an empty heading 2.

 


Text

Ensure text has sufficient contrast

WCAG 2.0 AA 1.4.3

This text does not have sufficient colour contrast. the colour of text must sufficiently contrast with its background color, so that people with moderate visual impairments can read it.


Links

Combine adjacent links with the same destination

WCAG 2.0 A 1.1.1

Two adjacent links should not point to the same destination. You almost always want to combine the two links.

Ensure links are distinguished by more than just colour

WCAG 2.0 A 1.4.1

Apart from the colour blue, this paragraph contains a link here that has no indication that it's a link - such as text decoration, border bottom or button borders. For a user who is colour blind, this link may be inditingushabale as a 'clickable' link.

Ensure links explain their purpose

WCAG 2.0 A 2.4.4

The purpose of a link should be clear from the text inside the link.

Empty hyperlinks

  • WCAG 2.1 SC 1.1.1, “Non-text Content" - All non-text content that is presented to the user has a text alternative that serves the equivalent purpose, with several exceptions.
  • WCAG 2.1 SC 2.4.4, “Link Purpose (In Context)” - 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.

Below this text is an empty link in the code.

Predictable

Links opening in a new window

WCAG 2.1 3.2

Predictable opens a new window. Make Web pages appear and operate in predictable ways.

This link will open in a new window without declaring it.

Broken link

This link has been broken on purpose and will return a 404 (page not found).


Ensure pages don't require zooming and 2D scrolling on small screens

WCAG 2.1 AA 1.4.10

When viewed on small screens (like mobile phones) content should be large enough to read without being zoomed-into and scrolled in two dimensions

This text will break the container and cause 2D scrolling on a small screen.


Tables

Add a scope to table headings

WCAG 2.0 A 1.3.1

The following table has no scopes assigned to the <th>.

Table
 Table heading one Table heading twoTable heading three 
Content Content Content
Content Content Content

Add headers to tables

WCAG 2.0 A 1.3.1

Tables which contain information should have clear headers defined. The following table has no headers.

Table with no headers
Content Content
Content Content

Lists

incorrectly nested UL

The following <ul> is nested incorrectly . The nested list should be inside a <li> element of the list in which it is nested.

  • List item one
  • List item two with subitems:
    • Subitem 1
    • Subitem 2
  • Final list item

Write lists or groups of links semantically

WCAG 2.0 A 1.3.1

Lists of related items should be written semantically as a list. Not as below.

Modern Media | Storage Conditions | Dos and Don'ts | Conservation Service


Images

Omitting the alt attribute

The image below has no alt text.

Duplicate IDs

WCAG 2.0 A 4.1.1

All id attributes on a page must be unique, or accessible technologies used by the page can stop working.

  • This list item has an id of test1
  • This list item also has an id of test1

Specify a title for all frames

WCAG 2.0 A 2.4.1

All frames must define a readable title, which briefly described the contents of that frame. The below iframed video has no meta title.


Page last reviewed: 07 June 2024