diff --git a/README.md b/README.md index 617137c..4f5698d 100644 --- a/README.md +++ b/README.md @@ -1,62 +1,66 @@ -# Web accessibility +Web Accessibility. +------------------ -Web accessibility module provides a quick and easy way for checking your content -accessibility issues across different services. By default, the module provides -the following services: +INTRODUCTION +------------ -- [W3 Link Checker](https://validator.w3.org/checklink) -- [W3 Markup Validation Service](https://validator.w3.org/check) -- [WAVE (Web Accessbility Evaluation Tool](http://wave.webaim.org) +Web accessibility module provides a quick and easy way for checking your +content accessibility issues across different services. By default, +the module provides the following services. -You can add your own extra services easily in the Drupal module configuration -path: +- [W3 Link Checker](https://validator.w3.org/checklink). +- [W3 Markup Validation Service](https://validator.w3.org/check). +- [WAVE (Web Accessbility Evaluation Tool](http://wave.webaim.org. -http://[your_drupal_path]/admin/config/system/web_accessibility +REQUIREMENTS +------------ +This module requires the following modules: -## Installation +* Views (https://drupal.org/project/coder) -First, make sure Composer is installed correctly: +INSTALLATION +------------ +Before installing this module, Please make sure the Composer is updated +properly. Especially coder module. - which composer +1) composer global require drupal/coder. +2) To enable the module via drush use the below comment. -If you get composer not found or similar, follow Composer's installation -instructions. + drush en web_accessibility. -Install Web accessibility module (8.x-1.x) in your project directory: +CONFIGURATION +------------- +You can add your own extra services in the following path: - composer global require drupal/coder - -Enable the module. - - drush en web_accessibility - -Clear the cache. - - drush cr - -## Usage +1) Goto /admin/config/system/web_accessibility. +2) Configure your extra services. +3) Don't forget to clear the cache. +USAGE +----- You should be able to find a new tab section (Web Accessibility Services) in your node edit page. This section includes links to the accessibility services to validate your content. Note that the content must be public. -## Contributing +CONTRIBUTING +------------ 1. Make sure an issue exists at -https://www.drupal.org/project/issues/web_accessibility +https://www.drupal.org/project/issues/web_accessibility. 2. Submit a patch. -3. Set the issue to "needs review" +3. Set the issue to "needs review". Thank you! +MAINTAINERS +----------- -## Maintainers -Christoph Breidert, https://www.drupal.org/u/breidert -Maksym Tsypliakov, https://www.drupal.org/u/cmd87 -Ruben Teijeiro, https://www.drupal.org/u/rteijeiro - +Christoph Breidert, https://www.drupal.org/u/breidert. +Maksym Tsypliakov, https://www.drupal.org/u/cmd87. +Ruben Teijeiro, https://www.drupal.org/u/rteijeiro. -## Credits +CREDITS +------- -[1xINTERNET](https://www.1xinternet.de) is the supporting organisation and -contributed to the development of of the module. +[1xINTERNET](https://www.1xinternet.de) is the supporting organization and +contributed to the development of the module. diff --git a/web_accessibility.module b/web_accessibility.module index 0173b49..0c0b058 100644 --- a/web_accessibility.module +++ b/web_accessibility.module @@ -27,7 +27,7 @@ function web_accessibility_form_node_form_alter(&$form, FormStateInterface $form ]; $form['web_accessibility_settings']['content'] = [ - '#markup' => '', + '#markup' => '', ]; $alias = \Drupal::service('path.alias_manager')->getAliasByPath('/node/' . $node->id());