function accessibility_help

cis7 accessibility.module accessibility_help($path, $arg)
cle7 accessibility.module accessibility_help($path, $arg)
elmsmedia7 accessibility.module accessibility_help($path, $arg)
icor7 accessibility.module accessibility_help($path, $arg)
meedjum_blog7 accessibility.module accessibility_help($path, $arg)
mooc7 accessibility.module accessibility_help($path, $arg)

Implements hook_help().

File

sites/all/modules/ulmus/accessibility/accessibility.module, line 11

Code

function accessibility_help($path, $arg) {
  switch ($path) {
    case 'admin/config/accessibility':
      return '<p>' . t('The accessibility module enables tests for content, themes, and modules. You can <a target="_blank" href="https://drupal.org/node/2056945">read more defailed documentation on Drupal.org</a>.') . '</p>';
    case 'admin/config/accessibility/tests':
      return '<p>' . t('This is a list of your existing accessibility tests. To create new accessibiilty tests, <a href="!link">visit the Import Tests</a> page. <a href="https://drupal.org/node/2056945#tests" target="_blank">Learn more about accessibility tests</a>.', array('!link' => url('admin/config/accessibility/tests/import'))) . '</p>';
    case 'admin/config/accessibility/tests/import':
      return '<p>' . t('Accessibility tests check for a single error in your site. You can import tests by selecting them, or click a guideline below to enable all tests associated with that guideline.') . '</p>';
    case 'admin/help#accessibility':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Accessibility module allows you to check content, themes, or modules against pre-defined accessibility tests. For example, enabling a test looking for images missing an "alt" attribute would help give content authors feedback on how to ensure people using assistive technologies (i.e. blind users using a screen reader) can use the site. You can add and edit tests under the <a href="!link">Accessibility administration page</a>. For more infromation, see the online handbook entry for the <a href="https://drupal.org/node/2056945">Accessibility module</a>.', array('!link' => url('admin/config/accessibility'))) . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<dl>';
      $output .= '<dt>' . t('Giving feedback to content authors') . '</dt>';
      $output .= '<dd>' . t('To help content authors create accessible content, enable the Content Accessibility module. This will place a toggle on every page for users with the "Check content for accessibility" permission when viewing fields that have had testing enabled.') . '</dd>';
      $output .= '<dt>' . t('Checking content in WYSIWYG editors') . '</dt>';
      $output .= '<dd>' . t('Enabling the Accessibility WYSIWYG module, in combination with either the WYSIWYG or CKEditor modules, will place a checkbox in the toolbar of any TinyMCE or CKEditor (version 3 or 4) for users to check content against your enabled accessibility tests.') . '</dd>';
      $output .= '<dt>' . t('Report on accessibility errors') . '</dt>';
      $output .= '<dd>' . t('The Accessibility Reporting module checks content for accessibility errors in a user\'s browser and posts back to the site any errors. This data is stored in your drupal site, and is available as additional fields for the Views module. While this module installs a default view, you can clone that view to start buidlding your own accessibility reports.') . '</dd>';
      $output .= '<dt>' . t('Checking themes for accessibility') . '</dt>';
      $output .= '<dd>' . t('Enabling the Theme Accessibility module will give users with the "Access accessibility theming" permission a toggle to turn testing on for the entire page, not just parts of the page that are just content like the Content Accessibility module. This can lead to more false-positives, but helps users when building custom themes to ensure they are as accessible as possible. This module should not be enabled for production websites, as it alters the normal way a page is rendered.') . '</dd>';
      $output .= '</dl>';
      return $output;
  }
}