Block ARIA Landmark Roles
This module allows you to add ARIA landmark roles and labels to blocks. This improves accessibility by helping assistive technologies understand the purpose of different content regions on your site.
Inspired by Block Class, this module adds additional elements to the block configuration forms that allow users to assign a ARIA landmark role and/or ARIA labels to a block.
For further information about ARIA landmark roles, go to http://www.w3.org/WAI/PF/aria or http://www.nomensa.com/blog/2010/wai-aria-document-landmark-roles.
Usage
Drupal 7
Ensure that the attributes variable is being printed within your block.tpl.php
file - the block module's default template does this by default. For example:
<div id="<?php print $block_html_id; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
#D7AX - 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.