package with the intention of automating accessibility tests for web development
Project description
Project
Introduction
In the contemporary world, internet access has become a necessity for human beings. It is totally common for people to access news sites, social networks at any time of the day, whether to learn about the latest pronouncements of national or international politics, or to get in touch with that loved one who is far away. The fact is that the internet in addition to providing moments of fun and leisure, it is also a crucial tool for accessing information. Although it seems a trivial thing to do for people without disabilities, this simple act of seeking information can become a real complication if the person has a disability, whether physical or mental.
Thus, this project aims to assist in a minimal part of the development of software products, focusing on the web part that uses Hypertext Markup Language (HTML), so that it is possible to carry out tests, in a development environment to ensure that a minimum quantity accessibility is achieved by this product.
Objective
Create a tool capable of carrying out accessibility tests, simple, on pages with the HTML language, that is integrated into the DevOps pipeline.
Technology
The package was created using the python programming language on version 3 or higher
Dependencies
The package dependencies that will be installed automatically are:
- beautifulsoup4 ~= 4.9;
- py-w3c ~= 0.3
Installation
There are two ways to install and use the package, the first being installing directly from the pip repository using the command: pip install -i https://test.pypi.org/simple/ automated-accessibility-testing==1.0.0
The second form of installation would be from this repository needing to perform the clone and install locally from this command: git clone https://github.com/TCC2-Romeu/automated_accessibility_testing.git
Use
To use the package you can call the check_accessibility function and pass the html as a string, this way the package will perform all tests of the package in terms of accessibility in addition to a static validation of the html according to w3c, in case the user does not want to run some of the functions it can pass a list to the check_accessibility method where the listed functions will be ignored. At the end the user will receive a list of objects with the errors pointed out
License
The project license is: GPL3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file automated_accessibility_testing-1.0.1.tar.gz
.
File metadata
- Download URL: automated_accessibility_testing-1.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca0055143301f31b621faf7166e7b27883694123e3ffe90568c0fd5b1bde5b3f |
|
MD5 | f8170c39e911de0ee0c793fa5e44d4fe |
|
BLAKE2b-256 | 3a0de810160ff900d1f6658cd31516eb85adacedaf79e0b234d498e8d6b9c57e |
File details
Details for the file automated_accessibility_testing-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: automated_accessibility_testing-1.0.1-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f48c5869738873df69d7cb04f7e40db6a8ff9f036066cab7828070bac385325 |
|
MD5 | f0f0656887ff8383bed78d46f0eec357 |
|
BLAKE2b-256 | e70b8ccf490f9be719948f29e69eccff7a48e1cb4dfa4c874b6d2391426facd1 |