Web Accessibility Handbook
Web Accessibility Handbook
Table of Contents
1. Introduction ............................................................................. 3
June 2022
1. Introduction
To enable all people, including persons with disabilities, to live independently
and participate in all aspects of life, we should take every opportunity to
make information accessible to all.
With the rapid growth of the Internet, ensuring that websites are accessible
to persons with disabilities is now an essential consideration to enable their
full integration into society.
This is also in line with the spirit of the United Nations’ Convention on the
Rights of Persons with Disabilities, which came into force for the People’s
Republic of China, including the Hong Kong Special Administrative Region
(HKSAR), on 31 August 2008.
Over the years, the HKSAR Government has been actively promoting web
accessibility to help persons with disabilities access online information and
services and enhance their user experience.
The Disability Discrimination Ordinance (Cap 487) has created a legal duty
for organisations to ensure their services are available to everyone
regardless of disability. This principle is applicable to information and
services provided through websites.
Many people assume that persons with disabilities do not use websites.
Persons with disabilities often use websites more than persons without
disabilities. Websites have been a great enabler for these people to live a
more independent life by shopping and socialising online.
Designers are fearful that building an accessible website will lead to a website
that is boring. This is not necessarily the case.
Web accessibility relies upon good coding techniques as well as simple design.
Many people think building an accessible website is expensive and resist this
process.
In fact building an accessible website in general can save you money in the
long term through better programming discipline and good coding techniques.
These techniques lead to websites that are simpler to maintain and use with
a range of browsers and devices.
In addition, there are many others who have temporary disabilities, for
example, a wounded arm. Such injuries can make accessing websites just
as difficult as it is for persons with permanent disabilities.
In this case people either cannot see at all or have difficulty in seeing a
computer screen.
It is critical that websites are designed to work with screen readers and
screen magnifiers. It is also important that colours are visible to persons with
colour blindness.
In this case the person generally does not have the ability to access a website
with a keyboard or a mouse in a normal way. This kind of impairment varies
from someone who has dexterity problems and finds a mouse difficult to use,
to someone who is not able to use a mouse or keyboard at all because of
missing limbs. People with epilepsy may react to flashing images.
It is important to make buttons large enough for easy clicking, and not to
place important items too close together, otherwise wrong item might be
clicked by mistake.
With the increase in the usage of videos and audios on the web, it is
important to consider how this impacts people who cannot hear. If
information is conveyed in audio format, it is necessary to ensure there is an
alternative way to access this information.
Although they do not require any special tools when browsing websites, they
may find it more difficult than average persons to interpret the content. This
should be kept in mind when developing contents for websites.
Website owners should first question the need for Adobe Flash and moving
objects, which often frustrate all people using websites.
If deemed essential, coding techniques that allow users to skip past these
items should be implemented.
Developers may also adopt cascading style sheet techniques that allow
important items to be presented first within the code and hence be read first
by screen readers.
Ensure users can skip past other blocks such as lengthy navigation bars.
The large Flash element on this example blocks the users from getting to the
main content.
Design websites with larger font sizes and use high contrast colour schemes.
In addition, ensure websites are built so that built-in browser text size tools
Video content should include text transcripts that can be interpreted by screen
readers.
Consider the photo below. If you have this photo on your website, how would
you communicate what this photo is to a visually impaired person using screen
readers?
Screen readers will read the text alternative of the image. Ensure text
alternatives are meaningful and suitably descriptive.
The text alternative for this image might read “Photograph of Hong Kong
Harbour and Hong Kong Island skyline on a sunny day”.
Complex website structures make a website difficult to use for persons with
and without disabilities. Try to adopt the simplest structure as far as possible
to convey your content.
The one on the left has five content areas in a less ordered structure and has
13 additional links.
The one on the right has four content areas in an ordered structure and six
additional links.
Ideally extend the time limits on websites to ensure users have adequate time
to interact with the web content.
Design larger volume bars so that interactions with these items using a mouse
are easier.
Typical volume sliders, as illustrated below, are difficult to use because the
portion that needs to be clicked is small and must be moved in subtle
increments in order to adjust volume.
Many websites use links such as “More information” or “Learn more” and have
these links for various pieces of content. Although this works for sighted users,
people using screen readers will be confused about which link is which. They
may discover there are several “More information” links but not know what
the links point to.
Websites should use description links in this case. Instead of just stating “More
information”, a link should state “More information about product XYZ” so that
the user knows where the link will go to just by reading the text.
Note how the links below effectively describe what the links are about and
any user will easily be able to understand the difference between the three
links.
PDF documents should only be used for certain situations, in particular when
you have a piece of content that you would like people to download and read
offline. In this way, PDF documents can be helpful for persons with disabilities
because they can download and read them with the assistive functions built
into PDF reading software.
Any content that you would like people to read online should be delivered as
standard HTML webpages rather than PDF documents.
This screen illustrates a common problem with PDF documents that have been
scanned by scanners without OCR processing. Although they appear as text
to a non-disabled person, they are not text that assistive technology can use.
PDF documents should be converted in such a way that they are text that
screen readers can convert to speech if required.
7. Accessibility Guidelines
7.1 World Wide Web Consortium (W3C)
Web Content Accessibility Guidelines (WCAG)
Out of the need to support the creation of websites that work for persons with
disabilities, the World Wide Web Consortium (W3C) put together the
W3C Web Accessibility Initiative (WAI). This brings together people from
industries, disability organisations, governments, and research labs from
around the world to develop guidelines and resources to help make the web
accessible to persons with disabilities. The Web Content Accessibility
Guidelines (WCAG) is developed with a goal of providing a single shared
standard for web content accessibility. (www.w3.org/WAI/standards-
guidelines/wcag/)
The WCAG documents explain how to make web content more accessible to
persons with disabilities. WCAG 2.0 (published on 11 December 2008) and
WCAG 2.1 (published on 5 June 2018) are both existing standards. WCAG 2.1
extends WCAG 2.0 by adding 17 new success criteria.
At first glance the guidelines can appear quite complex. However, the
guidelines are logical and with some effort, any website developer can
understand how to use and comply with these guidelines. The most important
thing to understand is that the guidelines consist of four parts as follows:
Notes:
For Level A conformance (i.e. the minimum level of conformance), the
webpage must satisfy all Level A Success Criteria.
For Level AA conformance, the webpage must satisfy all Level A and
Level AA Success Criteria.
For Level AAA conformance, the webpage must satisfy all Level A, Level
AA and Level AAA Success Criteria.
This does not need to be done for Captcha or for images that are for
decoration only and do not convey meaning.
Before Rectification
After Rectification
For all images, a text description that can be read by the screen reader should
be included. The text description should enable the person reading the
webpage to know what the image is about and what it is supposed to illustrate.
WCAG 2.1 Reference:
https://www.w3.org/WAI/WCAG21/Understanding/non-text-content
Before Rectification
The example shows a video on its own. This will not be accessible for visually
impaired persons.
After Rectification
The video has included an option to download a transcript of the video that
visually impaired persons will be able to listen to using screen readers.
WCAG 2.1 Reference:
https://www.w3.org/WAI/WCAG21/Understanding/audio-only-and-video-
only-prerecorded
Provide captions for audio tracks so that they are accessible by persons with
hearing impairments. Captions not only present the content of a conversation
but also important cues and surrounding noises.
Before Rectification
After Rectification
Before Rectification
With video as shown in the example above, a visually impaired person will be
able to hear the audio but will not be able to see the picture. He/She needs
some other ways to know that there is a picture of a person on this screen.
After Rectification
A simple solution to this is to provide a text version that includes dialogue and
also explains what is appearing on the screen.
Users who are not disabled can view the layout of a webpage and quickly
determine its structure and hierarchy. Persons with visual impairments cannot
see this layout. The website needs to provide appropriate markup to illustrate
this structure to screen readers so that it is accessible to persons with visual
impairments. The links should be categorised into different groups so that
screen readers are able to determine their relationship.
Before Rectification
In this example, there are no headings for the content, links and table
columns. This is an example of poor structure and relationships as someone
using screen readers will not be able to get a good overview of the content.
After Rectification
If the content needs to be read in a certain order to make sense, ensure the
webpage is written/coded in a way which indicates this order.
Before Rectification
In this example, the webpage has been built in such a way that the screen
readers will read the two headings first and then the content.
After Rectification
If the webpage is correctly coded, the reading order will be more logical. In
this case each piece of content follows its respective heading.
Before Rectification
In the example above, it is only clear to a person who can see the webpage
that he/she needs to click the green arrow. This will not be clear to a visually
impaired person.
After Rectification
The correct way to do this is to label the button and ensure clear instructions
are in place to tell people which button to use and how to use it.
Before Rectification
In the example above, the three lines are of different colours, however, a
colour blind or visually impaired person may not be able to detect this colour
difference.
After Rectification
By making the items have different shapes, someone who cannot perceive
colours can differentiate between these items through the different shapes in
the graph.
Before Rectification
In the example above, the video will begin playing automatically in five
seconds. This is very common on news websites. Ideally the video should only
play when the user initiates it. If that is not possible, a link can be added to
turn off the audio.
After Rectification
In this example, we have included a link to turn off the audio at the beginning
of the webpage so users will find it easily when they first come to this webpage.
They can then turn off the audio if they choose.
Ensure all content and functions can be accessed via a keyboard. For example,
ensure content and functionalities are accessible through the Tab key or the
Enter key.
Before Rectification
In the webpage above, people using a keyboard may not be able to navigate
to the help function provided.
This extract from the HTML code shows that it can only be accessed with a
mouse.
After Rectification
The code needs to be changed to allow users to access all content and
functions with a keyboard.
Often people with disabilities can only use a keyboard to control a webpage.
Ensure the keyboard can be used to control or dismiss dialogue boxes, popups
or other windows.
Before Rectification
Websites often have popup windows, such as for help content as shown in
this example. A keyboard user may become trapped in the popup without an
easy way to return to the main content.
After Rectification
By incorporating a Close button in the popup window, users can escape the
trap of that window by using the Tab key to move to the Close button and
press Enter.
Before Rectification
The character “e” is used as a shortcut key for archiving the email. When a
speech input user reads “e” as one of the input texts, the archive function is
automatically initiated.
After Rectification
A function is added for users to turn off the shortcut key feature. The speech-
input user is now able to input the text without invoking the shortcut key
function.
Ideally ensure processes on a website are not time dependent. If they are,
ensure persons with disabilities can either adjust or stop the time limit so they
can have enough time to complete their task.
Before Rectification
After Rectification
For content that moves automatically for more than five seconds or is updated
automatically, there needs to be a way to stop this movement and stop the
webpage from updating, blinking or scrolling.
Before Rectification
After Rectification
By providing a function to turn off the auto updating, the webpage will be
much easier for persons with disabilities to use.
Ensure all flashing items are dimmed, and cover only a small area of the
screen or the flash rate is three times per second or less. Otherwise, this may
cause problems for people who suffer from epilepsy.
Before Rectification
In this example, the traffic light image is flashing too fast, and is too bright
and covers a large part of the screen. This content can cause seizures in
people prone to this problem.
After Rectification
It is better to replace flashing content with static content, or ensure the object
flashes in only a small portion of the screen or the flash rate is less than three
times a second.
Ensure users have the ability to skip past repetitive blocks of content (e.g.
the navigation at the top of the webpage). Add a link that goes directly to the
main content at the top of each webpage.
Before Rectification
With such a webpage, people using screen readers will need to read all the
navigation information before getting to the target content. People who
navigate using only a keyboard will require many keystrokes before getting
to the target content.
After Rectification
By adding a “Skip to content” link at the top of each webpage, persons with
disabilities will be able to click that link and bypass the navigation information
to get to the main content.
Give webpages a title that accurately describes what the content is about.
This will help persons with disabilities differentiate the webpages in their
browser history.
Before Rectification
It is quite common to see webpages with inaccurate titles such as this one
where the webpage is simply named “Home”. This can easily be confused with
other Home page.
After Rectification
A proper title such as this one will accurately describe what this webpage is
about.
When writing the HTML code for a webpage, make sure the content is coded
in a logical order. It will then be communicated in a logical manner when read
by screen readers. This is particularly important for web forms.
Before Rectification
In this example, the form has been coded so that the focus order goes from
First Name, to Address, to Phone, then to the Submit button. This is not
intuitive to a user.
After Rectification
With proper coding, the focus order of the form can move in a much more
logical manner.
Write descriptive link text to ensure the purpose of each link can be
understood by the text alone, or by the link text and the context.
Before Rectification
In the example above, the link “Yes” is ambiguous and does not really convey
much meaning.
After Rectification
Ensure the primary language of a webpage is defined within the HTML code.
The correct speaking language will be loaded by screen readers to read the
words in the webpage.
Before Rectification
After Rectification
In order for the screen reader to work correctly, the above language
specification must be included in the HTML code.
When an item on a webpage receives focus, such as by using the Tab key in
the keyboard, ensure it does not change the context. For example, by
displaying a dialogue box when a person tabs to a field.
Before Rectification
In this example, a field receives focus, and a help dialogue box describing the
field and providing options opens. As a keyboard user tabs through the
webpage, the dialogue opens, moving the keyboard focus away from the
control every time the user attempts to tab past the field.
After Rectification
Instead, the webpage should allow the user to activate “Help” only at their
choice rather than forcing them to read “Help” with each tabbed field.
Before Rectification
After Rectification
This option is much better as it gives the user control over when to submit
the form.
If a user makes a mistake, use text to show him/her where and what he/she
has done wrong, and how he/she can fix it.
Before Rectification
In the screen on the above, an error has been identified without any
information on where the error is and what needs to be fixed.
After Rectification
This is made accessible by telling the user where the error has occurred and
what he/she needs to do to fix the error.
Before Rectification
After Rectification
Before Rectification
After Rectification
Before Rectification
With the code snippet above, an image is used for a button. In this case, a
wrong role is used for an element and the element is missing a name.
After Rectification
With proper HTML coding, the role is used, and the input element is of the
button type. In addition, a unique name has been given to the element. In
this way, the screen readers will communicate to the user that the element is
in fact a button and this in turn makes it easier for the user to know he/she
may need to click that button.
Before Rectification
After Rectification
Buttons are added as an alternative way for users to adjust the volume with
simple clicks.
Functions are completed by the up-event (e.g. release the mouse button or
remove the finger from the screen) and either one of the following
mechanisms is available:
To abort the function before completion; or
To undo the function after completion.
There is exemption when the down-event is essential such as in the piano
keyboard emulation program.
Before Rectification
After Rectification
The donation will be confirmed only if the user presses and releases the mouse
button at the clickable area. If the user wants to abort the function after
pressing the mouse button, he/she can drag the mouse pointer out of the
clickable area, then release the mouse button.
All visible text labels must match their programmatic names to facilitate users
using speech-to-text technologies to interact with the content based on an
intuitive visual label.
Before Rectification
When a speech-input user speaks a command “Click Buy”, the speech input
does not activate the button control because the programmatic name that is
enabled as a speech-input command does not match with the visible text
label.
After Rectification
The programmatic names are exactly the same as the visual text labels of the
buttons, so that the speech-input user can activate the control by speaking
the visual text label.
Before Rectification
After Rectification
Ensure all audios and videos that are presented “live” have captions.
Before Rectification
After Rectification
Before Rectification
After Rectification
Before Rectification
After Rectification
Before Rectification
After Rectification
Design text and images so that they have a contrast ratio of at least 4.5:1
between the background and the foreground to make it easy to read.
Before Rectification
In this example, the white text on the pink background has poor contrast,
making it hard to read.
After Rectification
When higher contrast text is used, the text is much easier to read. There are
colour contrast checkers available online that can assist web developers to
check the contrast of their webpages.
Ensure all text can be resized up to 200% without the loss of content or
functionality. In this way, persons with mild visual impairments can read the
content without using assistive technologies such as a screen magnifier.
Before Rectification
After Rectification
By adding a function to change the text size in the masthead, text size can
be easily resized. Alternately, ensure websites are built so that built in
browser text size tools work as they should. Developers should also be
mindful of using proper cascading style sheet (CSS) techniques to ensure
the CSS works with the built in browser resize functions.
Where possible, do not use images to display text. Accessibility tools like
screen readers cannot read text inside an image and will have to rely on the
image alt tag. In addition, text in images cannot be resized by browsers
when a user chooses to use larger fonts.
Before Rectification
The heading on the webpage above has the risk of being read incorrectly by
some screen readers or other assistive tools.
After Rectification
This text heading above does not use an image, thus increasing the chance
of it being read correctly by screen readers or other assistive tools. Any visual
design applied to this text is achieved through cascading style sheets (CSS).
Before Rectification
When users zoom in to enlarge the size of the content, they have to scroll
both horizontally and vertically to view the content.
After Rectification
Before Rectification
The grey textboxes on the white background have poor colour contrast,
making it harder for persons with low vision to identify.
After Rectification
Dark border is applied to the textboxes so that they can be identified easily.
Ensure the content or functionality will not be lost if user overrides the setting
for spacing between paragraphs, lines, words or characters.
Before Rectification
h1 {line-height:150px}
h2 {line-height:100px}
The line height of header (h1) and sub-header (h2) texts is defined using
absolute values (i.e. number of pixels). When the user zooms in to enlarge
the content of the webpage, the header and sub-header texts are cut off and
become unreadable.
After Rectification
h1 {line-height:100%}
h2 {line-height:100%}
The line height of h1 and h2 is defined using relative values (i.e. percentage).
When the page is zoomed by the user, the line height of h1 and h2 is changed
accordingly such that the content can be displayed clearly.
Before Rectification
After Rectification
Ensure there is more than one way to access a webpage, for example, by
using a search function, site map, standard navigation, etc.
Before Rectification
The only way to navigate around this website is through the main navigation.
After Rectification
In this image, a search function and a site map have been included for users
to have multiple methods available to locate the required information.
Something like a site map would also be helpful to users who have learning
disabilities or have difficulties in concentrating for a long period of time.
Before Rectification
The heading “Cats” shown above does not accurately describe the purpose
of the content beneath it.
After Rectification
The image above however shows a more detailed heading that accurately
describes the content. This would assist users using a screen reader.
When a “text field” is selected, ensure it is clear that the focus has been
moved into the “text field”. For example, ensure the cursor is easily visible
within the field so that users know where to begin typing.
Before Rectification
In the image above, there is no way to determine which field has the focus.
After Rectification
This image ensures that the vertical bar is visible. This shows that the focus
is currently on the second field, and this helps those users with low vision or
visual impairments determine where they are on a webpage.
Write content so that the language of all passages and phrases can be clearly
understood. This will enable screen readers to pronounce each item in the
correct language.
Before Rectification
After Rectification
The image above shows how this code should look like so that the screen
readers can detect and pronounce the words using the proper languages.
Before Rectification
The style is not consistent across multiple webpages. This could be confusing
for visually impaired persons.
After Rectification
The example above shows the correct method to ensure the navigation is
consistent across multiple webpages.
For all items that have the same functionality, ensure they use the same
label. For example, a "Buy Now" button on one webpage should be identically
labelled as a "Buy Now" button on another webpage so that the user knows
these buttons would perform the same function.
Before Rectification
In the example above, there are two buttons each having a different label.
This could cause confusion for some users, especially for those using screen
readers, who may not be able to take note of the similarities between these
two buttons.
After Rectification
The two “Buy Now” buttons are consistent above and it is clear that both
would perform the same function.
When a user makes an error and the solution can be identified automatically,
always provide the user with a suggestion to fix the error.
Before Rectification
The example above shows an error message that is not helpful enough
because it is located at the bottom of the webpage, and does not provide an
adequate description of what needs to be corrected.
After Rectification
In contrast, this example shows a message that is located at the top of the
webpage and provides a good explanation of what needs to be corrected.
If a user has to submit data that have legal or financial consequences, make
sure the system allows the user to check and confirm his/her information
before submitting, or reverse the transaction after submitting.
Before Rectification
This screen indicates the last step of a transaction, in which the user is forced
to place the order without a confirmation process.
After Rectification
It is better to allow the user to first confirm and give him/her the option to
change any of the details before the final submission.
For any visible status message (e.g. error or success message subtly added
to a page), users should be informed by means of assistive technology tools
even though the status message is not in focus. One possible way to
implement this criterion is to define the Accessible Rich Internet Application
(ARIA) role (status, alert) or Live Regions.
Before Rectification
A spinning logo with “searching” status message appears after user initiates
the search function. However, screen reader cannot read out the status
message because it is not in focus.
After Rectification
By assigning appropriate ARIA role to the status message, the screen reader
is able to read out the message to inform users about the content change
even though the status message is not in focus.
After completing code scanning and when all identified issues are rectified,
carry out other forms of testing as mentioned below to check for items that
cannot be tested automatically.
Example Tools:
AChecker
Axe DevTools
Total Validator
WAVE
A great deal can be learnt about the accessibility of a website just by visual
browsing while having in mind the following questions:
Can the content be easily read?
Can the forms for collecting input be used effectively?
A simple look at a website can reveal many potential web accessibility issues
for persons with disabilities.
Example Tools:
Colour Contrast Analyser
WCAG Contrast Checker
Web Developer (Firefox plugin)
Example Tools:
JAWS
NVDA
VoiceOver
Windows Light
Other than screen readers, persons with disabilities may use a variety of
other tools to interact with a website. Two particular types of widely used
tools are:
Voice Control Tools – some severe motor disabilities leave using voice
commands as the only means to interact with a website. People speak into
a microphone with commands such as “next link”, “go”, etc.
Testing using these tools reveals issues which are difficult to identify
through the other methods.
Example Tools:
ZoomText Magnifier
Dragon NaturallySpeaking
12. Glossary
Term Description
Browser Any software that retrieves and renders Web content for
users.
Term Description
Live audio-only A live presentation that contains only audio (no video
and no interaction)
Before Rectification
Simply having the video with a transcript or captions may not be enough for
all users.
After Rectification
If the content of a video is complex, the audio within the video may not
effectively explain what is taking place in the visual. Some visually impaired
persons listening to the audio will miss out on important content. To rectify
this, provide an extended audio description which describes in detail what is
taking place in the visual. Often in these cases the visual may need to pause
while the audio description plays.
An extended audio description may state things like "The person is now doing
X in the video. Now the person is doing Y."
Before Rectification
In the example above, there is a risk that a user has not enough time to
understand all the information before the video moves onto the next point
because they cannot see the visual.
After Rectification
This example shows how the system can handle this by temporarily pausing
the video and providing audio to explain the situation.
This success criterion is meant to target at users with impaired hearing and
vision. This “alternative” is not like a caption or a subtitle. Instead, full
descriptions are provided for all visual information, including visual context,
actions and expressions of actors, and any other visual materials. In addition,
non-speech sounds (laughter, off-screen voices, etc.) are described, and
transcripts of all dialogues are included. The media alternative is generally
provided in text so it can be read using assistive technologies.
Before Rectification
After Rectification
For live audio, offer an alternative that contains equivalent information. For
example, make speech notes available if a speech is being delivered.
Before Rectification
After Rectification
The image above shows that a simple link directing users to the speech notes
means that all users can access this content.
The purpose of user interface components, icons and certain sections can be
identified by user agents. For example, Accessible Rich Internet Application
(ARIA) landmarks should be used to identify regions of a page, so that
assistive technologies can be used to make the content more
understandable.
Before Rectification
Without setting the ARIA landmark roles, assistive technologies cannot easily
recognise different regions of the webpage to provide customisation for the
user.
After Rectification
The ARIA landmark roles are assigned to identify different regions of the
page. Assistive technologies can help the user by adding icons or changing
the styles of individual webpage components.
Before Rectification
The text colour and background indicated in the contrast checker above do
not comply with Level AAA.
After Rectification
This text and background colour combination complies with Level AAA with
the use of the contrast ratio above.
Before Rectification
The background audio has a high chance of overpowering the actual dialogue.
This becomes an issue for persons with hearing impairments.
After Rectification
When there is a block of text, ensure the user can select the foreground and
background colours. Besides, ensure the text is not “fully justified” and is
less than 80 characters long. In addition, ensure there is at least a space
and a half between each line and that the space between each paragraph is
1.5 times larger than the space between each line.
Before Rectification
The paragraph in the image above is not easily accessible as it does not meet
the criteria mentioned.
After Rectification
The second image shows how to make a paragraph accessible. This helps
many users who have learning difficulties as there is enough space between
each line and also the space is even.
To achieve the highest accessibility rating, do not use text in images unless
it is purely decorative, or the text as an image is central to the idea being
communicated.
Before Rectification
The heading of the webpage above is an image and would not comply with
Level AAA.
After Rectification
Here the image has been replaced with text and now complies with Level
AAA.
Before Rectification
In this situation the system only allows a user to use his/her “mouse” to
create the drawing. This is not accessible to persons with restriction in body
movement who cannot use a mouse.
After Rectification
In this situation the system allows the user to create a picture using the
keyboard and also provides instructions on how to achieve this. This is
helpful for persons with restriction in body movement.
Design content such that timing is not an essential part of the event or
activity.
Before Rectification
After Rectification
In this way, persons with attention deficit disorders can focus on the content
without distraction. In addition, people using screen readers will not have
content updated while they are listening, thereby preventing confusion.
Before Rectification
After Rectification
If a user is logged into a system, and his/her “session expires”, he/she must
be able to log in again without losing any of his/her previously entered data.
Before Rectification
The example above shows a scenario where a user will lose his/her data, as
the system has not remembered the user’s details at step 4.
After Rectification
The correct technique is to ensure after the user logs in again, the data
entered is not lost.
Before Rectification
After Rectification
Ensure there is nothing on a website that “flashes” for more than three times
per second irrespective of its size. Otherwise, this may cause problems for
people who suffer from epilepsy.
Before Rectification
In this example, the traffic light image is flashing too fast and is large in size.
This can cause seizures.
After Rectification
It is better to replace flashing content with static content that does not
change.
Before Rectification
Animation on the top banner is triggered when users scroll down the
webpage. However, the website does not allow users to disable the
non-essential animation in the banner. Users with vestibular disorders
(motion sickness) may feel sick when reading the web content.
After Rectification
Provide a way for the users to determine their location within a website at
all times. For example, use “breadcrumbs” so that users will be able to
quickly determine where they are within a website.
Before Rectification
In the example shown above, there is no way of knowing where you are
within the website. For a user who is visually impaired, it is very easy to get
disorientated whilst navigating a website.
After Rectification
Make sure that the purpose of each link can be recognised from the link text
alone.
Before Rectification
The button “Find out more” only briefly describes the purpose of this link.
After Rectification
This image shows a link button which clearly describes its purpose, i.e. “Find
out more about Customer Experience Testing”, instead of just “Find out more”
as shown in the “Before Rectification” image above.
Before Rectification
The example above has a large piece of text. This could be difficult to read
by some users who may have learning disabilities. Besides, for people using
screen readers, this is a long piece of text to read.
After Rectification
The sizes of target (e.g. button) are at least 44 by 44 Cascading Style Sheets
(CSS) pixels, except when:
Equivalent: The target is available through an equivalent link or control
on the same page that is at least 44 by 44 CSS pixels;
Inline: The target is in a sentence or block of text;
User Agent Control: The size of the target is determined by the user
agent and is not modified by the author;
Essential: A particular presentation of the target is essential to the
information being conveyed.
Before Rectification
After Rectification
Websites should not restrict the use of input modalities (e.g. keyboard,
mouse, touchscreen, voice input) available on a platform, unless the
restriction is essential, or is required to ensure the security of the content,
or to respect user settings.
Before Rectification
After Rectification
The webpage accepts more than one kind of input mechanism, including
keyboard, mouse and touchscreen. Users are allowed to switch between
input mechanisms when necessary.
Before Rectification
In the example above, users could not identify the definition of the term
“web accessibility”.
After Rectification
In this example, some words are linked to a glossary. This is a good method
to ensure all users understand the unusual terms.
Wherever abbreviations are used, provide a way for the user to understand
what these abbreviations stand for and their meaning. What may seem
obvious to one person may be meaningless to another.
Before Rectification
The acronym “UCC” should not be coded like the example displayed above.
A screen reader will try to read the letters U-C-C like a word which may be
difficult to understand.
After Rectification
Make text simple and easy to understand. For example, use short and
common words in sentences. If possible, provide a summary for the content.
This will help those users who may have learning difficulties such as dyslexia.
Before Rectification
After Rectification
Wherever possible, try to make all content as simple as possible with minimal
complexity. If possible, use less words and images to make reading easier,
just like the example here.
In the example below, the word “minute” may mean either “The button was
so minute I could not see it.” (meaning “small”) or “I need a minute to think
about it.” (meaning “60 seconds”). If such instances arise, ensure the
meaning is clear from the context, or provide additional information that
shows which pronunciation should be used so as to avoid ambiguity.
Before Rectification
There could be some confusion over which meanings of the word “minute” is
referred to, as there is no context provided.
After Rectification
The example above shows how the content can be expanded to ensure there
is no confusion.
Before Rectification
The example above shows a webpage having live updates of news items.
Persons with vision impairments or specific learning difficulties may not have
enough time to read all the news items before the automatic update with the
latest news items.
After Rectification
In this example, users who have difficulties in reading the news items within
the time limit are provided with the option to request an update or pause the
update.
Make sure users can always access the help functions which specifically
address what they are trying to do. They should not be expected to have to
wade through webpages of help text.
Before Rectification
Users could have difficulties in looking for “Job Number” without a specific
help function.
After Rectification
Error prevention provides safeguards against errors that are made by users.
Providing users with functions to review and correct information allow users
to detect mistakes before making submissions.
Before Rectification
In this screen indicating the last step of a transaction, users are forced to
submit their details without a “confirmation” step.
After Rectification
Begin by following the steps below for Level A compliance, then repeat the
steps for Level AA – and if necessary repeat again for Level AAA. Following
this checklist will enable websites to be tested in the most efficient way.
1. Review each of the criteria and “check off” all the success criteria
that DO NOT APPLY to the website, using the N/A column.
For example, if a website does not have any audio or video content,
then criterion 1.2.1 can be marked N/A and the Visual Review and
Assistive Technology (AT) Test can be skipped.
Other items marked as skipped can be ignored for that test as it is
not possible to determine compliance with that test.
2. Scan website with a code scanning tool focusing on each of the items
in the Code Scan column.
Note that code scan tools often report items that may not require
fixing. Web developers should investigate each item found to
determine if it is in fact a real issue.
2.1.1 Keyboard