I write monthly newsletters to all editors at TU Wien, inform them about important notions including information about web accessibility and I wrote a manual on what to do to make the websites accessible. I try to stay in contact with the editors and figure out why they don’t do what they are required to do by law.
By that, I was able to figure out what some problems are. Many did not know how to begin, because when your division has a large amount of sites, this is a gigantic task. Others did not even know what accessibility in web means or they did not understand the descriptions in my manual. To solve these problems I tried to adapt the descriptions and expand the available knowledge base and provided them with help.
Another problem is that many editors simply do not have the time in their day to day work to edit their whole website. In these cases, I cannot come up with a solution, because that has to be made by their supervisors or even higher management.
The last and sadly most common problem is that many people just ignore the mails or facts like the existing laws and they do not reply or communicate in any other way. My solution for that is that my supervisor will talk to the Vice Rector Digitalisation and Infrastructure and he will send an email with work instructions to the concerned editors.
Use automated UI Test, which is possible with the Selenium library and a browser driver. The browser driver allows us to run actions in a browser while writing code. The Selenium library is an interface to connect many browsers with the same code base. So now we are able to code a simple test, where a robot is automatically clicking through the website and trying out the login functionality. This technique may also apply to test other important and high priority UI features.
Browsersync is an automation tool that can watch files for changes and inject them into a web page without reload.
Usage:
npm install -g browser-sync
browser-sync start --proxy "myproject.dev" --files "css/*.css"
Browsersync will create a proxy that will wrap your vhost myproject.dev with a proxy URL.
It can also be used with gulp:
var browserSyncWatchFiles = [
'./style.css',
'./js/*.min.js',
'./*.php'
];
var browserSync = require('browser-sync').create();
var browserSyncOptions = {
proxy: "myproject.dev",
notify: false
};
gulp.task('browser-sync', function () {
browserSync.init(browserSyncWatchFiles, browserSyncOptions);
});
This can be done by performing several steps:
1. Install Docker on local and remote machine
2. Create Dockerfile on local machine and set all enviroment dependencies/variables (and add website to resources)
3. Build Docker image from Dockerfile and run docker container from that image
4. Test website
Than transfer Dockerfile from local machine to remote machine and repeat steps 3. and 4.