Trolleys, veils and prisoners: the case for accessibility from philosophical ethics

Video

Image of slide number 1

Thank you all for joining in at this early hour. And hello if you're watching this later!

Image of slide number 2

This is me, my name is Hidde. On this photo I am holding a bubble tea at a Taiwanese train station. Not that I particularly like bubble tea, but it is very warm there and this drink was very cold.

Image of slide number 3

This is my website, I've got a blog where I write about web standards, accessibility, that sort of thing. It's also my company website, I am a freelance web developer.

Image of slide number 4

These are the clients I am currently contracting for, Mozilla and the Dutch government. So some of this talk is from the perspective of someone who writes front-end code for clients.

Image of slide number 5

This talk isn't about my resume, but I thought I'd be appropriate to mention that I've actually got a degree in Philosophy. I studied my bachelor's in Utrecht in The Netherlands and did my masters at the University of Bristol in the UK.

This isn't something I mention normally, I mean, this isn't a degree I have much use for in my daily work. I did find both Philosophy and web development are hugely about abstractions.

Image of slide number 6

This is the School of Athens, a Renaissance painting of Raphael, this picture has lots of ancient Greek philosophers in it.

When I signed up for this, I had kind of erased memories of my studies in philosophy, and in ethics. Researching this talk I realised, yeah this is quite a lot to go through, way too much for a 40 minute talk. The history of ethics is huge. There are many dots to connect in moral philosophy. The plan is: I will only loosely do so, and freely apply these examples, focusing on some lessons we can try and use in our daily work. Some of this stuff is just based on things I learned working as a front-end developer in big and small organisations.

Image of slide number 7

Why do I do this? Well, I think many of us have encountered situations where we wanted to improve accessibility, but had to convince others with good arguments. A large part of why people make websites accessible is that it is the right thing to do. Philosophers have had theories about the right thing for thousands of years, so I thought it would be good to look into some of those ideas and try and apply them to the 2017 world of web accessibility.

Image of slide number 8

There are lots of arguments for accessibility out there.

Image of slide number 9

The first website out there was already super accessible, it was mostly structured text, which worked responsively, you could zoom in if you liked to, there was plenty of contrast and it was digestible for screen readers.

Image of slide number 10

I mean, wasn't it one of its inventors, Sir Tim Berners-Lee, who made this text appear at the London 2012 Opening Ceremony? This is for everyone.

Image of slide number 11

Another technical argument is that, as accessibility is mostly about semantics (or: meaning), focusing on it leaves you with a cleaner codebase. If you've written code that semantically makes sense, it will likely be easy to read, too.

Legal arguments: the law says we should do it. this is the case in Europe and America, your organisation can be sued if its website is not accessible. I'm not a legal expert at all, but yeah, there are legal arguments.

Business arguments: we can make more money if we include more people. Netflix includes audio descriptions, likely more people with visual impairments will sign up. Subtitles likely brings them more users with auditory impairments, but also people who like to watch stuff in languages they aren't fluent in. There are companies who make profit from being accessible, this case can be made.

Moral arguments: we will look some of those today.

Image of slide number 12

Ethics can be defined in lots of different ways. I'd say it is a field that looks at three things: how we should live, what we should do and how we want our world shaped. This has a place in our field.

Ethics isn't part of most computer science degrees, or design programmes, but our work clearly often shapes the world. The question of _how_ to shape the world seems super relevant. I may be biased.

Image of slide number 13

Example of website that shapes the world: Facebook. This website encourages certain behaviours.

If it's your friend's birthday, it prompts you to send them a message, many others have already written on this person's wall, it's the right thing!

In election time they urge you to vote.

Their algorithms influence what you read.

And then there's the company's alleged influence on various elections. Lots of moral dimensions to that, as well.

Image of slide number 14

Netflix influences what we do culturally, what kind of stuff we watch.

Its algorithms provide us suggestions based on what we watched before, this may include more things in the same bubble.

Image of slide number 15

