I realized I did not actually know the language. I decided to go and write a set of books, not from my preexisting knowledge of the language, but from what I was going to go learn over the next several years. So all I did was just start asking a whole bunch of questions about JavaScript, and then I wrote it down. By the way, some other code in that survey that I did for my Kickstarter backers. I had these placeholders, not really placeholders but I had all these alerts for all the different error messages and things like that, and just before I sent it out, I had a bit of that imposter syndrome kick up and I was like, oh, man, I'm going to send it out to all these backers that have bought my books thinking that I know something about JavaScript and then they're going to see that I'm using the alert keyword and they're going to make fun of me. The final area that I want to talk to you about being an imposter in, by a show of hands, how many of you believe you know what this logo stands for? This is the international logo for accessibility. And yeah, I'm going to talk about accessibility and yeah, this is going to get a little bit uncomfortable for a few minutes, okay. I did not save accessibility to the end of my talk because it's the least important. I saved it to the end of my talk because it's the most important. It's the most important thing I have to say to you. I was having a conversation with this fantastic developer named Andreas Lopez. I reached out to him because I found out that he was an expert specifically in accessibility and game design and I was doing some research for this talk and so I had a conversation with him. This was on a Zoom call and right off the bat, the very first thing that Andreas said to me was, do you know, Kyle, that both of us have a disability? And I was like, what is he talking about? And he pulled off his glasses and he said both of us have a visual challenge that we are privileged enough to have an accessibility tool that we can wear on our face to make up for that disability, that ability challenge. And that just totally blew my mind. I had never thought about this topic that way. And maybe some of you are in this same boat, because accessibility so often is thought about as an us versus them. There's all of us who are normal and then there's them over there who are somehow not normal because they are disabled. And I'm here to tell you today, disability challenges affect all of us. Every single person in this room at one time or another has had an ability challenge that were either more or less successful at figuring out how to overcome. Every one of us. There is no such thing as those people are not our customers. That is total bullshit. Everyone in the world if we choose to build for the web has some kind of ability challenge. Some are permanent and some are temporary. But the fact that we choose to other them, we put them in this other bucket that's less And more importantly, we allow stakeholders to do that. The truth is that we have a responsibility if we build for the web to build for everyone. Some of you may know about WCAG, others may not. This is a blog post that talks about the WCAG principles. The accessibility guidelines. Sets forth not only like good suggestions but in some cases these are like legal requirements depending on your jurisdiction.
I realized I did not actually know the language. I was having a conversation with a friend of mine who knew a little bit more about JavaScript, and I said something totally wrong, and he like made fun of me for like an hour at how bad I was at this thing, because I had mistaken it was something to do with a prototype chain. And I realized, I don't know JavaScript. I've been slinging this around and had been paid to be an expert in it for ten years, and I didn't know it. And I got told on a job interview, you don't know enough JavaScript.
So I decided to go and write a set of books, not from my preexisting knowledge of the language, but from what I was going to go learn over the next several years. So all I did was just start asking a whole bunch of questions about JavaScript, and then I wrote it down. And that's what I mean by being an impostor. Don't wait until you've already attained all the title and all the accolades of being an expert. It's enough to just put those ideas out there and try to refine them in front of everyone else. The more public you are, the better all of us will be as we all learn together.
So here's some JavaScript that I'm proud not proud of. This is from the Dwerdly game. You'll notice that I'm using, like, regular function declarations here. I'm using the dreaded var keyword and a basic for loop. There's no TypeScript here, because I don't even know how to write TypeScript. So this is JavaScript that gets the job done, but it's not something that most of you would, like, show off to other people and say I'm proud of, and yet I'm here to tell you I'm proud of the fact that this was enough code to get a game working. I didn't wait around until I had learned all these newfangled things.
By the way, some other code in that survey that I did for my Kickstarter backers. I had these placeholders, not really placeholders but I had all these alerts for all the different error messages and things like that, and just before I sent it out, I had a bit of that imposter syndrome kick up and I was like, oh, man, I'm going to send it out to all these backers that have bought my books thinking that I know something about JavaScript and then they're going to see that I'm using the alert keyword and they're going to make fun of me. So I quickly went and googled and I found this little library called suite alert and I dropped in the replacements for suite alert and I literally left the alerts like commented in the code but I dropped in the replacement with suite alert and said, okay, well, that's probably going to be good enough. And then I realized maybe I shouldn't have been doubting myself with the alert keyword because if it's good enough for the developers on Google Calendar, where they actually use the alert keyword on Google Calendar, maybe I should have been proud to stick with the alert keyword.
The final area that I want to talk to you about being an imposter in, by a show of hands, you don't have to yell this out, but by a show of hands, how many of you believe you know what this logo stands for? Ouch. I got like twelve hands that I can see here from the stage. It's kind of bright, so maybe there are more than that. This is the international logo for accessibility. And yeah, I'm going to talk about accessibility and yeah, this is going to get a little bit uncomfortable for a few minutes, okay. I did not save accessibility to the end of my talk because it's the least important. I saved it to the end of my talk because it's the most important. It's the most important thing I have to say to you.
I was having a conversation with this fantastic developer named Andreas Lopez. I reached out to him because I found out that he was an expert specifically in accessibility and game design and I was doing some research for this talk and so I had a conversation with him. This was on a Zoom call and right off the bat, the very first thing that Andreas said to me was, do you know, Kyle, that both of us have a disability? And I was like, what is he talking about? And he pulled off his glasses and he said both of us have a visual challenge that we are privileged enough to have an accessibility tool that we can wear on our face to make up for that disability, that ability challenge. And that just totally blew my mind. I had never thought about this topic that way. And maybe some of you are in this same boat, because accessibility so often is thought about as an us versus them. There's all of us who are normal and then there's them over there who are somehow not normal because they are disabled. And I'm here to tell you today, disability challenges affect all of us. Every single person in this room at one time or another has had an ability challenge that were either more or less successful at figuring out how to overcome. Every one of us. There is no such thing as those people are not our customers. That is total bullshit. Everyone in the world if we choose to build for the web has some kind of ability challenge. Some are permanent and some are temporary. But the fact that we choose to other them, we put them in this other bucket that's less And more importantly, we allow stakeholders to do that. The truth is that we have a responsibility if we build for the web to build for everyone. Some of you may know about WCAG, others may not. This is a blog post that talks about the WCAG principles. The accessibility guidelines. Sets forth not only like good suggestions but in some cases these are like legal requirements depending on your jurisdiction.
Comments