WEB ACCESSIBILITY FOR DEVS
Helpful hints and tips for dev to build better websites
Peter Bui - PB Web Development
OVERVIEW
OF THINGS
TO LOOK OUT
FOR..
Just a quick overview
SEMANTICS
➤ Headings, h1, h2, h3
➤ H1, H3, H2 or H2
➤ Using ordered lists and
unordered lists
MARKUP
➤ Designate areas of a site with
correct areas, e.g header,
navigation, aside, content and
footer
➤ Use ARIA Roles
➤ role=navigation, role=banner,
role=contentinfo
➤ Examples of ARIA role
landmarks - http://
www.html5accessibility.com/
tests/roles-land.html
CORRESPONDING HTML5 AND ARIA ROLES
➤ Designate areas of a site with
correct areas, e.g header,
navigation, aside, content and
footer
➤ Use ARIA Roles
➤ role=navigation, role=banner,
role=contentinfo
➤ Examples of ARIA role
landmarks - http://
www.html5accessibility.com/
tests/roles-land.html
SKIP LINKS
➤ Please always have skip links
➤ Experience returning users
navigate quickly
IMAGES
➤ Decorative vs meaningful
➤ Alternative text
➤ Longdesc linking to
alternative page describing the
image
SEO BENEFITS
➤ Headings for importance
➤ Context
FORMS
➤ Buttons versus links
➤ Form fields
➤ labels
➤ fieldsets, legends, don’t use
placeholders
➤ Warning and validation
➤ Timers
TIMERS ON FORMS
➤ Alert with a timer before
expires
➤ Use ARIA alerts
COLOUR CONTRAST
➤ Formula to work out the
perfect contrast levels
➤ Vision Australia colour
contrast tool for PC - http://
www.visionaustralia.org/
digital-access-cca
➤ For Mac - https://
www.paciellogroup.com/
resources/contrastanalyser/
➤ and an online version http://
webaim.org/resources/
contrastchecker/
TEXT SIZING AND TYPOGRAPHY
➤ Make sure you can zoom by
200%
➤ base font size of 14px is a
good starting point
➤ Choose readable fonts
➤ Heading sizes should be
distinguishable
CAPTCHA
➤ It’s Evil
➤ Google ReCaptcha isn’t usable
➤ Cognitive issues and more

textcaptcha.com
MEDIA
➤ Auto playing media - don’t do
it
➤ Flashing video
➤ Keyboard accessible media
controls
LANGUAGES
➤ <html lang=“en”>
➤ Joomla is accessible by
language by default WIN
KEYBOARD NAVIGATION
➤ Tab tab tab, shift tab shift tab
➤ :focus
VALID CODE
➤ Valid code reads better for
screen readers
➤ use free html validators
HTML
➤ Anyone uses HTML for
layouts?
➤ Use Table headers, TH, table
captions and so on to describe
a table and its data. Give
meaning to the data
VALID CODE
➤ Valid code reads better for
screen readers
➤ use free html validators
TESTERS
➤ Squiz JS tester

➤ tenon.io for build testing and
reporting.
CASE STUDY
TIME
Need a volunteer website
SOCIAL MEDIA MARKETING
➤ Engage with your customers
in their space
➤ Advertise in a cost effective
area
➤ Take advantage of public
comments, recommendations
and complaints
QUESTIONS?
TWITTER: @ASTROBOYSOUP

Web accessibility for developers

  • 1.
    WEB ACCESSIBILITY FORDEVS Helpful hints and tips for dev to build better websites Peter Bui - PB Web Development
  • 2.
    OVERVIEW OF THINGS TO LOOKOUT FOR.. Just a quick overview
  • 3.
    SEMANTICS ➤ Headings, h1,h2, h3 ➤ H1, H3, H2 or H2 ➤ Using ordered lists and unordered lists
  • 4.
    MARKUP ➤ Designate areasof a site with correct areas, e.g header, navigation, aside, content and footer ➤ Use ARIA Roles ➤ role=navigation, role=banner, role=contentinfo ➤ Examples of ARIA role landmarks - http:// www.html5accessibility.com/ tests/roles-land.html
  • 5.
    CORRESPONDING HTML5 ANDARIA ROLES ➤ Designate areas of a site with correct areas, e.g header, navigation, aside, content and footer ➤ Use ARIA Roles ➤ role=navigation, role=banner, role=contentinfo ➤ Examples of ARIA role landmarks - http:// www.html5accessibility.com/ tests/roles-land.html
  • 6.
    SKIP LINKS ➤ Pleasealways have skip links ➤ Experience returning users navigate quickly
  • 7.
    IMAGES ➤ Decorative vsmeaningful ➤ Alternative text ➤ Longdesc linking to alternative page describing the image
  • 8.
    SEO BENEFITS ➤ Headingsfor importance ➤ Context
  • 9.
    FORMS ➤ Buttons versuslinks ➤ Form fields ➤ labels ➤ fieldsets, legends, don’t use placeholders ➤ Warning and validation ➤ Timers
  • 10.
    TIMERS ON FORMS ➤Alert with a timer before expires ➤ Use ARIA alerts
  • 11.
    COLOUR CONTRAST ➤ Formulato work out the perfect contrast levels ➤ Vision Australia colour contrast tool for PC - http:// www.visionaustralia.org/ digital-access-cca ➤ For Mac - https:// www.paciellogroup.com/ resources/contrastanalyser/ ➤ and an online version http:// webaim.org/resources/ contrastchecker/
  • 12.
    TEXT SIZING ANDTYPOGRAPHY ➤ Make sure you can zoom by 200% ➤ base font size of 14px is a good starting point ➤ Choose readable fonts ➤ Heading sizes should be distinguishable
  • 13.
    CAPTCHA ➤ It’s Evil ➤Google ReCaptcha isn’t usable ➤ Cognitive issues and more
 textcaptcha.com
  • 14.
    MEDIA ➤ Auto playingmedia - don’t do it ➤ Flashing video ➤ Keyboard accessible media controls
  • 15.
    LANGUAGES ➤ <html lang=“en”> ➤Joomla is accessible by language by default WIN
  • 16.
    KEYBOARD NAVIGATION ➤ Tabtab tab, shift tab shift tab ➤ :focus
  • 17.
    VALID CODE ➤ Validcode reads better for screen readers ➤ use free html validators
  • 18.
    HTML ➤ Anyone usesHTML for layouts? ➤ Use Table headers, TH, table captions and so on to describe a table and its data. Give meaning to the data
  • 19.
    VALID CODE ➤ Validcode reads better for screen readers ➤ use free html validators
  • 20.
    TESTERS ➤ Squiz JStester
 ➤ tenon.io for build testing and reporting.
  • 21.
    CASE STUDY TIME Need avolunteer website
  • 22.
    SOCIAL MEDIA MARKETING ➤Engage with your customers in their space ➤ Advertise in a cost effective area ➤ Take advantage of public comments, recommendations and complaints
  • 23.