AirBnB is a website that changes what we do: in many big cities people now buy houses with extra floors so that they can AirBnB. There are ethical questions to be asked.

Image of slide number 16

These are just random examples, in general I think there are many ethical questions to be asked about the web we create. The web influences how we live, what to do and how we want our world shaped. So I thought it would be fun to dive into the history of philosophical ethics and look at some thought experiments.

Although I'd argue this applies to our field, this doesn't _directly_ apply to our field or our daily work. And the examples as I use them, they don't necessarily make sense in academic philosophy. Also, I don't have access to academic papers, because almost all of those are, although they;'re on the web, behind an enormous pay wall. My professors may laugh at me for making some of the links I make. That's ok.

Image of slide number 17

For this talk, I've taken three different ethical stances in order to walk you through the history of ethics. With huge leaps.

These are all western white men, and they are western, please note there is fantastic eastern philosophy out there too. In the following, we'll look at the ideas of Aristotle, Immanuel Kant and Jeremy Bentham.

Image of slide number 18

This is Aristotle, a statue of him, rather.

You could think of Aristotle as the first to write a systematic book about ethics, as a distinct subject (distinct from things like natural science). His moral philosophy had at its goal to help people live a life full of happiness.

Image of slide number 19

So what's happiness then? Well, according to Aristotle, those who've reached a state of happiness are those who are virtuous, good of character.

So, doing the right thing, for him, isn't really about learning a fixed set of rules, it is about learning certain character traits.

Image of slide number 20

Some examples of the character traits that he said were important for being a good person: honesty, moderation, generosity, friendliness and courage.

Image of slide number 21

Those who have mastered the skills of the various virtues will live well, they'll be happy, according to Aristotle. That's what we're doing this for. But we don't get this by chance, we have to work very hard, to become virtuous. It's our responsibility to acquire the skills.

Image of slide number 22

