Overview
- In August 2019, reviewed 50 sites out of 165 Drupal Sites at UW.
- Evaluated sites on a 3-point scale on 10 different measures of accessibility.
- Observed, but didn't specifically track, several common themes used repeatedly across sites.
- The bad news: Common themes means common accessibility problems.
- The good news: We only need to fix each problem once.
Drupal Versions
- 37 sites (74%) are using Drupal 7
- 11 sites (22%) are using Drupal 8
- 2 sites (4%) are using Drupal 6
Drupal Versions: Observations
- ARIA landmarks are better on D8 sites (10 out of 11 had perfect ratings vs. 59.5% of D7 sites and 0% of D6 sites)
- D8 sites are more likely to have functional Skip Links (9 of 11 had perfect ratings vs. 70.3% of D7 sites and 0% of D6 sites)
- On the other eight measures, there was no appreciable difference between versions of Drupal, which is interesting since the Drupal 8 community has focused extensively on building accessibility into Core (see the list of Drupal 8 Accessibility Features.
Siteimprove
- The UW has a limited enterprise license for Siteimprove, an automated website quality checker which checks for spelling errors, broken links, and accessibility issues.
- 12 sites from the overall population of Drupal sites (7.3%) are using Siteimprove.
- Of these, 7 sites were included in the sample (14%).
- There was no appreciable difference between the accessibility ratings for sites that use Siteimprove vs. those that don't.
The Ten Accessibility Measures
- ARIA Landmarks
- Headings
- Zoom
- Skip Links
- Dropdown Menus
- Carousels
- Visible Focus
- Contrast
- Alt Text
- Label on Search
ARIA Landmarks
Instructions for Testing
- Visually scan the web page. Determine generally what ARIA landmarks or HTML5 semantic elements are needed.
- Use Web Developer Toolbar > Information > Display ARIA roles. Look especially for "navigation" and "main" roles.
- If key landmark roles are not found, view DOM using browser's Inspector tool. Search for the HTML semantic elements such as <nav> and <main>
- Score the page as follows:
Examples
Assigned Rating | Count | Percent |
---|---|---|
1 | 32 | 64.0% |
2 | 12 | 24.0% |
3 | 6 | 12.0% |
Total | 50 | 100% |
Headings
Instructions for Testing
Use Web Developer Toolbar to outline headings.
Then score the page as follows:
Examples
Assigned Rating | Count | Percent |
---|---|---|
1 | 16 | 32.0% |
2 | 32 | 64.0% |
3 | 2 | 4.0% |
Total | 50 | 100% |
Zoom
Instructions for Testing
Using Firefox, be sure Zoom > "Zoom Text Only" is selected, then zoom in (using Ctrl + in Windows or Command + in MacOS) to 200%. Score the page as follows:
Examples
Assigned Rating | Count | Percent |
---|---|---|
1 | 14 | 28.0% |
2 | 13 | 26.0% |
3 | 23 | 46.0% |
Total | 50 | 100% |
Skip Links
Instructions for Testing
Score the page as follows:
Examples
Assigned Rating | Count | Percent |
---|---|---|
1 | 35 | 70.0% |
2 | 5 | 10.0% |
3 | 10 | 20.0% |
Total | 50 | 100% |
Dropdown Menus
Instructions for Testing
An accessible menu must meeting the following conditions:
- Must be keyboard-accessible
- Must support arrow keys (for moving in all directions) and escape key for closing sub-menus
- Must have ARIA markup (use DOM inspector to check menu code for attributes like aria-haspopup, aria-expanded, and/or role="menu" or role="menuitem"
Score the page as follows:
Examples
Assigned Rating | Count | Percent |
---|---|---|
1 | 6 | 12.0% |
2 | 20 | 40.0% |
3 | 12 | 24.0% |
N/A | 12 | 24.0% |
Total | 50 | 100% |
Carousels
Instructions for Testing
An accessible carousel must meet the following conditions:
- Must have a pause button (check for this visually)
- Must have keyboard-accessible controls (test by using the keyboard)
- Must have labels on controls for screen readers (right click controls and select "Inspect Element"; look for button text, alt attributes, or aria-label attributes)
- Must have an ARIA live region (in DOM inspector, search for any of the following: aria-live="polite", aria-live="assertive", or role="alert". Check to ensure content within this region changes as the carousel slides change (i.e., to alert screen reader users that slide content has changed).
Score the page as follows:
Examples
Assigned Rating | Count | Percent |
---|---|---|
1 | 1 | 2.0% |
2 | 6 | 12.0% |
3 | 21 | 42.0% |
N/A | 22 | 44.0% |
Total | 50 | 100% |
Visible Focus
Instructions for Testing
Using Firefox, tab through the web page, and score the page as follows:
Examples
Assigned Rating | Count | Percent |
---|---|---|
1 | 21 | 42.0% |
2 | 24 | 48.0% |
3 | 5 | 10.0% |
Total | 50 | 100% |
Contrast
Instructions for Testing
- Visually inspect the page. If there are suspicious color combinations, test them using the Colour Contrast Analyser.
- If there are no obvious violations, use the Axe browser extension to analyze the page. Select "All issues" from the Results menu and review the list of results looking for contrast errors.
- Select "Highlight" and scroll through all contrast errors to visually inspect them. Axe flags content with contrast errors if no background color is explicitly defined (since background images might not be loaded, plus Axe is unable to assess the contrast against background images). Although background colors should be explicitly defined, for the purposes of this review, just ignore any errors where contrast is unknown. If both foreground and background colors are identified in the error, this is in fact a failure. Visually inspect the highlighted element on the page to confirm the finding.
- Score as follows:
Examples
Assigned Rating | Count | Percent |
---|---|---|
1 | 20 | 40.0% |
2 | 18 | 36.0% |
3 | 12 | 24.0% |
Total | 50 | 100% |
Alt Text on Images
Instructions for Testing
- View the page, looking for images. Decide whether each image should be informative or decorative.
- Use the Web Developer Toolbar > Images Tab > Display Alt attributes.
- If no alt text is shown for a particular image, inspect that image using the browser's DOM inspector to determine whether it's an <img> element with no alt attribute, or a CSS background image.
- Score the page as follows:
Examples
Assigned Rating | Count | Percent |
---|---|---|
1 | 15 | 30.0% |
2 | 21 | 42.0% |
3 | 14 | 28.0% |
N/A | 0 | 0.0% |
Total | 50 | 100% |
Label on Search
Instructions for Testing
Use the WAVE browser extension to check for errors. If there are errors, check to see if any pertain to the Search field. If there is any uncertainty about the results, inspect the code using the browser's DOM inspector.
Score the page as follows:
Examples
Assigned Rating | Count | Percent |
---|---|---|
1 | 17 | 34.0% |
2 | Not an option | |
3 | 26 | 52.0% |
N/A | 7 | 14.0% |
Total | 50 | 100% |