Screenshot showing block title accessibility options

This project is not covered by Drupal’s security advisory policy.

Site builders sometimes remove block titles to achieve a certain design or to remove redundancy for sighted users (e.g. the search block has a "search" form label, a "search" submit button and a "search" heading.)

Unfortunately, removing these titles harms site usability for some users.

This module allows site builders to visually hide titles while still allowing “open access” to their web sites by making the titles accessible.

Why does removing titles harm usability?

Users of assistive technology often use the headings (<h1>, <h2>, etc.) associated with content to navigate a web page. Removing these titles removes the ability to quickly navigate to that content. Additionally, some users cannot rely on visual cues and need the textual context of a title in order to understand the content.

#D7AX/#DAX - I pledge to make this module as accessible as it can be. If you find any flaws, please submit an issue. Help me fix them if you can.

To dos:

  1. Currently, this module only provides accessibility options for blocks. Other types of content could use these same options.
  2. Backport to Drupal 6.

Drupal 6 version:

Drupal 6 lacks per-title classes and per-template classes variables which a11y_titles relies on. So the Drupal 6 version of this module only works with themes that use $classes in their block.tpl.php template. The following themes are known to work with it:

Project information

Releases