Aristotle saw ethical virtues as being intermediate between two extremes, for example courage is between having fear (you're too afraid to do anything and end up doing nothing) on the one hand, and having way too much courage and doing dangerous things all the time on the other.

The mean is not necessarily right in the middle, it's not like 1 is too little, 10 is too much, so 5 is perfect. The skilled ethical person will be able to decide per situation whether to be at 2, 3, maybe 8.

Image of slide number 23

So as an Aristotle scholar wrote, finding the mean requires full and detailed acquaintance with the circumstances. You can't just follow some procedure.

Image of slide number 24

If there is one thing we can take from Aristotle's thinking, it is that doing it the right way depends. It's about dealing with circumstances, having a certain attitude.

Image of slide number 25

Accessibility advice can be quite theoretical at times. I.e. it is one thing to know that heading structures should not be skipped, but maybe you are implementing a CMS that has a WYSWIG editor that does allow skipping heading levels. Most do.

Now, i Aristotelean terms, it is about your skill, how you deal with the circumstances. Do you propose installing a different editor there, or do you spend some time on guidelines for the content people?

Image of slide number 26

Or maybe the advice is to use semantic markup and the codebase you've ended up in uses a plugin to generate forms and it generates terrible markup that is not accessible. That's bad, but the question is how you deal with it. If you've trained your virtues, you're probably going to work towards a solution… maybe hack into the plugin, research an alternative, use JavaScript to tweak things… 

Image of slide number 27

Vasilis tweets this every month: a monthly reminder that your visitors are not statistics but actual people. He links to the excellent… 

Image of slide number 28

…Alphabet of Accessibility Issues, which lists so many different cases of people who experience accessibility issues.

There's a lesson there: in the real world, there are lots of circumstances, lots of reasons people need your product to be more accessible.

Image of slide number 29

So maybe we should regard finding the mean accessible solution as a skill. As a skill that takes practice to learn. I mean, this is stretching what Aristotle meant with his virtue theory, but the idea of something that isn't a set of rules but rather skilfully applying our ideas of what's right.

Image of slide number 30

And then we get to the Enlightment. Kant is one of the best-known philosophers from that time. He was extremely influential in many fields of philosophy, and ethics is certainly one of them.

Image of slide number 31

Typical for Kant's ethics is that he regards people as rational. We (probably) all think. We have responsibilities, we can think things through. This was his way of coming up with a theory that works universally: we have all brains, so we are all able to think things through.

Unsurprisingly, in deciding whether something is the right thing to do, he focuses on the reasons why we do things.

Kant reckoned we have moral duties. The one he is most famous for is something he calls the categorical imperative.

Image of slide number 32

Let's break the two parts of that phrase down.

Categorical in this sense means something like universal, applying to all of us. Imperative means this is an obligation.

Image of slide number 33

This is one of his definitions of the categorial imperative:

> Act only acording to that maxim by which you can at the same time will that it should become a universal law

For many philosophy students, this is the first and last time they see the word ‘maxim’ used. It can be seen as ‘rule’.

So only do stuff according to rules that you'd want to apply to everyone. This is about sticking to principles. If your principle is ‘don't lie’, you should never lie, including when a lie might be beneficial to yourself or your friends.

Image of slide number 34

So this is the process. Make a rule, for example “I'll lie when it benefits me personally”. Then the second question, would not really work as it wouldn't make sense to implement a universal law that's just about you and your benefits.

If we make it about “Don't steal”, yea, that would work, it would make sense to have a rule that no-one can steal.

Image of slide number 35

The difference between morality and prudence is important for Kant, too.

In Kants ethics, acting out of self interest can't be moral, you should always act out of principles. If you're a baker and you don't add poison into your bread because you don't want to lose clients, that is a prudential motivation. It has no meaning on the scale of morality. A moral reason would be something like “Don't poison your clients”.

Applied to accessibility, for Kant, we would improve the accessibility of our sites because we think that's how sites should be, this is how the web was intended. If you would do it only because it makes your company more profit, Kant wouldn't classify that as moral.

Image of slide number 36

Most ethicists today will think of themselves as Kantian or utilitarian. So, making another huge jump in history, let’s look at what that means. This is Jeremy Bentham.

Utilitarianists decide what the right thing is by looking at outcomes, or the contribution of our actions on the world’s total happiness. The best way to act is the way that increases happiness the most.

Image of slide number 37

Jeremy Bentham came up with what he called the greatest happiness principle. According to it, actions are right if they promote happiness, wrong if they promote the reverse of happiness.

Image of slide number 38

So the question to ask is: does my action increase the world's total happiness? It's like regarding the world's happiness as a basket and thinking of your actions as potential things you could put in there.

Image of slide number 39

The question that many utilitarians disagree about is what an increase in happiness means. Is it your own happiness, your company's happiness? Well for us, it is probably user happiness.

Image of slide number 40

The lesson for web accessibility that we can learn here is: make changes that increase happiness, avoid those that don't.

Image of slide number 41

For example, Twitter used to have a thing where you could see how many characters you had left. They have replaced this the other day with a donut chart.

Did it increase total happiness? Well, let's see how people responded. (I apologise in advance to those who have worked on this, I mean, it was probably a lot of work to build).

Image of slide number 42

Alan Cooper said this is abysmally stupid and bad design, a triumph of style over substance.

Image of slide number 43

People seemed confused at best. Someone going by the name of Harvest Pixie Dream Witch said “what the heck is this gradually filling circle of tweet character doom”, to which numerous people responded that they didn't like.

I guess people don't like change in general.

Some were quick to respond and solve their issues with the thing.

Image of slide number 44

Someone made a Chrome Extension to make the donut go away, as one does.

Image of slide number 45

So, according to utilitarianism, actions are moral when they increase happiness, they are not if they don't.

Image of slide number 46

Maybe we can look at this as: does my action increase the website's total accessibility? And look at this in a super broad sense. In no website, accessibility is the only aspect we worry about. In this, you can replace accessibility with performance, usability, et cetera.

And thinking about it like this, we can avoid the pitfall of thinking about accessibility as an all or nothing equation.

Image of slide number 47

As the awesome Léonie Watson likes to emphasise in her talks: “it doesn't have to be perfect, it just has to be a little bit better than yesterday”. Small improvements are helpful, they can increase the total amount of accessibility in this world.

Image of slide number 48

Concluding: so that is a couple of examples of attitudes philosophers have had towards ethics, how to live and deciding how to live.

Aristotle thought of it as developing certain character traits and gaining skills as it where.

Kant thought of it as a necessary, universal thing. For him motive matters.

Bentham thought of morality in terms of how their consequences: how they contribute to the world's happiness.

Image of slide number 49

So having looked at some background, let us now look at some thought experiments.

Image of slide number 50

This is the example:

You are looking at a trolley and as it is moving along, you notice there are five people on the track, which the trolley would kill if moving ahead. You have the chance to divert the trolley by pulling a lever. The diverted track has one person on it, and if moving ahead, that one person would get killed. Do you divert the trolley?

If you do, you save five people, but in turn you do kill one person. It's almost spreadsheet-based philosophy: the idea here is that killing one person is better than killing five.

Image of slide number 51

There's a video of the American rock star philosopher Michael Sandel who asks his students this question: what would you do? At this Harvard event, the majority of people put there hand up and voted for choosing to kill the one person, only a handful would drive ahead.

It seems that helping as many people as possible fits our moral intuitions.

Image of slide number 52

There is a variation on this, where there is only one track. A trolley approaches five people, who are tied to the track. You are standing on a bridge over the railway and you can see what is going to happen. The trolley is going to drive over those five people, and they will likely die. Now there is a man on the bridge and you are able to push him in front of the trolley. That would cause it to stop and save five lives. What would you do?

And what if the person you're pushing was actually a doctor? Or a recruiter?

Image of slide number 53

There's also the libertarian variation, where there are two tracks, again, and you can pull a liver to divert the trolley, however now the trolley would drive onto a road that is in fact private property and has a sign ‘no trespassing’.

Image of slide number 54

These examples are all about making the right choices, it is about making the right decisions.

Image of slide number 55

For example, maybe one of your team members love subtle. They love to go to restaurants with subtle names, wear subtle clothes and have subtle art on their walls. When they design an interface, they also like to use subtle shades of grey on a black background. It looks beautiful.

However, there might be another person who cannot use the subtle interface, because they are working on a train, their computer is on battery power and the brightness is set to low to save energy. They require contrast.

thz

Image of slide number 56

The good news is, in web accessibility, you do not need to kill either of these people.

But as you will likely only build one interface, you will need to choose between having lots of contrast or going for subtle.

Image of slide number 57

In this screenshot you can see a link that has focus. If you don't like the way this looks, you can choose between two solutions.

Image of slide number 58

You can set focus styles to outline: none in CSS. This removes the outline all together. But this makes the site unusable to some of your users. Or you can design a prettier focus indicator.

Image of slide number 59

As a web team working on digital interface, this is a lever you can pull! You can choose to make inclusive decisions. Consider how you can make your product usable for as many people as possible.

Image of slide number 60

Here's the second example, John Rawls' Veil of Ignorance, also known as the Original Position.

Image of slide number 61

Imagine a group of people is asked to come up with the fairest way to organise society, they can distribute wealth and justice in any way they would like. However, they are under a ‘veil’ and have no idea what their position in live would be. Rawls calls this the “original position”. They wouldn't know if they would live as a CEO of a multinational, as a care worker, or as the King.

Image of slide number 62

So this is the idea. “Amongst the essential features of this situation is that no one knows his place in society, his class position or social status, nor does any one know his fortune in the distribution of natural assets and abilities, his intelligence, strength and the like.”

This thought experiment assumes we are all rational human beings, and act in our own interest. The idea of the experiment is that if you don't know your specific situation in society, which he called “the original position”, you will make all accommodations to have an equal world.

You can't take your privilege, or lack thereof, into account, as you don't know about it just yet. It's got to be fair, even if you decide from self-interest. If you come up with a system that favours one sex, that would be against your interests if you end up being a member of the least favoured sex.

According to Rawls, if people take the Original Position, two principles will influence their decisions.

Image of slide number 63

The principle of equal liberty is that all of us should get as many liberties as possible, as long as everyone gets the same amount of them (as long as they are equally distributed).

Image of slide number 64

If there is any inequality, this can be just, as long as it causes the least advantaged person to still be better off than without the inequality.

Image of slide number 65

This case is about taking away any advantages (or disadvantages) we have from our reasoning about how we should do things. When thinking about our digital projects, we should think from the original position. To put it bluntly: leave our privilege at home.

Image of slide number 66

Think beyond your own retina screen, beyond where you were born and beyond your own fast office WiFi. If you suffer from no colour blindness, leave that fact out of any arguments about colour choices.

Image of slide number 67

This example isn't really from philosophical ethics, it is from game theory, which has its origins in computer science, mathematics and economics. Let's look at it anyway.

Image of slide number 68

Two members of the same gang are taken to prison, and they have been locked separately, with no means to contact each other. They are in separate cells.

The prosecutor's don't have too much evidence against them, but enough to put them away for 1 year each. However, they decide to offer them a one year reduction, if they betray their friend. The friend would then get 3 years in prison, and they would walk out free. If they both take up on the offer, they would both get 2 years.

Image of slide number 69

The matrix looks something like this. Betraying gives more reward than staying silent, unless they both betray, in which case they would both be worse off.

Image of slide number 70

So you could say this problem is about conflicting interests that are leveraged unexpectedly.

We have lots of interests in our projects, don't we? I have gathered a couple of conversations that I have seen in my work. They might be familiar.

Image of slide number 71

In a project I worked on, the front-end dev said “Let's keep the focus indicator in place”. The designer argued against this, it wouldn't look good on their portfolio.

Image of slide number 72

There've been SEO experts dictating header structures that I wouldn't approve of as an accessibility nerd.

Image of slide number 73

Maybe management will say they are not convinced to let the team spend extra time on making accessibility improvements, as that costs money they would rather send on tv advertising.

Image of slide number 74

Interests and knowing about them can also work in our advantage. Sometimes lining up interests can be a method to achieve web accessibility. It isn't my favourite way to argue for accessibility, but… with the new Europe-wide accessibility legislation, governments and others have to follow WCAG2.

Making it accessible costs exponentially more when done in retrospective, it is cheaper to bake it in from the start.

Image of slide number 75

A good way to line up interests is to make a business case. This sounds boring…

Image of slide number 76

But it is not, as is proven by Alice Bartlett's fantastic talk about this at Fronteers 2015.

It's good for us people who make websites to learn and speak the language of people who pay for them. Also if we want to argue for accessibility.

Image of slide number 77

So to go back to the prisoner's dilemma… in the real world, you can often see the other person. They aren't locked somewhere, you can go and talk to them. Or at least figure out about their motives and their interests.

I've found this is a great way to get accessibility done in the places where I work. There are always overlapping interests, and they can be used to promote accessibility.

Image of slide number 78

Ok, those are the three thought experiments I've wanted to share with you today.

Image of slide number 79

So, in conclusion, when stretching the examples all the way from their original meaning towards a plan for more accesibility, these are my three takeways.

Make good choices, choose the inclusive thing. Divert the trolley into the inclusive direction and you don't even have to kill anyone!

Think beyond your own privilege. This can be quite hard. The other day I was building a sticky sidebar and while it was in progress I had hooked it onto the scroll event, for those of you who are also developers, that is terrible for performance. But I have a fast computer and it worked fine on that

Line up interests! Figure out what the interests are of the people who are blocking you from making accessible products, if there are any.

Image of slide number 80
Image of slide number 81

The book Justice by American rock star philosopher Michael Sandel is quite an accessible introduction in questions around what the right thing to do is. There is also a video course with the same name.

Image of slide number 82

Ethics: The Essential Writings has a number of original texts, each introduced by Gordon Marino.

Image of slide number 83

Made with Keynote Extractor.