A place to cache linked articles (think custom and personal wayback machine)
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

4 роки тому
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. title: Overcoming my panic towards accessibility
  2. url: https://zellwk.com/blog/overcoming-panic-towards-accessibility/
  3. hash_url: 85e0f968f6ac8dfdd76c7a76df6ef088
  4. <p>Accessibility is a big part of JavaScript. If you build anything with JavaScript, you need to make them accessible.</p>
  5. <p>I’ve been afraid of touching accessibility for a few years now. This fear magnified when I began writing the accessibility lessons for <a href="https://learnjavascript.today">Learn JavaScript</a>.</p>
  6. <p>Today, I want to share with you why I became afraid of accessibility, and how I overcame this fear.</p>
  7. <h2 id="my-background">My background</h2>
  8. <p>I grew up in an environment where I felt I was constantly scrutinised for my actions. Whenever something goes wrong, it was always my fault; it doesn’t matter whether I actually did anything wrong.</p>
  9. <p>So I grew up being very sensitive towards whether things are “right” or “wrong”. I need to make things “right” in order not to get punished. I also grew up thinking that everyone out there is trying to harm me.</p>
  10. <p>It’s unhealthy, I know. I just realised this a few months ago.</p>
  11. <h2 id="why-i-was-scared-of-accessibility">Why I was scared of accessibility</h2>
  12. <p>I keep track of dev-related conversations on Twitter. I noticed a trend whenever I see anything about accessibility: Someone fucked up.</p>
  13. <p>There are two kinds of fuck-ups.</p>
  14. <h3 id="first-kind%3A-made-by-companies">First kind: Made by companies</h3>
  15. <p>The first kind is where big (and rich) companies refuse to build accessible websites. Developers all around Twitter-verse would talk negatively about these companies.</p>
  16. <p>When I see these conversations, I can’t help but wonder whether I fucked up somewhere. I can’t help but wonder if anyone was angry at me for creating something not accessible.</p>
  17. <p>Yes, the news is not about me. But I can’t help it. I was the kind of person where everything (that’s bad) will always be about me. Because everything is my fault. I grew up that way.</p>
  18. <p>(I’m admitting all my flaws right in this article. It’s so freaking hard to write).</p>
  19. <p>I became guarded against the “Accessibility” topic. I cannot afford to screw up on this topic (I told myself this unconsciously).</p>
  20. <h3 id="second-kind%3A-made-by-individuals">Second kind: Made by individuals</h3>
  21. <p>The second kind of fuck-ups is made by developers who make and share experiments (or discoveries). Accessibility critics will always be there to point out more accessible options. Sometimes, they’ll simply denounce the idea by saying the experiment is not accessible.</p>
  22. <p>I was defensive against such comments because I grew up thinking everyone was scrutinising me for my actions. Everyone was judging me. Everyone was everyone out to get me. I can’t help it.</p>
  23. <p>There was one incident where I created a calendar with CSS Grid. I shared how I made this through <a href="https://zellwk.com/blog/calendar-with-css-grid/" title="How to build a calendar with CSS Grid">an article</a>. I also tweeted about it.</p>
  24. <figure role="figure">
  25. <img src="https://zellwk.com/images/2020/overcoming-panic-towards-accessibility/calendar-fixed.png" alt="Calendar built with CSS Grid."/>
  26. </figure>
  27. <p>Guess what? The only people that jumped on this topic were the accessibility folks. They mentioned I should use a <code>&lt;table&gt;</code> element because it’s more semantically correct.</p>
  28. <figure role="figure">
  29. <img src="https://zellwk.com/images/2020/overcoming-panic-towards-accessibility/rik.png" alt="Rik says he would use table instead of CSS Grid."/>
  30. </figure>
  31. <figure role="figure">
  32. <img src="https://zellwk.com/images/2020/overcoming-panic-towards-accessibility/meduz.png" alt="Meduz says he would use table instead of CSS Grid."/>
  33. </figure>
  34. <p>These weren’t troll-type comments. They were valid replies.</p>
  35. <p>But when I saw these comments, I jumped and got angry. Why? Remember, I was at a point where I took things personally. I believed that everyone out there was trying to harm me. I grew up needing to be “correct”.</p>
  36. <p>These comments pointed out where I was “wrong”. When I was wrong, I get punished. This process was so ingrained in me that I punished myself (by beating myself up psychologically) even when nobody was around to punish me physically. It reinforced the idea that people are out there to get me.</p>
  37. <p>Here’s another incident. It was worse than the previous one.</p>
  38. <p>Back in April 2019, I published an article about <a href="https://zellwk.com/blog/hide-content-accessibly/">a new way to hide content accessibly</a>. This article challenged long-standing conventions in the accessibility field. I was excited about the idea because it was a major discovery for me.</p>
  39. <p>When I published the article, I got this email.</p>
  40. <figure role="figure">
  41. <img src="https://zellwk.com/images/2020/overcoming-panic-towards-accessibility/eric-1.png" alt="Email that asked if I tested this with a full range of assistive technology and browser pairings. If I didn't, then I'm being incredibly irresponsible."/>
  42. </figure>
  43. <p>I wasn’t trying to be irresponsible. I already mentioned explicitly (in the article) that my suggestion was new and not thoroughly tested in the article, but the email came anyway. Once again, this reaffirmed my views that people are out there are watching me and are trying to get me.</p>
  44. <p>I tried to calm down. I understood that accessibility people were immensely concerned about accessibility. So I gave an adult reply to his message. I even added the words “disclaimer” in bold and caps in my article to emphasise the instability of the new method.</p>
  45. <figure role="figure" aria-label="Adding a huge bold disclaimer to my article">
  46. <img src="https://zellwk.com/images/2020/overcoming-panic-towards-accessibility/disclaimer.png" alt=""/>
  47. <figcaption>Adding a huge bold disclaimer to my article</figcaption>
  48. </figure>
  49. <p>What happened next was a productive discussion on Twitter about the pros/cons of this new method. Some people were more aggressive (fuckers, I would call them in my mind). Others were more understanding.</p>
  50. <p>Overall, it was a great learning experience. Here, I realised that Scott O’Hara is probably the most understanding and nicest person in the accessibility field.</p>
  51. <p>I then wrote about my findings and updated the article after the discussion. And I sent another email out to tell my readers about my new findings.</p>
  52. <p>Everything above happened in a day.</p>
  53. <p>Then, I received this in my email. From the same guy.</p>
  54. <figure role="figure">
  55. <img src="https://zellwk.com/images/2020/overcoming-panic-towards-accessibility/eric-2.png" alt="Person stressed curt tone was justified. And if I break accessibility, I deny people of their civil rights."/>
  56. </figure>
  57. <p>I blew up.</p>
  58. <p>I raged at him for pushing my buttons (about being “wrong”, about being “irresponsible”). I raged at him for feeling justified about his crudeness by punishing me with words, and it was all my fault to begin with. (I realised much later that I was the one who punished myself. But the process was so ingrained I felt that dude punished me).</p>
  59. <p>I’m the one who’s wrong here. Yes, even though it’s not my fault. 😡.</p>
  60. <p>So once again, this reaffirmed my world-view that people are out to get me. This is especially prevalent when it comes to accessibility.</p>
  61. <p>I allowed myself to let out my frustrations by writing an article <a href="https://zellwk.com/blog/advocacy/">on Advocacy</a>. I thought I let it all out.</p>
  62. <p>But that wasn’t the end.</p>
  63. <p>Deep down, I wanted nothing to do with accessibility anymore. I don’t want to think about it. I don’t want to touch it. And I retreated.</p>
  64. <p>But I didn’t know I retreated. I didn’t know I would become afraid of touching accessibility.</p>
  65. <p>The damage was done. But I was unaware.</p>
  66. <h2 id="deciding-to-overcome-the-panic">Deciding to overcome the panic</h2>
  67. <p>I was the kind of person who retreated when challenged. It made absolute sense why I was afraid of accessibility if you consider my background and experiences.</p>
  68. <p>But I had a reason to overcome my panic towards accessibility. My reason? I was writing <a href="https://learnjavascript.today">Learn JavaScript</a>. JavaScript is a huge part of accessibility. If I teach people to build things with JavaScript, I need to teach them how to make it accessible for other users. It’s the right thing to do.</p>
  69. <p>So I had to step back out into the accessibility minefield.</p>
  70. <h2 id="overcoming-the-panic-towards-accessibility">Overcoming the panic towards accessibility</h2>
  71. <p>I worked through two things to overcome my panic.</p>
  72. <p><strong>First: I had to allow myself to understand why I panicked</strong>. I did this with the help of a life coach. This was how I discovered the whole background story you read above. (This was for general anxiety/panic related things. I panicked in many other parts of my life too).</p>
  73. <p><strong>Second: I had to understand accessibility</strong>. I ate my own medicine. <a href="https://zellwk.com/blog/figure-it-out/">I sat down and figured it out</a>. I got good enough to know the field.</p>
  74. <p>I spent one month doing these:</p>
  75. <ol>
  76. <li>Reading and understanding the spec</li>
  77. <li>Reorganizing content from the spec</li>
  78. <li>Setting up screen readers on both Mac and Windows</li>
  79. <li>Testing properties and attributes with Voiceover and NVDA</li>
  80. <li>Building accessible components</li>
  81. <li>Testing components with both Voiceover and NVDA</li>
  82. <li>Writing about accessibility</li>
  83. </ol>
  84. <p>In one month, I built 8 accessible components for <a href="https://learnjavascript.today">Learn JavaScript</a>. I also wrote 20+ lessons about accessibility. I figured out enough things to know the accessibility field.</p>
  85. <p>Am I still afraid of accessibility?</p>
  86. <p>Yes. I still get panic attacks when I think about accessibility. Heck, I even get panic attacks when I write CSS and JavaScript. I have not gotten to a point where I can manage all my panic reactions flawlessly.</p>
  87. <p>But I moved on. I’m at a better place compared to where I was a few months ago. I’m more confident. I became a better developer and a better teacher.</p>
  88. <h2 id="why-i%E2%80%99m-writing-this%3F">Why I’m writing this?</h2>
  89. <p>I felt like writing an extremely righteous message here (like saying it’s for you to break out of your panic attacks towards code).</p>
  90. <p>But if I’m honest. I would say I don’t really know.</p>
  91. <p>On one hand, I hope learning about my experiences would help you see yourself in a new light. That it’s okay to panic. And you can continue to learn and improve even if you’re panicking.</p>
  92. <p>I also hope you take the chance to work through any past traumas when you were a child (which led to the panic attacks).</p>
  93. <p>But ultimately, I think I’m telling this story so I can close this panic episode with integrity and honesty. I think I want to tell myself that it’s okay to be weak and imperfect. That it was okay for me to be defensive. That it was okay for me to be angry.</p>
  94. <p>And it’s okay to let the anger go now. Nobody out there is trying to harm me. Nobody out there is trying to force me to admit to mistakes I didn’t make. Nobody out there is trying to make me “wrong”.</p>
  95. <p>Even if I’m wrong, I don’t have to punish myself. It’s okay to make mistakes. I don’t have to stay vigilant against the world. I don’t have to protect myself from the entire world anymore.</p>
  96. <p>I can let go of my defensive barrier and receive the world with a pair of lenses that are less tinted compared to before. I don’t know if how long it would take for me to let this all go. But I’ve started to let go. And that’s a good thing.</p>