Skip to content

Proposals for Spring IT ProForum

Nicholas Hoyt edited this page Apr 9, 2021 · 28 revisions

Proposal 1: Designing an Accessible WordPress Theme

Format

Presentation

Presenters

  • Nicholas Hoyt
  • Jon Gunderson
  • Robert Slater

Title (12 Words)

Designing an Accessible WordPress Theme

Summary (150 words)

WordPress is a popular Content Management System (CMS) for creating websites at the University of Illinois. This session will describe our experience in creating an accessible WordPress theme for the Accessible IT Group website.

The session will discuss the use of headings and landmarks, the creation of an accessible banner menu, adding the SkipTo.js script to the theme template for supporting keyboard navigation, keyboard focus styling and adding in third party plugins for managing tables and a calendar.

The banner menu code, which uses an ARIA disclosure menu pattern, and SkipTo.js has been shared for use with the campus template. The Accessible IT Group website uses the campus CPanel web hosting service. The theme is available on GitHub for people to use or modify for their own WordPress websites.

We are interested in getting feedback on the design, especially the banner menu for website navigation and SkipTo.js for keyboard support. Robert Slater will describe how accessibility features are being integrated in the campus WordPress template.

Details (500 words)

The DRES chose WordPress to host a website for information related to the activities and resources of the DRES Accessible IT Group. The default themes available for WordPress had accessibility issues, so we decided to build our own theme in order to meet our accessibility requirements. This provided a more control over html code for pages and posts.

CSS and Color Contrast

  • Sass is used to modularize the styling of blocks of content on the website and to build our own style.css file for the WordPress theme.
  • We use media queries to adjust styling to common screen widths.
  • Colors for text content were tested to meet the WCAG 2.0 WCAG Level AA and AAA requirements.

Landmarks and Headings

  • There are 5 top level landmarks on the main pages:
    • Banner
    • Search
    • Navigation: Site Menu
    • Main
    • Contentinfo
  • On the Post pages have 3 additional landmarks for post navigation:
    • Complementary
    • Navigation: Latest Posts
    • Navigation: Categories
  • H1 heading is used to title the page
  • H2 headings are used for subsections
  • H3 headings are used for subsections and calendar items on the calendar page
  • Headings are also for providing accessible names for tables

Keyboard Support Support and Focus Styling

  • Link and form control focus styling creates a 2px border the current link with focus.
  • The link focus styling is in the CSS, so it is consistent between browsers.
  • SkipTo.js is used to support bypass blocks requirement of WCAG 2.1 and provides a menu of selected landmarks and headings on the page.

Banner Menu

  • The banner menu uses an ARIA disclosure menu pattern to implement keyboard navigation.
  • The menu is responsive at narrow screen widths to high the top level links and use a "Hamburger" menu to show the top level links.
  • SVG images are used to provide an affordance of additional links.

Calendar and Table Plug-ins

  • A WordPress plugin is used to manage data tables and feedback to the developer results in fixing an accessibility issue with naming and describing table content.
  • A WordPress plugin is used to support a calendar function, which mostly accessible, the calendar does have some accessibility issues and we are providing feedback to the owner to try to resolve these issues.

Accessibility Checker

  • The Accessible IT Group is exploring the use of an accessibility checker from Equalize Digital to help monitor and maintain the accessibility of the website.

Campus Template

  • SKipTo.js and banner menu code were contributed to the campus WordPress template.

Learning Outcomes (50 words)

  • Use of landmarks and headings.
  • Accessible banner menu design and code.
  • Use of SVG images to support high contrast modes of operating systems.
  • Using SkipTo.js to implement bypass blocks with the Illinois theme feature.
  • Working with third-party WordPress plugin developers to improve accessibility.

Clone this wiki locally