<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/rss/styles.xsl" type="text/xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Posts by Ashlee M Boyer</title><description>You can find me talking about issues surrounding Disability, Accessibility, and Mental Health online.</description><link>https://ashleemboyer.com</link><lastBuildDate>Mon Apr 27 2026 18:57:40 GMT+0000 (Coordinated Universal Time)</lastBuildDate><language>en</language><copyright>All rights reserved 2024, Ashlee M Boyer</copyright><item><title>Help Me Launch The Accessibility Pond</title><link>https://ashleemboyer.com/blog/help-me-launch-the-accessibility-pond</link><guid isPermaLink="true">https://ashleemboyer.com/blog/help-me-launch-the-accessibility-pond</guid><description>More than a newsletter. Find community, support, resources, and co-conspirators.</description><pubDate>Mon, 20 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;https://semanticfish.com/the-a11y-pond&quot;&gt;&lt;em&gt;Note: This post was originally published on SemanticFish.com.&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Background&lt;/h2&gt;
&lt;p&gt;I started my business in 2023 because traditional employment has limited me too much in terms of how much broad impact I can make on accessibility.&lt;/p&gt;
&lt;p&gt;The most rewarding part of my work is witnessing &lt;em&gt;&quot;Aha!&quot;&lt;/em&gt; moments. It doesn&apos;t matter if it&apos;s in design, engineering, product, marketing, docs, or what have you. It is such an honor and privilege to accompany people on their accessibility journeys.&lt;/p&gt;
&lt;p&gt;I want to witness more of these moments in 2025. It&apos;s very hard to predict how the accessibility landscape might change, especially in the United States where &lt;a href=&quot;https://www.lflegal.com/2024/07/project-2025&quot;&gt;Project 2025 poses a major threat to disabled people&lt;/a&gt; among many other intersections of people.&lt;/p&gt;
&lt;p&gt;Some organizations are &lt;a href=&quot;https://ashleemboyer.com/blog/college-web-a11y-finally&quot;&gt;waiting to comply with new accessibility rules&lt;/a&gt; and others would rather &lt;a href=&quot;https://ashleemboyer.com/blog/how-to-dehumanize-accessibility-with-ai&quot;&gt;cut corners with AI accessibility tools&lt;/a&gt; than hire the experts they need.&lt;/p&gt;
&lt;p&gt;I anticipate a sad decline in institutional support for accessibility initiatives this year. &lt;a href=&quot;https://bsky.app/profile/ashleemboyer.com/post/3lfi6qwpdck2z&quot;&gt;Several major US businesses have already announced rolling back DEI policies&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Many individual contributors will have to include accessibility in their work where they&apos;re able to find time, space, and energy. It&apos;s a really tough spot to be in. It&apos;s easy to feel isolated and discouraged. I&apos;ve been there many, many times!&lt;/p&gt;
&lt;p&gt;I have &lt;em&gt;a lot&lt;/em&gt; of experience in advocacy at work as a disabled employee, engineering individual contributor, and two-time employee resource group founder. I want to share the wisdom I&apos;ve gathered over the years and build a space where others can share theirs too.&lt;/p&gt;
&lt;p&gt;Community will be so important to make it through the year.&lt;/p&gt;
&lt;p&gt;That&apos;s what I want &lt;a href=&quot;https://semanticfish.com/the-a11y-pond&quot;&gt;&lt;em&gt;The Accessibility Pond&lt;/em&gt;&lt;/a&gt; to be. Not just a newsletter for me to send you a bunch of words, but a place where we can gather for mutual support, exchange resources and ideas, and have conversations.&lt;/p&gt;
&lt;h2&gt;The Current Plan&lt;/h2&gt;
&lt;p&gt;I&apos;ve been dreaming about this project since &lt;strong&gt;November of 2023&lt;/strong&gt;. It will have a tiered membership structure with free, low-cost, pay-what-you-want (PWYW), and gifting options. Here&apos;s how I picture the tiers so far:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Free Tier&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;All newsletter issues with updates, links, &amp;amp; a11y exercises&lt;/li&gt;
&lt;li&gt;Access recordings &amp;amp; transcripts of monthly AMA sessions&lt;/li&gt;
&lt;li&gt;Read all posts &amp;amp; comments made in the community&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Low-Cost Tier&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Everything in the Free Tier, plus...&lt;/li&gt;
&lt;li&gt;Make &amp;amp; comment on posts in the community&lt;/li&gt;
&lt;li&gt;Live access to the monthly AMA sessions&lt;/li&gt;
&lt;li&gt;Suggest &amp;amp; vote on AMA &amp;amp; newsletter topics&lt;/li&gt;
&lt;li&gt;Early access to new content, events, &amp;amp; more&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PWYW Tier&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Everything in the Free &amp;amp; Low-Cost Tiers, plus...&lt;/li&gt;
&lt;li&gt;Discount codes so your friends can come visit&lt;/li&gt;
&lt;li&gt;Your name on a stone in the pond&apos;s garden&lt;/li&gt;
&lt;li&gt;Eventually... gifts hand knit by me! (A limited quantity)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Help Me Make It Happen&lt;/h2&gt;
&lt;p&gt;I&apos;d love to host &lt;a href=&quot;https://semanticfish.com/the-a11y-pond&quot;&gt;&lt;em&gt;The Accessibility Pond&lt;/em&gt;&lt;/a&gt; on an existing membership platform, but the main ones aren&apos;t accessible and/or don&apos;t enable me to make content accessible (like images).&lt;/p&gt;
&lt;p&gt;Good thing I have the server, infrastructure, &amp;amp; skills to build! 😁&lt;/p&gt;
&lt;p&gt;I can build what&apos;s needed in just a couple of weeks, but I don&apos;t have the funds to choose this over finding and completing client work. &lt;strong&gt;This is why I&apos;m asking for help.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I won&apos;t start selling monthly subscriptions until the site is actually ready for people to sign in and start reading &amp;amp; posting. My family&apos;s monthly expenses for rent, utilities, etc. are about &lt;strong&gt;$3,000 USD&lt;/strong&gt;. That&apos;s the minimum I need to raise to build and open up &lt;a href=&quot;https://semanticfish.com/the-a11y-pond&quot;&gt;&lt;em&gt;The Accessibility Pond&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Ways you can help?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Donate to my tip jar (&lt;a href=&quot;https://ashleemboyer.com/tip-jar&quot;&gt;Stripe-hosted page&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Ask your friends to donate to my tip jar&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://semanticfish.com&quot;&gt;Hire me for accessibility or software projects&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Ask your friends &amp;amp; colleagues to hire me&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://buttondown.com/the-accessibility-pond&quot;&gt;Sign up for the newsletter &amp;amp; updates&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Share this with folks you think&apos;ll be interested&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>a11y</category><category>community</category></item><item><title>Disability Is Not a Single-Selection Field</title><link>https://ashleemboyer.com/blog/disability-is-not-a-single-selection-field</link><guid isPermaLink="true">https://ashleemboyer.com/blog/disability-is-not-a-single-selection-field</guid><description>Please just give me checkboxes.</description><pubDate>Thu, 16 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Every once in a while, in a job application or other online form, I run into a question about disability. This post was inspired by one I encountered today (January 16, 2025).&lt;/p&gt;
&lt;p&gt;These questions are usually for self-disclosure about the type or category of disability. The problem I often notice with these questions is that they&apos;re single-selection fields (i.e. a group of radio buttons) instead of multiple-selection fields (i.e. a group of checkboxes).&lt;/p&gt;
&lt;p&gt;There &lt;em&gt;might&lt;/em&gt; be a couple of reasons to limit the number of disabilities a person can select from lists like this. It&apos;s a jarring thing to experience as a multiply disabled person. I have hearing, vision, cognitive, and mobility disabilities. Which disability option do I choose?? In many of these lists, more than half of the options apply to me.&lt;/p&gt;
&lt;p&gt;It&apos;s truly this simple: &lt;strong&gt;A lot of disabled people have multiple disabilities.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Stop making these fields single-select radio button groups when they need to be a group of checkboxes. When creating a form with disability questions, ask yourself the following for each question: &lt;em&gt;&quot;Can someone select more than one of these answers?&quot;&lt;/em&gt; And it’s always good to double-check your answer with &lt;em&gt;&quot;Why?&quot;&lt;/em&gt; or &lt;em&gt;&quot;Why not?&quot;&lt;/em&gt;&lt;/p&gt;
</content:encoded><category>a11y</category><category>disability</category><category>forms</category><category>user-experience</category></item><item><title>Should accordions auto-close sections?</title><link>https://ashleemboyer.com/blog/should-accordions-auto-close-sections</link><guid isPermaLink="true">https://ashleemboyer.com/blog/should-accordions-auto-close-sections</guid><description>Only if you want them to be harder to use.</description><pubDate>Fri, 10 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;The short answer&lt;/h2&gt;
&lt;p&gt;No.&lt;/p&gt;
&lt;h2&gt;The long answer&lt;/h2&gt;
&lt;p&gt;No, accordions should not auto-close sections.&lt;/p&gt;
&lt;h2&gt;Why not???&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Prevents people from being able to compare sections&lt;/li&gt;
&lt;li&gt;Relies too heavily on memory to &quot;compare&quot; sections&lt;/li&gt;
&lt;li&gt;Requires people to expend more energy to re-open sections&lt;/li&gt;
&lt;li&gt;Moving information around distracts and disorients people&lt;/li&gt;
&lt;li&gt;Shifting content makes people physically ill&lt;/li&gt;
&lt;li&gt;Likely that people can&apos;t easily use find-in-page&lt;/li&gt;
&lt;li&gt;Probably prevents screen reader navigation (e.g. by headings)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;The real question&lt;/h2&gt;
&lt;p&gt;Why do you feel compelled to restrict what information someone sees in your web content? Or to control the height of that content? It&apos;s not possible to control the height of content without disrespecting user settings, failing accessibility standards, or breaking responsiveness.&lt;/p&gt;
&lt;p&gt;&amp;lt;aside style=&quot;max-width:600px;padding:20px;padding-bottom:24px;background-color:var(--blue-900);margin-inline:1em;border-radius:6px;&quot;&amp;gt;&amp;lt;strong&amp;gt;Related article:&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;a href=&quot;/blog/don-t-use-fixed-css-height-or-width-on-text-containers&quot;&amp;gt;Don&apos;t Use Fixed CSS height or width on Buttons, Links, or Any Other Text Containers&amp;lt;/a&amp;gt;&amp;lt;/aside&amp;gt;&lt;/p&gt;
&lt;p&gt;Don&apos;t overthink it. Don&apos;t over-engineer it. If your users run into problems with the height/length of content, there are &lt;em&gt;a lot&lt;/em&gt; of better ways to address those issues than accordions with auto-closing sections.&lt;/p&gt;
</content:encoded><category>a11y</category><category>design</category><category>information-architecture</category><category>user-experience</category><category>web-development</category></item><item><title>Where should &apos;Skip to main content&apos; links go?</title><link>https://ashleemboyer.com/blog/where-should-skip-to-main-content-links-go</link><guid isPermaLink="true">https://ashleemboyer.com/blog/where-should-skip-to-main-content-links-go</guid><description>Spoiler alert: it&apos;s the &lt;main&gt; element.</description><pubDate>Thu, 09 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&quot;Skip to main content&quot; links should target the &lt;code&gt;&amp;lt;main&amp;gt;&lt;/code&gt; HTML element of a webpage. Add an &lt;code&gt;id&lt;/code&gt; to that element and reference it in the skip link&apos;s &lt;code&gt;href&lt;/code&gt; (prefixed with &lt;code&gt;#&lt;/code&gt;).&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;body&amp;gt;
  &amp;lt;a href=&quot;#main&quot;&amp;gt; Skip to main content &amp;lt;/a&amp;gt;
  &amp;lt;main id=&quot;main&quot;&amp;gt;
    &amp;lt;!-- ... --&amp;gt;
  &amp;lt;/main&amp;gt;
&amp;lt;/body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
</content:encoded><category>a11y</category><category>html</category><category>sc-2-1-1</category><category>sc-2-4-1</category><category>wcag</category><category>web-development</category></item><item><title>How to Dehumanize Accessibility with AI</title><link>https://ashleemboyer.com/blog/how-to-dehumanize-accessibility-with-ai</link><guid isPermaLink="true">https://ashleemboyer.com/blog/how-to-dehumanize-accessibility-with-ai</guid><description>Hire disabled people, not AI-generated caricatures.</description><pubDate>Sat, 14 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;Context&lt;/h2&gt;
&lt;p&gt;On November 29th, 2024, I scrolled upon a LinkedIn post about a tool called a11y-ai. It immediately caught my eye (not in a good way) so I decided to go to the tool&apos;s website to read more.&lt;/p&gt;
&lt;p&gt;It was enraging, to say the least. I was so angered by what I read, that I created my first TikTok, even after having already posted &lt;a href=&quot;https://bsky.app/profile/ashleemboyer.com/post/3lc44dujtok23&quot;&gt;a loud thread on Bluesky&lt;/a&gt; (requires login to view).&lt;/p&gt;
&lt;p&gt;I also wrote most of the words below, then disabled life happened and I wasn&apos;t able to finish editing right away. In each section, I respond to quotes from a web page or post on the tool&apos;s website.&lt;/p&gt;
&lt;p&gt;Why? AI is being sold as some magical solution to the poor state of web accessibility, and there are times when I can&apos;t just sit by and watch misinformation be spread about AI and accessibility.&lt;/p&gt;
&lt;p&gt;I&apos;m an accessibility consultant, multiply disabled, and rely on web accessibility. And it really sucks to watch people reach for AI tools SO QUICKLY over the much more credible and reliable accessibility expertise of disabled people, especially disabled people like myself who do this work for a living.&lt;/p&gt;
&lt;h2&gt;My Reviews&lt;/h2&gt;
&lt;h3&gt;The homepage&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Accessibility explained by those impacted.&lt;/p&gt;
&lt;p&gt;Check any website for barriers and generate the perspective of those who face them.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Firstly, generative AI is not impacted by inaccessibility. It is not a disabled person. It cannot explain web accessibility from the perspective of a disabled person.&lt;/p&gt;
&lt;p&gt;Secondly, it is &lt;strong&gt;&lt;em&gt;entirely unnecessary&lt;/em&gt;&lt;/strong&gt; to generate the perspective of people who encounter inaccessible websites. We are here, capable of sharing our perspectives, and we have been doing so for decades.&lt;/p&gt;
&lt;p&gt;The plagiarism machine&apos;s been trained on our work, no doubt, and without credit or compensation.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;A11y-AI is an experiment using the storytelling capabilities of generative AI to bring the impact of accessibility violations to life. It aims to inspire web professionals to take action.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Generative AI does not have the storytelling capabilities of disabled people. Those of us still alive are screaming our stories &lt;em&gt;right now&lt;/em&gt; and have been, again, for decades. There is nothing for generative AI to &quot;bring to life.&quot;&lt;/p&gt;
&lt;p&gt;As for those of us who are no longer here, many of their stories and wisdom are documented in multiple formats. You just have to care enough to read or listen to them.&lt;/p&gt;
&lt;h3&gt;The About page&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;A11y-AI merges the world of AI and storytelling to make web accessibility more understandable and relatable. It&apos;s an empathy experiment utilising generative AI to transform technical reports into empathy-building experiences.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;To say it again: generative AI cannot tell stories. It is a regurgitation machine. Removing the human factor of inaccessibility stories does not build empathy. It dehumanizes the stories. It dehumanizes US.&lt;/p&gt;
&lt;p&gt;Additionally, inaccessibility is not a result of a lack of empathy. It&apos;s a result of ableism. To still position lack of empathy as the main problem in almost 2025, is a failure to consider vital historical context.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;While digital accessibility is a younger topic than physical accessibility, we cannot effectively try to improve digital accessibility without referencing previous history.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;By looking at several decades of history before the inception of digital accessibility, we can be sure &quot;lack of empathy&quot; is not the core problem &lt;em&gt;now&lt;/em&gt; because it wasn&apos;t a core problem &lt;em&gt;then&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;It&apos;s also important to recognize that disability activists and accessibility advocates &lt;strong&gt;&lt;em&gt;have already tried the approach of empathy-building&lt;/em&gt;&lt;/strong&gt;. It does not work, and this is not news.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;We aim to raise awareness so that the internet can become more accessible and thus more user-friendly. A11y-AI gives an insight into the reality of people&apos;s lives and helps you understand their challenges. Although they are synthetic characters, they represent many people who feel the same way.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;No. Absolutely not. The &quot;synthetic characters&quot; do not represent us. They will &lt;strong&gt;&lt;em&gt;never&lt;/em&gt;&lt;/strong&gt; represent us. We — real, living disabled people — represent us.&lt;/p&gt;
&lt;p&gt;Just like there isn&apos;t an empathy problem in accessibility, there also isn&apos;t an awareness problem at the core. People would be more aware if it were not for deeply ingrained, systemic ableism.&lt;/p&gt;
&lt;p&gt;Creating AI &lt;em&gt;caricatures&lt;/em&gt; of disabled people does not help us dismantle systemic ableism. By taking us out of the equation, and positioning fake, digital characters as more credible narrators of our stories than we who actually live those stories, accessibility is literally dehumanized.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Silencing us, the sources of truth, will only reinforce systemic ableism.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;And to re-emphasize something I said earlier: AI cannot give insight into the reality of our lives. It does not live our challenges, so it cannot understand our challenges, so it cannot help anyone else understand our challenges.&lt;/p&gt;
&lt;p&gt;Can we also note the paradox in saying &quot;reality&quot; in one sentence and then &quot;synthetic&quot; in the next??&lt;/p&gt;
&lt;h3&gt;A talk titled &quot;AI for empathic assessment of accessibility&quot;&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Existing methods for testing are often very technical and not very attractive, neither for developers nor for users.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Many existing methods for testing accessibility do have a steep learning curve. I can acknowledge that. However, this is not unique from other parts of digital product development. There are &lt;em&gt;many&lt;/em&gt; disciplines that go into building products, and accessibility is one of them.&lt;/p&gt;
&lt;p&gt;This means, just like all of the other disciplines, companies &lt;strong&gt;&lt;em&gt;must&lt;/em&gt;&lt;/strong&gt; hire experts in the accessibility discipline. &lt;strong&gt;Accessibility testing does not need to be attractive. It needs to be effective.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Disabled people are the ultimate experts in accessibility. Many of us also work in the discipline of accessibility, doing exactly what A11y-AI sets out to do.&lt;/p&gt;
&lt;p&gt;So not only is this tool being positioned above disabled people in general, but it is also being positioned above the disabled people (such as myself) who are doing accessibility testing and remediation for our livelihoods.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Stealing our stories &lt;em&gt;AND OUR JOBS&lt;/em&gt; does not build empathy.&lt;/strong&gt; It puts us in &lt;em&gt;even more precarious&lt;/em&gt; positions, especially when considering facts like: In the United States, disabled people are more likely to be self-employed than nondisabled people (&lt;a href=&quot;https://www.bls.gov/news.release/disabl.htm&quot;&gt;8.4 percent versus 5.9 percent in 2023&lt;/a&gt;, according to the US Bureau of Labor Statistics).&lt;/p&gt;
&lt;p&gt;I have thoughts on the language like &quot;very technical&quot; in the next major section.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;A11y-AI uses the possibilities of Large Language Models to present the effects of barriers in the web on people with disabilities in a sensitive and personal way.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It is impossible to be &lt;strong&gt;&lt;em&gt;personal&lt;/em&gt;&lt;/strong&gt; if there are not &lt;strong&gt;&lt;em&gt;persons&lt;/em&gt;&lt;/strong&gt; involved. Removing the &lt;strong&gt;&lt;em&gt;persons&lt;/em&gt;&lt;/strong&gt; is not sensitive, nor personal. LLMs are not persons. Fake, digital characters are not persons. Only people who encounter inaccessibility can credibly present the effects of it, as I&apos;ve written multiple times at this point.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;In a second step, the system uses Axe-Core tool to analyze the website entered and outputs a report.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It is &lt;strong&gt;&lt;em&gt;vital&lt;/em&gt;&lt;/strong&gt; for people to understand that only a small portion of accessibility issues are automatically detectable with tools like Deque Axe. It is also important to understand that these kinds of tools can, and often do, provide misleading results.&lt;/p&gt;
&lt;p&gt;Automated testing tools &lt;strong&gt;&lt;em&gt;always&lt;/em&gt;&lt;/strong&gt; require a human being to verify the results, and a human being is &lt;strong&gt;&lt;em&gt;always&lt;/em&gt;&lt;/strong&gt; needed because manual accessibility testing is always needed.&lt;/p&gt;
&lt;p&gt;To reference some data — the Government Digital Service (GDS) published &lt;a href=&quot;https://accessibility.blog.gov.uk/2017/02/24/what-we-found-when-we-tested-tools-on-the-worlds-least-accessible-webpage/&quot;&gt;an audit of automated testing tools&lt;/a&gt; in 2017. Across 142 test cases and 13 automated tools, the most issues found by a tool was 40%. The lowest was 13%. Take a look at the &lt;a href=&quot;https://alphagov.github.io/accessibility-tool-audit/&quot;&gt;overview&lt;/a&gt; and &lt;a href=&quot;https://alphagov.github.io/accessibility-tool-audit/results.html&quot;&gt;detailed&lt;/a&gt; audit results.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;In a third step, GPT analyzes the content of the website and provides the context. In the presentation, for example, an online music store was presented: Claudia should contextually refer to the website in her response, which is why this step makes sense. This not only makes the system appear more authentic, but also allows it to deal with the barrieres that arise in a humorous way.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The system cannot appear &quot;authentic&quot; (unless you don&apos;t know anything substantial about what it&apos;s like to live as a disabled person). It will never experience the daily, constant pain and further deterioration of health that is caused by systemic ableism.&lt;/p&gt;
&lt;p&gt;It is not affected by:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ineffective healthcare systems,&lt;/li&gt;
&lt;li&gt;expensive prescriptions,&lt;/li&gt;
&lt;li&gt;prescription shortages,&lt;/li&gt;
&lt;li&gt;medical ableism,&lt;/li&gt;
&lt;li&gt;pandemic denialism,&lt;/li&gt;
&lt;li&gt;vaccine denialism,&lt;/li&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And this list represents less than a grain of sand within an entire beach of what disabled people are forced to endure EVERY day.&lt;/p&gt;
&lt;p&gt;I also take issue with the alleged need for comments to be &quot;appealing&quot; or &quot;humorous.&quot; &lt;strong&gt;Nothing appealing nor humorous about inaccessibility.&lt;/strong&gt; Inaccessibility is PAINFUL in every single sense of the word. When disabled people encounter inaccessibility, we are harmed every. single. time.&lt;/p&gt;
&lt;p&gt;Inaccessibility can cause both direct, immediate harm and indirect, delayed harm. Animations, for example, can cause direct and immediate harm like induced physical sickness.&lt;/p&gt;
&lt;p&gt;If we try to work around inaccessibility, we risk injuring ourselves in the process. It is always true that we are forced to use extra energy to do the workaround. Since we already have limited energy reserves, this impacts our capacity to do anything else for days, weeks, months, or even years to come.&lt;/p&gt;
&lt;p&gt;If we choose to save our energy and not try a workaround, we&apos;re forced to miss out on whatever it is we were trying to do.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;No one should expect disabled people to react positively to any of this.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Making one of this tool&apos;s main marketing points that it is &quot;appealing&quot; or &quot;humorous&quot; in its feedback will only harm us further. It will set an expectation that all accessibility feedback must be &quot;appealing&quot; or &quot;humorous&quot; to be taken seriously. It will embolden people to continue ignoring feedback from disabled people that isn&apos;t &quot;nice&quot; enough, which is already a &lt;strong&gt;&lt;em&gt;huge&lt;/em&gt;&lt;/strong&gt; problem today.&lt;/p&gt;
&lt;p&gt;One of my favorite pieces on this problem is by Alice Wong — writer, editor, disability justice activist, and a &lt;a href=&quot;https://disabilityvisibilityproject.com/2024/10/02/2024-macarthur-fellows-program/&quot;&gt;2024 MacArthur Fellow&lt;/a&gt; — &lt;a href=&quot;https://disabilityvisibilityproject.com/2024/01/02/disabled-outrage-and-podsavejon/&quot;&gt;&quot;Disabled Outrage and #PodSaveJon&quot;&lt;/a&gt;. In this January 2024 piece, Alice describes the pattern she&apos;s seen in over 10 years of being on Twitter. Please read it!&lt;/p&gt;
&lt;h3&gt;A page titled &quot;Anticipating the story behind the spec&quot;&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Our experimental tool &quot;A11y-AI&quot; uses the storytelling capabilities of generative AI to turn technical accessibility reports into tangible, comprehensible user experiences.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The premise this tool is based upon is an allegedly unmet need for &quot;technical accessibility reports&quot; to be translated into &quot;tangible, comprehensible user experiences.&quot; The &quot;technical accessibility reports&quot; referenced are the ones that come out of automated testing tools.&lt;/p&gt;
&lt;p&gt;Deque&apos;s Axe is mentioned on other pages about this tool. Axe was intentionally built for a technical audience — developers — to encourage them to do automated accessibility testing alongside other automated testing that happens in development. Source: &lt;a href=&quot;https://github.com/dequelabs/axe-core/blob/71cbd90fd3e5e0ded849d125b9a8b3ac064ff947/README.md&quot;&gt;axe-core README.md file&lt;/a&gt;, accessed December 10th, 2024.&lt;/p&gt;
&lt;p&gt;If developers don&apos;t understand the results of Axe, it&apos;s not because the results or the standards they&apos;re built upon are &quot;too technical.&quot; It&apos;s because the developers lack experience in testing accessibility and interpreting the results. &lt;strong&gt;It indicates a skill gap&lt;/strong&gt; and skill gaps are closed with education, coaching, and practice. This is how we address any skill gap in any discipline.&lt;/p&gt;
&lt;p&gt;It&apos;s why we hire people with multiple years of experience for a lot of jobs – they already know how to do something you need, they can do it efficiently and accurately, and they can teach others that knowledge.&lt;/p&gt;
&lt;p&gt;To suggest that AI is needed to bridge accessibility skill gaps is to suggest that there aren&apos;t human experts already out there capable of doing so. It devalues an entire body of expertise.&lt;/p&gt;
&lt;p&gt;A body of expertise in which I have personally endured an incredible amount of pain and suffering, not because people are unaware of the importance of accessibility or lack empathy towards disabled people, but because of &lt;strong&gt;ableism&lt;/strong&gt; and &lt;strong&gt;capitalistic greed&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I resent the notion that people need accessibility feedback spoon-fed to them in an &quot;appealing&quot; or &quot;humorous&quot; tone, or that accessibility testing is &quot;too technical.&quot; The message doesn&apos;t need to be softened or immediately &quot;comprehensible&quot; by everyone.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The fact of the matter is — nondisabled people will never be able to comprehend the experiences of disabled people&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;And that&apos;s fine. I repeat: &lt;strong&gt;&lt;em&gt;IT&apos;S FINE&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Disabled people don&apos;t need nondisabled people to understand the details of our accessibility needs. &lt;strong&gt;We need nondisabled people to believe us and take us seriously.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Nondisabled people are confused by disabled bodies and minds. They&apos;ve been unfortunately misled by inaccurate narratives in media and entertainment that are told most often by other nondisabled people.&lt;/p&gt;
&lt;p&gt;When disabled people tell our stories in our own words, nondisabled people do not view this as us achieving some level of justice by correcting the record. They &lt;em&gt;choose&lt;/em&gt; to continue believing the false narratives given to them their whole lives, and &lt;em&gt;choose&lt;/em&gt; to believe disabled people are not being truthful.&lt;/p&gt;
&lt;p&gt;Ellen Samuels discusses this &quot;profound anxiety regarding disability imposture&quot; of &quot;the disability con&quot; in &lt;em&gt;&lt;a href=&quot;https://nyupress.org/9781479859498/fantasies-of-identification/&quot;&gt;Fantasies of Identification: Disability, Gender, Race&lt;/a&gt;&lt;/em&gt; (page 18) and traces its roots through &lt;em&gt;centuries&lt;/em&gt; of history, media, and culture.&lt;/p&gt;
&lt;p&gt;Samuels demonstrates this fear&apos;s emergence at two different points in American culture is &quot;in response to new extensions of social benefits to disabled people and others understood as the &quot;worthy&quot; poor&quot; (page 19).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Aside: see &lt;a href=&quot;#appendix-a-suggested-reading&quot;&gt;Appendix A&lt;/a&gt; for more great works that discuss &quot;the disability con.&quot;&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Most people – even developers – find it pretty hard to get excited about abstract, technical specifications. Accessibility standards are no exception. But many things become more tangible when empathy comes into play, when you can see the people behind the specifications and thus better understand the concrete effects that limited accessibility brings with it.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I can see the intent here (and throughout all the content I&apos;m reviewing here). Everyone who already cares about accessibility wants everyone else to start caring about it.&lt;/p&gt;
&lt;p&gt;&quot;How do I convince people to give a shit?&quot; (or a form of it) is one of the most common questions I&apos;m asked. It&apos;s probably &lt;em&gt;the most common&lt;/em&gt; but I haven&apos;t counted.&lt;/p&gt;
&lt;p&gt;I&apos;ve maintained the same answer since the beginning of my career and will continue to firmly believe and know it is true. &lt;strong&gt;We can&apos;t convince everyone to care about accessibility for the right reasons.&lt;/strong&gt; Some people are deep-to-their-core-un-empathetic.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;You&lt;/em&gt; can keep trying to gentle-parent them &amp;lt;a id=&quot;footnote-1-reference&quot; href=&quot;#footnote-1&quot;&amp;gt;[1]&amp;lt;/a&amp;gt; but I will not. My energy, abilities, and years are limited. I do not have a will, a way, or the time to deal with immature adults.&lt;/p&gt;
&lt;p&gt;I&apos;ll gladly spend my time with those who want to learn and make the world a more accessible place for disabled people. They deserve it. 🥰&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;That&apos;s why we asked ourselves: How can we transform abstract and technical accessibility reports into more personal, tangible and empathy-boosting experiences? How can we use advanced AI technologies to recognize the potential impact of accessibility issues on real people&apos;s lives? And how can we deliver these &quot;aha&quot; experiences to the people who design, develop and operate today&apos;s web?&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I think my overall response to this tool and its marketing can be summarized in 2 sentences.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You don&apos;t need to do &lt;strong&gt;&lt;em&gt;that&lt;/em&gt;&lt;/strong&gt; (emphasized).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;You&lt;/em&gt;&lt;/strong&gt; (emphasized) don&apos;t need to do that.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
&lt;p&gt;You might be wondering: &quot;So, then, what should be done?&quot; Maybe you think I&apos;m a luddite (derogatory). Oh well! You read this far, might as well keep reading. 🤷🏻‍♀️&lt;/p&gt;
&lt;p&gt;Hire the people who do this kind of work for a living. Pay us adequately for our expertise. Listen and believe us when we share our stories with you. Read our stories that are already out there.&lt;/p&gt;
&lt;p&gt;AI is not the path to fixing inaccessibility or understanding web accessibility specifications. The path to understanding is hiring disabled people and hiring web accessibility experts. If you find someone who is both, you&apos;ve hit the jackpot.&lt;/p&gt;
&lt;h2&gt;Appendix A: Suggested Reading&lt;/h2&gt;
&lt;p&gt;This list is not exhaustive. Many I&apos;ve read, some I haven&apos;t but plan to. If you&apos;d like to suggest more readings, please &lt;a href=&quot;mailto:hello@ashleemboyer.com&quot;&gt;send me an email&lt;/a&gt;!&lt;/p&gt;
&lt;h3&gt;Related to &quot;the disability con&quot;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Ellen Samuels, 2003: &lt;a href=&quot;https://doi.org/10.1215/10642684-9-1-2-233&quot;&gt;My Body, My Closet: Invisible Disability and the Limits of Coming-Out Discourse&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Ellen Samuels, 2006: &lt;a href=&quot;https://doi.org/10.1111/j.1750-1849.2006.00005.x&quot;&gt;From Melville to Eddie Murphy: The Disability Con in American Literature and Film&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Ellen Samuels, 2014: &lt;a href=&quot;https://nyupress.org/9781479859498/fantasies-of-identification/&quot;&gt;Fantasies of Identification Disability, Gender, Race&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Doron Dorfman, 2019: &lt;a href=&quot;https://doi.org/10.1111/lasr.12437&quot;&gt;Fear of the Disability Con: Perceptions of Fraud and Special Rights Discourse&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Doron Dorfman, 2020: &lt;a href=&quot;https://dx.doi.org/10.2139/ssrn.3549572&quot;&gt;Suspicious Species&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Doron Dorfman, 2021: &lt;a href=&quot;https://doi.org/10.1017/jme.2021.60&quot;&gt;Pandemic “Disability Cons”&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Doron Dorfman, 2022: &lt;a href=&quot;https://escholarship.org/uc/item/5qc9150h&quot;&gt;[Un]Usual Suspects: Deservingness, Scarcity, and Disability Rights&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Doron Dorfman, 2024: &lt;a href=&quot;https://doi.org/10.1146/annurev-lawsocsci-041822-033138&quot;&gt;Empirical Disability Legal Studies&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Margaret Price, 2024: &lt;a href=&quot;https://doi.org/10.1215/9781478059370&quot;&gt;Crip Spacetime: Access, Failure, and Accountability in Academic Life&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Jeffrey A. Brune and Daniel J. Wilson (editors), 2013: &lt;a href=&quot;https://tupress.temple.edu/books/disability-and-passing&quot;&gt;Disability and Passing: Blurring the Lines of Identity&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Jay Dolmage, 2014: &lt;a href=&quot;https://press.syr.edu/supressbooks/408/disability-rhetoric/&quot;&gt;Disability Rhetoric&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Jay Dolmage, 2017: &lt;a href=&quot;https://press.umich.edu/Books/A/Academic-Ableism2&quot;&gt;Academic Ableism: Disability and Higher Education&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Juuso Henrik Nieminen and Sarah Elaine Eaton, 2023: &lt;a href=&quot;https://doi.org/10.1080/02602938.2023.2259632&quot;&gt;Are assessment accommodations cheating? A critical policy analysis&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Appendix B: Footnotes&lt;/h2&gt;
&lt;p&gt;&amp;lt;ol&amp;gt;
&amp;lt;li id=&quot;footnote-1&quot;&amp;gt;Many thanks to &amp;lt;a href=&quot;https://bsky.app/profile/heather-buchel.com/post/3lc4a46pgrs2t&quot;&amp;gt;Heather Buchel&amp;lt;/a&amp;gt; for hilariously using the phrase &quot;gentle-parented&quot; in the context of how some people expect to be given accessibility feedback. It gave me a hearty laugh! [&amp;lt;a href=&quot;#footnote-1-reference&quot;&amp;gt;back to article&amp;lt;/a&amp;gt;]&amp;lt;/li&amp;gt;
&amp;lt;/ol&amp;gt;&lt;/p&gt;
</content:encoded><category>a11y</category><category>ai</category><category>disability</category><category>disability-con</category><category>testing</category></item><item><title>Colleges Must Fix Millions of Web Pages. It&apos;s About Damn Time.</title><link>https://ashleemboyer.com/blog/college-web-a11y-finally</link><guid isPermaLink="true">https://ashleemboyer.com/blog/college-web-a11y-finally</guid><description>Think remediation is painful? May you never have to face daily accessibility barriers.</description><pubDate>Thu, 12 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;On December 6th, 2024, &lt;em&gt;The Chronicle of Higher Education&lt;/em&gt; published the following headline of &lt;a href=&quot;https://www.chronicle.com/article/colleges-must-revise-millions-of-web-pages-it-will-be-painful&quot;&gt;an article&lt;/a&gt; by senior reporter Taylor Swaak:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Colleges Must Revise Millions of Web Pages. It Will Be &apos;Painful.&apos;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Disclaimer: I&apos;m a web accessibility consultant, multiply disabled, rely on web accessibility, and have a bachelor&apos;s degree in software engineering and a literature minor. I gave the article a read and share my thoughts below. Why? I hate to see colleges centered in this conversation when content compliance with WCAG 2.1 will have an enormous and positive impact on my community.&lt;/p&gt;
&lt;hr /&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;And many [colleges] have just under a year and a half to [remediate existing digital content].&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is not accurate, neither technically nor pedantically.&lt;/p&gt;
&lt;p&gt;The U.S. Department of Justice issued the rule for WCAG 2.1 compliance on April 24th, 2024 with an effective date of June 24th, 2024. There are two compliance deadlines: April 24th, 2026 and April 26th, 2027. That&apos;s 22 months and 34 months, respectively, which are both longer than &quot;a year and a half.&quot;&lt;/p&gt;
&lt;p&gt;Pedantically (for lack of thinking of a better word), WCAG 2.1 has been published since June 5th, 2018. That&apos;s 6 entire years before the rule&apos;s effective date. Colleges have had ample time to figure this out, all while disabled students have been forced to study under consistently inaccessible conditions their nondisabled peers didn&apos;t have to deal with.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Still, the coming months will test colleges — especially those that haven&apos;t historically made web accessibility a priority.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I want to reiterate what I just covered because I know this whole thing will be spun into an argument that harms disabled students more than anyone else. This is a &lt;em&gt;self-induced&lt;/em&gt; problem for colleges. It&apos;s widespread throughout the entire academic system.&lt;/p&gt;
&lt;p&gt;We can see it with physical accessibility at colleges too. Accessibility has been treated as a &lt;em&gt;burden&lt;/em&gt; far more than it&apos;s been treated as a &lt;em&gt;priority&lt;/em&gt;. This has been thoroughly researched and discussed by (critical) disability studies scholars for several decades.&lt;/p&gt;
&lt;p&gt;Personally, I do not feel much sympathy for the academic system in this challenging time. At least, it&apos;s not even close to how much I feel for my disabled peers (and myself) who&apos;ve endured actual pain due to how inaccessible academia is. Inaccessibility causes real, physical pain. It&apos;s also often a distressing experience, which causes additional pain and has lasting health impacts.&lt;/p&gt;
&lt;p&gt;Remediating &lt;em&gt;a lot&lt;/em&gt; of inaccessible content may be a &quot;painful&quot; experience for colleges. But colleges won&apos;t feel more pain than financial or reputational. &lt;em&gt;People&lt;/em&gt; will bear the real pain. Either disabled people because colleges won&apos;t comply with the rule, or the staff working to reach compliance because they will more than likely continue to be under-supported and under-funded.&lt;/p&gt;
&lt;p&gt;It&apos;s all incredibly frustrating, both as a disabled person and as an accessibility consultant, because I know it doesn&apos;t have to be this way. Yes, remediation will be expensive. &lt;strong&gt;However, accessibility is not nearly as expensive when it&apos;s considered from the start of any process.&lt;/strong&gt; Remediation is not an impossible problem. Maintaining accessibility is not an impossible problem.&lt;/p&gt;
&lt;p&gt;There are &lt;em&gt;SO MANY&lt;/em&gt; skilled people who can help do this work, myself included. Hire us! Pay us! We are here! We know how to move through this problem!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Many have a digital footprint made up of hundreds, even thousands, of websites, and potentially millions of web pages. Their learning-management systems are chock full of PDFs and other frequently inaccessible file formats.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Just info in response (not critique): This is why audits use a representative sample. It&apos;s impossible to test every single page. It&apos;s just not necessary. It&apos;s also why it&apos;s important to build websites on a stable foundation. Templates and design systems, for example, help &lt;em&gt;a lot&lt;/em&gt; in this area. They make creating and auditing content much easier.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;And while institutions have been required to accommodate students with disabilities for decades, having defined standards will force a substantial culture shift: a move from being reactive to being proactive.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It&apos;s about &lt;em&gt;damn&lt;/em&gt; time! 🥳&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Instead of primarily responding to individual students&apos; accommodation requests, colleges will need to make content accessible from the outset.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Addressing accessibility issues &lt;em&gt;systemically&lt;/em&gt; rather than &lt;em&gt;individually&lt;/em&gt; is very good. So what I say next is not in contrast, but to add context.&lt;/p&gt;
&lt;p&gt;WCAG 2.1 compliance, and accessibility compliance as a whole, is the &lt;em&gt;baseline&lt;/em&gt; for accessibility. Content can still be inaccessible even if it complies with all WCAG 2.1 Success Criteria. Compliance does not fix all accessibility issues or prevent them from existing in the future. It takes consistent effort to maintain accessibility.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;The annual &quot;Million&quot; project from WebAIM, a nonprofit based at Utah State University, found an average of 26 errors on home pages with &quot;edu&quot; domains in 2024 through automated testing.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It&apos;s important to point out that not all, or even close to all, accessibility issues are automatically detectable. Automated testing can help make an audit more efficient, but it cannot be the only measure for compliance. Manual testing is &lt;em&gt;always&lt;/em&gt; required.&lt;/p&gt;
&lt;p&gt;To reference some data — the Government Digital Service (GDS) published &lt;a href=&quot;https://accessibility.blog.gov.uk/2017/02/24/what-we-found-when-we-tested-tools-on-the-worlds-least-accessible-webpage/&quot;&gt;an audit of automated testing tools&lt;/a&gt; in 2017. Across 142 test cases and 13 automated tools, the most issues found by a tool was 40%. The lowest was 13%. Take a look at the &lt;a href=&quot;https://alphagov.github.io/accessibility-tool-audit/&quot;&gt;overview&lt;/a&gt; and &lt;a href=&quot;https://alphagov.github.io/accessibility-tool-audit/results.html&quot;&gt;detailed&lt;/a&gt; audit results.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;For one, a college&apos;s digital reach — especially if it&apos;s a larger state institution with a growing catalog of online courses and programs — can include thousands of university-affiliated websites and a litany of site owners. Different administrative teams may be in charge of running different sites. Faculty members and researchers may create their own sites for courses and academic projects, often without clear directives or savvy about how to make those sites fully accessible.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;They&apos;re not going to be able to do this anymore. There will need to be systems and processes in place for creating websites and content. Web accessibility is an entire body of expertise that takes years to learn.&lt;/p&gt;
&lt;p&gt;Colleges will have to use learning management systems that reduce accessibility issues as much as possible or hire their own development teams to build and maintain their own learning management system. In any case, colleges will need their own accessibility teams responsible for reviewing content.&lt;/p&gt;
&lt;p&gt;The burden cannot be placed on faculty, staff, TAs, or students. They will need to hire a team of experts, support them, and pay them fairly.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Another reality is that higher ed loves documents — especially PDFs, a much-maligned format among accessibility advocates.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This made me LOL a little because I wouldn&apos;t call PDFs a &quot;much-maligned&quot; format. This implies it&apos;s based on opinions, but PDFs are objectively terrible in terms of accessibility. The reading experience can&apos;t be customized like a webpage can (think text size, color, etc).&lt;/p&gt;
&lt;p&gt;Remediating PDFs is a horrible experience. The tools we have available to us are shockingly bad. As in, they just don&apos;t work. I&apos;ve tried and can&apos;t really even make PDFs accessible for myself. It can take hours to fix a document that&apos;s just 10 or so pages if the tool loses changes and you have to re-work, re-work, re-work.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Institutions &quot;will literally be unable to comply with those regulatory requirements without support and buy-in from the broader vendor community,&quot; said Kyle Shachmut, co-lead of Educause&apos;s IT-accessibility community group and director of digital accessibility at Harvard University.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I believe that vendors will comply more and more as their revenue is impacted. Two huge drivers in getting some businesses to make accessibility a priority are legal risk and revenue risk. More sales contracts should include accessibility requirements.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Sources said they know of some colleges that, overwhelmed by the work and investments ahead, are considering waiting to see how likely it is that the rule will be enforced, especially under a second Trump presidency.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is absolutely not what any college should be doing. &lt;strong&gt;Choosing to wait is choosing to discriminate.&lt;/strong&gt; Why do that when they can start making progress? There is not some enormous upfront cost that will bankrupt them. They don&apos;t need to hire large accessibility firms to get started.&lt;/p&gt;
&lt;p&gt;Accessibility is incremental and never finished. There&apos;s no 0% to 100% and done. It&apos;s going to be expensive at first (still less expensive than most people think), but it&apos;s not expensive forever. Remediation is FAR more expensive than planning for accessibility from the start.&lt;/p&gt;
&lt;p&gt;High cost is a &lt;em&gt;&lt;strong&gt;very predictable&lt;/strong&gt;&lt;/em&gt; consequence of ignoring accessibility for too long. Colleges are just going to have to accept the consequences and right their wrongs. The sooner they do, the sooner everyone can move on and focus on the good stuff. I promise it&apos;s not as hard as they think.&lt;/p&gt;
</content:encoded><category>ada</category><category>a11y</category><category>higher-ed</category><category>wcag</category></item><item><title>An Undefeated Pull Request Template</title><link>https://ashleemboyer.com/blog/pull-request-template</link><guid isPermaLink="true">https://ashleemboyer.com/blog/pull-request-template</guid><description>A pull request template I&apos;ve developed over my career that so many seem to love.</description><pubDate>Sat, 23 Nov 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;Background&lt;/h2&gt;
&lt;p&gt;I use the word &quot;undefeated&quot; in jest. Everyone will have their own opinions, of course. This template may be too much or too little for some. And I haven&apos;t worked at every company or with every team. Nonetheless! Nearly everyone I&apos;ve worked with, either formally or informally, seems to love this template (or a close version of it).&lt;/p&gt;
&lt;p&gt;It enables &lt;strong&gt;focused and efficient code reviews&lt;/strong&gt;, which leads to code changes being accepted sooner, fewer changes containing bugs, and more frequent delivery of changes to the people using the product (i.e. decreased cycle time, change failure rate, and lead time).&lt;/p&gt;
&lt;p&gt;When teammates are onboarded, it empowers them to start contributing &lt;strong&gt;earlier and more confidently&lt;/strong&gt;. It encourages the author to &lt;strong&gt;complete a self-review&lt;/strong&gt; before requesting reviews from others. It&apos;s also &lt;strong&gt;self-documenting&lt;/strong&gt;, which preserves context for weeks, months, and even years to come.&lt;/p&gt;
&lt;h2&gt;Components of a Good Pull Request Description&lt;/h2&gt;
&lt;p&gt;The first goal of a pull request description is to make code review as &lt;strong&gt;straightforward&lt;/strong&gt; and &lt;strong&gt;frictionless&lt;/strong&gt; as possible. As teams and products grow, everyone can&apos;t have all the context all the time. It&apos;s also impossible (and not necessary) to explain all the context in every pull request.&lt;/p&gt;
&lt;p&gt;We can, however, easily provide &lt;strong&gt;just enough context&lt;/strong&gt; to preemptively answer common code review questions, and include links for the rest if the reviewer seeks a deeper understanding. In this template, there are 7 sections that can help you accomplish this. I&apos;ll explain them in their subsections.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;#related-links&quot;&gt;Related Links&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#what&quot;&gt;What&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#why&quot;&gt;Why&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#how&quot;&gt;How&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#designs&quot;&gt;Designs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#test-steps&quot;&gt;Test Steps&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#other-notes&quot;&gt;Other Notes&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Related Links&lt;/h3&gt;
&lt;p&gt;The first section is a short list of links that help reviewers conduct the review or get the context of the task(s) the code changes aim to address. This is frequently just two links: a deploy preview and the tracking Asana/Jira/etc task.&lt;/p&gt;
&lt;p&gt;The deploy preview is necessary for testing the changes in a staging-like environment. The tracking task (if written well) includes a brief description, acceptance criteria (or the Definition of Done), and links for deeper context (related tasks, higher-level feature epics, design documents, proposals, etc).&lt;/p&gt;
&lt;p&gt;You don&apos;t want to include links to tutorials or other resources you may have used to complete the work. Those will go in the &lt;strong&gt;How&lt;/strong&gt; section. This section is short and at the top because the links will be referenced several times over the course of the review.&lt;/p&gt;
&lt;h3&gt;What&lt;/h3&gt;
&lt;p&gt;The next level of information a reviewer needs is an outline of the changes made. This section is easiest to write when you&apos;ve made small, frequent commits while working on the changes. You can refer to the commit history to jog your memory or copy-paste the history log and edit it where needed. Another tactic is to go through the diff file by file, writing this list as you go, then reordering or condensing after. This is what I almost always do, and I do a self-review at the same time.&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut id=&quot;time-note&quot; type=&quot;idea&quot; title=&quot;Doesn&apos;t that take a long time?&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;Yes, it can. And there are times when fixes need to get through quickly, or maybe you&apos;re just short on time. This is something to discuss as a team — &quot;How do we handle special circumstances? When are we OK with leaving out certain sections?&quot;&lt;/p&gt;
&lt;p&gt;The purpose of a template isn&apos;t to make anyone fill it in 100%, with perfect detail, and correct grammar and punctuation. The purpose of a template is to help you help your reviewers with as little effort as possible.&lt;/p&gt;
&lt;p&gt;I created this template and have used it for a little over 5 years. Can I write it out from memory recall? Yes. Do I want to? Hell no. Thinking is exhausting. Gimme all the templates, please!&lt;/p&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;p&gt;Don&apos;t go into much detail just yet. We&apos;ll get to that in the next section. Each item in this list should be just a few words. This will help potential reviewers determine if they&apos;re the right person to review the code (maybe another teammate is better suited for it) and estimate how long it will take them to review.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Here are a few examples:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Added TextInput component
- Fixed calculation of cookies sold per hour
- Removed no longer used file
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;If you end up with multiple lines that are almost the same, for example:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Added TextInput component
- Added Select component
- Added Checkbox component
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;You can condense them a little to improve their readability, like so:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Added a few components
  - TextInput
  - Select
  - Checkbox
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Why&lt;/h3&gt;
&lt;p&gt;Here&apos;s where we start getting into some of the juicy details. If your team is pretty small and there are only engineers reviewing your code, there might not be much to add here. Maybe you and one other engineer paired up on a feature, already planned exactly who&apos;s working on what, and are only reviewing each others&apos; pull requests. Maybe all the &quot;why&quot; has already been discussed and decided on in a design, architecture, or proposal doc.&lt;/p&gt;
&lt;p&gt;The primary goal of this section is to make sure your reviewers have the context they need to review, but it&apos;s far from the &lt;em&gt;only&lt;/em&gt; goal. A few months from now, what sometimes feels like a lifetime after your feature shipped, you or a teammate will find a peculiar line of code. You&apos;ll think, &quot;Huh. I don&apos;t remember it working like this. Has this changed recently? I think so. Wait... why?&quot;&lt;/p&gt;
&lt;p&gt;You ask &lt;code&gt;git&lt;/code&gt; to tell you who changed the line of code and when. You find the pull request associated with that change. You take a minute to read the &lt;strong&gt;Why&lt;/strong&gt; section and... that&apos;s pretty much it!&lt;/p&gt;
&lt;p&gt;Of all the sections in this template, this is the one I still have the hardest time with. I think there are two main reasons for this. First, it&apos;s easy to forget our reviewers may not have the same context as us when we&apos;ve spent a lot of time with our code.&lt;/p&gt;
&lt;p&gt;Second, it&apos;s &lt;em&gt;&lt;strong&gt;really&lt;/strong&gt;&lt;/em&gt; hard to guess what information &lt;em&gt;might&lt;/em&gt; be helpful weeks or months from now from a documentation standpoint. In reality, this pull request description may never need to be read by another person again.&lt;/p&gt;
&lt;p&gt;So, here are a few generative questions to help you determine what to write.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Why are these changes helpful or necessary?&lt;/li&gt;
&lt;li&gt;Was a new feature requested?&lt;/li&gt;
&lt;li&gt;Are you refactoring in preparation for another feature or task?&lt;/li&gt;
&lt;li&gt;Was there design feedback that needed to be addressed?&lt;/li&gt;
&lt;li&gt;Is this a fast follow-up to a previous PR?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It doesn&apos;t need to be perfect. Try for one or two points, each a sentence or two long. If you&apos;re still stuck after a few minutes, leave a placeholder and chat with your teammates / potential reviewers. Ask if they need any additional context beyond what you&apos;ve already written.&lt;/p&gt;
&lt;p&gt;Remember: this template is meant to &lt;em&gt;ease&lt;/em&gt; the process of writing a pull request description, not add process just for the sake of adding process.&lt;/p&gt;
&lt;h3&gt;How&lt;/h3&gt;
&lt;p&gt;Alrighty! We&apos;ve reached the section that&apos;s typically the last one with a lot of detail. (I must say, you&apos;re doing great!!) What&apos;s also cool? This section isn&apos;t needed &lt;em&gt;every&lt;/em&gt; time.&lt;/p&gt;
&lt;p&gt;What you write (or don&apos;t write) depends on things like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the complexity of the task&lt;/li&gt;
&lt;li&gt;your experience level&lt;/li&gt;
&lt;li&gt;what tools were already at your disposal&lt;/li&gt;
&lt;li&gt;how many approaches you tried&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you followed a tutorial, list it. If you installed a new third-party library, list it. If you leveraged official built-in APIs, list those duders too. The goal is to preemptively answer common high-level questions that come up in code review.&lt;/p&gt;
&lt;p&gt;I don&apos;t care how many times I&apos;ve asked it, I almost always feel like a jerk if I plainly say, &quot;Why did you do it this way?&quot; or, &quot;Why didn&apos;t you do it this &lt;em&gt;other&lt;/em&gt; way?&quot; In my experience as a neurodivergent engineer, most people read these questions as me interrogating their intellectual ability, not as genuine curiosity and wanting to learn from them. Tone can also be a general challenge of text-based communication.&lt;/p&gt;
&lt;p&gt;It&apos;s often just a little bit smoother for everyone involved, where possible, to anticipate these kinds of questions ahead of time and answer them in the description.&lt;/p&gt;
&lt;h3&gt;Designs&lt;/h3&gt;
&lt;p&gt;The section only applies if the proposed changes affect the part of a product that end users will directly interact with. In part, it helps document what a design looked like at the time of implementation. This reasoning has become less and less impactful over the years as branching/versioning features become increasingly common in design tools.&lt;/p&gt;
&lt;p&gt;This section is primarily useful for letting reviewers know exactly what you were referencing as you made the code changes. It helps ensure everyone is on the same page, looking at the same pixels, and reading the same notes.&lt;/p&gt;
&lt;p&gt;Design files are freakin&apos; hard to keep organized. Especially in the pre-component and pre-variable days (I&apos;m referencing tools like Figma). Sometimes a file has three frames, other times it might have thirty. Shit happens.&lt;/p&gt;
&lt;p&gt;By the way, If I catch you being mean to your design teammates because you think design must be sooo much easier than engineering... just don&apos;t do it. It&apos;s rude. All of our jobs require skills that take a long time to build. Act like an adult and build cool shit together. It&apos;s much better that way!&lt;/p&gt;
&lt;h3&gt;Test Steps&lt;/h3&gt;
&lt;p&gt;This is my favorite section. Not because I enjoy writing it (I don&apos;t). Because it proves useful 99% of the time. I don&apos;t know what the other 1% of the time is but it felt wrong to confidently say 100% of the time. 🤭&lt;/p&gt;
&lt;p&gt;This section preemptively answers the question, &quot;How do I test this?&quot; This widens the audience of potential reviewers, some of whom might not know the area of the codebase you&apos;ve made changes in.&lt;/p&gt;
&lt;p&gt;Even if everyone knows the code, you&apos;re saving them time by doing the thinking for them. The code is still fresh in &lt;em&gt;your&lt;/em&gt; mind whereas they might need to take a few minutes to recall how the feature works.&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut id=&quot;pleasant-side-effect&quot; type=&quot;idea&quot; title=&quot;A pleasant side effect of this section&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;People will try to make things as easy as possible to test. No one wants to
write a 30-point checklist or even three 10-point checklists. It&apos;s
time-consuming.&lt;/p&gt;
&lt;p&gt;The two most interesting things (to me) that can happen:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Smaller pull requests (i.e. less files, code, or functionality changed)&lt;/li&gt;
&lt;li&gt;More test/demo pages (like Ladle or Storybook) that simulate complex data&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;p&gt;The other primary goal of this section is to make sure the right code has been changed. This ties back to the very first section: &lt;a href=&quot;#related-links&quot;&gt;Related Links&lt;/a&gt;. If written well, the tracking task&apos;s &lt;em&gt;Acceptance Criteria&lt;/em&gt; (or &lt;em&gt;Definition of Done&lt;/em&gt;) section can nearly be copy-pasted to fill in this section. This is especially true for bug report tasks which are most helpful for engineers when they have a &lt;em&gt;Steps to Reproduce&lt;/em&gt; section.&lt;/p&gt;
&lt;p&gt;Here&apos;s my advice on how to write this section, based on my educational training and several years of practice.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It comes down to two main things:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Each list item should either be an &lt;em&gt;action&lt;/em&gt; or an &lt;em&gt;observation&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Each list item should contain &lt;em&gt;one&lt;/em&gt; action or observation&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Examples of actions:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Go to the home page
- Scroll to the 3rd page section
- Expand the 2nd accordion item
- Press the `TAB` key 5 times
- Wait for the page to load
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Examples of observations:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- You should see a warning icon
- The screen reader should announce &quot;Cancel, button&quot;
- The &quot;Save&quot; button should become disabled
- No animation should happen
- You should be taken to the &quot;Edit Settings&quot; page
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You don&apos;t always need to list every single action required to complete a task. It depends on what is being tested. Let&apos;s use logging into a system as an example.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Is that feature implemented in this pull request? Or are you changing the existing login process? You probably need to list out each step: Enter your username, Enter your Password, Submit the form, etc.&lt;/li&gt;
&lt;li&gt;Are you adding a new feature that only logged-in users can access? Or updating an existing one only accessible to users with certain permissions? You don&apos;t need to list out each action required to log in. It&apos;s probably only one list item like: &quot;Log in&quot; or &quot;Log in as Admin.&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you think it might be helpful to include the steps of a task, there&apos;s no harm in it! To improve readability you can indent those steps and make them a sublist.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Log in as Admin
  - Go to the /login page
  - Enter the email `admin@testwebsite.com`
  - Enter the password `Adm!nP@assw0rd`
- Go to ...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Sublists are also great when your reviewer needs to make multiple observations after performing an action.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Click the &quot;Finish Onboarding&quot; button
- Wait for the page to finish loading
  - A success Toast should appear at the top right
  - The notification should read &quot;Onboarding complete! 🎉&quot;
  - There should no longer be an onboarding checklist in the sidebar
- ...
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Other Notes&lt;/h3&gt;
&lt;p&gt;The final section is a bucket for anything else you want to share but doesn&apos;t fit neatly in one of the other sections. You might not even need this section. Here are some examples where it can be beneficial:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Stuck on one thing but everything else is ready for review? List it here and ask if anyone knows how to proceed.&lt;/li&gt;
&lt;li&gt;Encounter a bug or piece of tech debt you want to address, but it&apos;s outside the scope of changes? Your reviewer will probably encounter it too, so list the details to let them know you&apos;re already aware and/or planning to address it.&lt;/li&gt;
&lt;li&gt;If you know part of your task needs a little more research but you don&apos;t want to hold up &lt;em&gt;all&lt;/em&gt; your code changes, just say so. It happens all the time!&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;The Template&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;## Related Links

What links will make reviewing these code changes as straightforward as possible?

- Deploy Preview
- Jira/Asana/etc. Ticket
- User Story

## What

What changes did you make at a high level?

- Added...
- Updated...
- Refactored...
- Moved...

## Why

Why are these changes helpful or necessary?

- New feature requested...
- Refactoring in preparation for...
- Addressing design feedback...
- Fast-follow to previous PR...

## How

How did you go about making these changes?

- Paired with &amp;lt;Teammate Name&amp;gt; where we did A, B, C
- Tried another approach but it didn&apos;t work because X, Y, Z
- I followed this resource by &amp;lt;Author Name&amp;gt;: &amp;lt;Resource Link&amp;gt;
- Used these code APIs/SDKs: &amp;lt;Name&amp;gt;, &amp;lt;Name&amp;gt;, &amp;lt;Name&amp;gt;

## Designs

What visual context do reviewers need?

- Component
- Mockup
- Wireframe
- Prototype

## Test Steps

What are all the steps to testing your code changes?

- [ ] Enable `feature_flag`
- [ ] Go to this page: /a-test-page
- [ ] Simulate &quot;Browser Feature&quot;
- [ ] Scroll to &quot;Example Section Name&quot;
- [ ] It should show...
- [ ] Activate the &quot;Example Button&quot; button
- [ ] You should see...
- [ ] Wait for the page to load...
- [ ] ...

## Other Notes

What, if anything, hasn&apos;t been addressed in these code changes but should be in future changes?

- ABC wasn&apos;t working as expected...
- XYZ needs more research...
- A fast-follow PR is already planned for addressing 1, 2, 3...
&lt;/code&gt;&lt;/pre&gt;
</content:encoded><category>career</category><category>code-review</category><category>software-engineering</category><category>technical-writing</category></item><item><title>Trying to Press &quot;Publish&quot; More Often</title><link>https://ashleemboyer.com/blog/trying-to-press-publish-more-often</link><guid isPermaLink="true">https://ashleemboyer.com/blog/trying-to-press-publish-more-often</guid><description>It&apos;s been a while, hasn&apos;t it?</description><pubDate>Tue, 19 Nov 2024 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;It&apos;s November 19th, 2024. I haven&apos;t published any blogs here since July 14th. Before that, it was July 9th. Before that, it was November 3rd, 2023.&lt;/p&gt;
&lt;p&gt;It&apos;s not that I don&apos;t write or have any ideas for pieces. I have &lt;em&gt;plenty&lt;/em&gt; of ideas. More than I know what to do with (analysis paralysis). When one pops up (typically while I&apos;m trying to focus on something else) I try to note it down for later. When I sit down to type out the words, they don&apos;t always come to me. Sometimes they&apos;re just not there yet. Most times there are these pressures in my mind that get in the way.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Every piece must be insightful and provocative...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This technical one needs to include prerequisite steps...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Not enough screen recordings here...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Too much rambling here...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;These screenshots are blurry...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;That linked source might be out of date...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;These conclusions aren&apos;t really that interesting...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Other people have already said this...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Need to add a certain feature to the blog first...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Automating this other thing would mean I can make this fancier...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;So many other drafts to finish before starting yet another one...&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Some of them come from self-doubt. Some are naturally occurring distractions in a brain that has a hard time focusing. Some are because I &lt;em&gt;loathe&lt;/em&gt; being misinterpreted. Some come from fear of having vulnerabilities I share weaponized against me. Some from internal &quot;perfectionism&quot; (I don&apos;t like that word but can&apos;t think of a better one right now).&lt;/p&gt;
&lt;p&gt;So here&apos;s a post. It is whatever it is. It can be whatever someone needs it to be. It might be misinterpreted. Some might find it silly. I just want to find my way back to that pressing that &quot;Publish&quot; button more often.&lt;/p&gt;
&lt;p&gt;Thanks for reading &amp;lt;3&lt;/p&gt;
</content:encoded><category>blogging</category><category>writing</category></item><item><title>TIL #4: VS Code Key Bindings, tab-size CSS Property, and Void Elements</title><link>https://ashleemboyer.com/blog/today-i-learned-0004</link><guid isPermaLink="true">https://ashleemboyer.com/blog/today-i-learned-0004</guid><description>A few things I learned July 14, 2024.</description><pubDate>Sun, 14 Jul 2024 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;💡 &lt;em&gt;This post is part of &lt;a href=&quot;https://ashleemboyer.com/blog/series/today-i-learned&quot;&gt;my Today I Learned (TIL) series&lt;/a&gt;. Each section below describes a thing I learned today and the resources I used to learn it.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;Custom Visual Studio Code Key Bindings (again)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; I originally learned how to add custom key bindings in early 2022 (&lt;a href=&quot;https://gist.github.com/ashleemboyer/6509df0445695578e11998b7d064fbd5&quot;&gt;see the Gist&lt;/a&gt;). Today, I went to add a new one and discovered a new feature while reading the docs. &lt;a href=&quot;https://github.com/microsoft/vscode-docs/pull/6177&quot;&gt;Around March 2023&lt;/a&gt; they added a built-in way to run multiple commands! I had been using the &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=ryuta46.multi-command&quot;&gt;&lt;code&gt;multi-command&lt;/code&gt; extension&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; I didn&apos;t end up adding a new keybinding (found a different workaround for the problem I was having) but I did update my configuration file to use the built-in &lt;code&gt;runCommands&lt;/code&gt; and removed the previous extension. I&apos;m &lt;em&gt;super&lt;/em&gt; minimalist about VS Code extensions so I&apos;m glad I was able to remove one! I was also able to remove a custom keybinding that wrapped selected text in hyperlink syntax. Turns out if you have a URL on your clipboard, select text, and hit cmd+v, a hyperlink is automatically created. I&apos;ve &lt;a href=&quot;https://gist.github.com/ashleemboyer/5004f1d7a95f3df1b816321f6cf4249d&quot;&gt;published a new Gist&lt;/a&gt; with my new file!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource I referenced:&lt;/strong&gt; &lt;a href=&quot;https://code.visualstudio.com/docs/getstarted/keybindings#_running-multiple-commands&quot;&gt;Running multiple commands - VS Code docs&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;CSS property &lt;code&gt;tab-size&lt;/code&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; On my business website, &lt;a href=&quot;https://www.semanticfish.com/&quot;&gt;Semantic Fish&lt;/a&gt;, I&apos;m working on a series of component demos and writeups. I want to be able to write React code for the interactive part and also have a code snippet shown in HTML. I don&apos;t want to have to write both, or write the content in Markdown or MDX. I&apos;m pretty happy at the moment with just writing in JSX. But back to the HTML code snippet—I also want it to have syntax highlighting. Final thing: I don&apos;t want to install a third-party library. So I made it a fun mini project to build a &lt;code&gt;CodeBlock&lt;/code&gt; component using brand colors for the syntax highlighting.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; My component parses React &lt;code&gt;children&lt;/code&gt; passed in the &lt;code&gt;CodeBlock&lt;/code&gt; to build an array of code lines. It does this recursively, since each element in &lt;code&gt;children&lt;/code&gt; can have multiple child elements of its own. Each time my recursion function is called, I increment its second argument (called &lt;code&gt;indentBy&lt;/code&gt;) by 1. Then just before the function returns its lines of code, I add &lt;code&gt;indentBy&lt;/code&gt; tab characters (&lt;code&gt;&amp;amp;#9;&lt;/code&gt;) to the beginning of the line. I &lt;em&gt;could&lt;/em&gt; use space characters instead, but the width of those isn&apos;t customizeable like tab characters. Eventually it&apos;ll be cool to add a feature to my &lt;code&gt;CodeBlock&lt;/code&gt; that enables anyone to customize the tab width to whatever helps them read the code easiest. For now I&apos;ve set a default &lt;code&gt;tab-size: 2&lt;/code&gt; on the &lt;code&gt;CodeBlock&lt;/code&gt;&apos;s &lt;code&gt;code&lt;/code&gt; HTML element.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource I referenced:&lt;/strong&gt; &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/tab-size&quot;&gt;tab-size - MDN&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Void Elements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; Part of working on the aforementioned &lt;code&gt;CodeBlock&lt;/code&gt; component involved needing to know which HTML elements have end tags or just a &lt;code&gt;&amp;gt;&lt;/code&gt; character (aka &lt;code&gt;&amp;amp;gt;&lt;/code&gt; in HTML). Turns out there&apos;s a name for these kinds of elements! You guessed it: they&apos;re called void elements. Also, self-closing tags (&lt;code&gt;&amp;lt;tag /&amp;gt;&lt;/code&gt;) do not exist in HTML. Today I learned! (bad-dum-tssss)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; Using the list from MDN, I created an array constant of tag names near my recursive function (mentioned in &lt;a href=&quot;#css-property-tab-size&quot;&gt;the previous section&lt;/a&gt;). For each line of code I build up in the function, I check if the element&apos;s tag name is in the array (using &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes&quot;&gt;&lt;code&gt;Array.includes&lt;/code&gt;&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource I referenced:&lt;/strong&gt; &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Glossary/Void_element&quot;&gt;Void element - MDN&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>css</category><category>design</category><category>learning</category><category>skills</category><category>til</category><category>vscode</category></item><item><title>A Quick-ish Accessibility Review: shadcn/ui Charts</title><link>https://ashleemboyer.com/blog/a-quick-ish-accessibility-review-shadcn-ui-charts</link><guid isPermaLink="true">https://ashleemboyer.com/blog/a-quick-ish-accessibility-review-shadcn-ui-charts</guid><description>My personal analysis after a few keyboard &amp; screen reader tests.</description><pubDate>Tue, 09 Jul 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;Disclaimer&lt;/h2&gt;
&lt;p&gt;I&apos;m a neurodivergent and multiply disabled expert in web accessibility. I have a software engineering degree and almost a decade of software engineering experience. I am currently a self-employed consultant in software engineering and accessibility. (&lt;a href=&quot;https://semanticfish.com&quot;&gt;Reach out if you want to collaborate&lt;/a&gt;!)&lt;/p&gt;
&lt;p&gt;This article is a few hours of free labor and close to half of what I&apos;d charge for a 1-week sprint in a contract. This is to say I spent valuable time and limited energy doing work that should paid good money. I&apos;m not saying it has to be &lt;em&gt;me&lt;/em&gt;, but it should be &lt;em&gt;someone&lt;/em&gt; with expertise in accessibility.&lt;/p&gt;
&lt;h2&gt;The Announcement&lt;/h2&gt;
&lt;p&gt;On July 5th, 2024, shadcn/ui Charts were announced on X.&lt;/p&gt;
&lt;p&gt;&amp;lt;figure&amp;gt;
&amp;lt;img aria-labelledby=&quot;announcement-caption&quot; src=&quot;https://res.cloudinary.com/ashleemboyer/image/upload/article-images/announcement_tcyeih.png&quot; /&amp;gt;
&amp;lt;figcaption aria-hidden=&quot;true&quot; id=&quot;announcement-caption&quot;&amp;gt;X post by shadcn on July 5, 2024, at 6:22 pm. Introducing Charts. A collection of chart components that you can copy and paste into your apps. Built on top of Recharts. Beautifully designed. Open Source.&amp;lt;/figcaption&amp;gt;
&amp;lt;/figure&amp;gt;&lt;/p&gt;
&lt;h2&gt;The Marketing and Documentation&lt;/h2&gt;
&lt;p&gt;On the shadcn/ui home page, there&apos;s a new Charts navigation link and an &quot;Introducing Charts&quot; call-to-action in the main content area.&lt;/p&gt;
&lt;p&gt;The first links to the &lt;a href=&quot;https://ui.shadcn.com/charts&quot;&gt;Charts Library page&lt;/a&gt;. It contains a few dozen examples of area, bar, line, pie, radar, and radial charts. There is also a widget for changing the color scheme: default, palette, sapphire, ruby, emerald, daylight, and midnight. There are no mentions of the keywords accessibility, keyboard, or screen reader.&lt;/p&gt;
&lt;p&gt;The second links to the main &lt;a href=&quot;https://ui.shadcn.com/docs/components/chart&quot;&gt;&lt;code&gt;Chart&lt;/code&gt; component documentation&lt;/a&gt;. It has an interactive demo and documents installation, grids, axes, tooltips, legends, theming, and other configurations.&lt;/p&gt;
&lt;p&gt;At the very end of the page is an Accessibility section. Through one boolean prop (&lt;a href=&quot;https://react.dev/learn/passing-props-to-a-component&quot;&gt;a React term&lt;/a&gt;), it states the ability to add &quot;keyboard access&quot; and &quot;screen reader support&quot;. It also provides a copy-paste-able short example code snippet.&lt;/p&gt;
&lt;p&gt;&amp;lt;figure&amp;gt;
&amp;lt;img aria-labelledby=&quot;accessibility-section-caption&quot; src=&quot;https://res.cloudinary.com/ashleemboyer/image/upload/article-images/accessibility-section_jz430y.png&quot; /&amp;gt;
&amp;lt;figcaption aria-hidden=&quot;true&quot; id=&quot;accessibility-section-caption&quot;&amp;gt;&amp;lt;code&amp;gt;Chart&amp;lt;/code&amp;gt; documentation Accessibility section. You can turn on the &amp;lt;code&amp;gt;accessibilityLayer&amp;lt;/code&amp;gt; to add an accessible layer to your chart. This prop adds keyboard access and screen reader support to your charts.&amp;lt;/figcaption&amp;gt;
&amp;lt;/figure&amp;gt;&lt;/p&gt;
&lt;h2&gt;A Few Quick-ish Tests&lt;/h2&gt;
&lt;h3&gt;Test 1: &quot;Your First Chart&quot; Documentation Demo&lt;/h3&gt;
&lt;p&gt;Video description coming soon.&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube-nocookie.com/embed/iBeMgw7NCgE?si=xtTVM-fI2AzCPqHb&quot; title=&quot;YouTube embed: &apos;Your First Chart&apos; test&quot;  allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerPolicy=&quot;strict-origin-when-cross-origin&quot; allowFullScreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h3&gt;Test 2: &quot;Add a Grid&quot; Documentation Demo&lt;/h3&gt;
&lt;p&gt;Video description coming soon.&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube-nocookie.com/embed/XqO5hG75zF0?si=lEhTy9zE4CwNzKQD&quot; title=&quot;YouTube embed: &apos;Add a Grid&apos; test&quot;  allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerPolicy=&quot;strict-origin-when-cross-origin&quot; allowFullScreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h3&gt;Test 3: &quot;Add an Axis&quot; Documentation Demo&lt;/h3&gt;
&lt;p&gt;Video description coming soon.&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube-nocookie.com/embed/jVoZYGOVSLw?si=zOX9ep2b1h_jJa07&quot; title=&quot;YouTube embed: &apos;Add an Axis&apos; test&quot;  allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerPolicy=&quot;strict-origin-when-cross-origin&quot; allowFullScreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h3&gt;Test 4: &quot;Add Tooltip&quot; Documentation Demo&lt;/h3&gt;
&lt;p&gt;Video description coming soon.&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube-nocookie.com/embed/oKF10Qb2ko0?si=YbS7JkUIIb15cwGo&quot; title=&quot;YouTube embed: &apos;Add Tooltip&apos; test&quot;  allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerPolicy=&quot;strict-origin-when-cross-origin&quot; allowFullScreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h3&gt;Test 5: &quot;Add Legend&quot; Documentation Demo&lt;/h3&gt;
&lt;p&gt;Video description coming soon.&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube-nocookie.com/embed/wAnMFmaZgmY?si=h4etkm3y5Meiw3PA&quot; title=&quot;YouTube embed: &apos;Add Legend&apos; test&quot;  allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerPolicy=&quot;strict-origin-when-cross-origin&quot; allowFullScreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h3&gt;Test 6: With and Without VoiceOver&apos;s &quot;Quick Nav&quot; mode&lt;/h3&gt;
&lt;p&gt;Video description coming soon.&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube-nocookie.com/embed/Q8jP3jMaoUc?si=WzkINh1p_TeG-L57&quot; title=&quot;YouTube embed: &apos;Quick Nav&apos; test&quot;  allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerPolicy=&quot;strict-origin-when-cross-origin&quot; allowFullScreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h2&gt;Some Accessibility Issues&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;SC 1.1.1 Non-text Content (Level A):&lt;/strong&gt; The charts tested do not have a text alternative. The only information presented by a screen reader is axis text labels and (sometimes) the tooltip content is reachable.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SC 1.3.1 Info and Relationships (Level A):&lt;/strong&gt; When a legend is configured, it has no directly coded relationship to the chart. Since it is placed in the DOM after the chart with &lt;code&gt;role=&quot;application&quot;&lt;/code&gt; there is no inferred relationship. Tooltips are also after the &lt;code&gt;role=&quot;application&quot;&lt;/code&gt; element, so their content cannot be presented by screen readers without moving through the rest of the chart content.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SC 1.4.1 Use of Color (Level A):&lt;/strong&gt; Color is currently the only way someone can visually distinguish data in the charts. I have not found documentation for how to make these charts visually accessible with strategies like monochrome palettes, line styles, pattern fills, or extra labels. The tooltips can help, but only if they represent one piece of data at a time. In the videos above, each tooltip represents two bars.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SC 1.4.13 Content on Hover or Focus (Level AA):&lt;/strong&gt; The tooltips can be dismissed with the &amp;lt;kbd&amp;gt;ESCAPE&amp;lt;/kbd&amp;gt; key, but they are not hoverable or persistent. This prevents &lt;em&gt;many&lt;/em&gt; people from perceiving and understanding the tooltip content. They may also accidentally make the tooltip disappear with the slightest cursor movement.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;In Summary&lt;/h2&gt;
&lt;p&gt;In my quick-ish testing, I found multiple critical accessibility issues with the Chart component. The &quot;keyboard access&quot; claim in the documentation is mostly accurate. The &quot;screen reader support&quot; claim is false. No information is presented about the data by a screen reader when using the left or right arrow keys to navigate the charts.&lt;/p&gt;
&lt;p&gt;The documentation also does not describe how keyboard or screen reader interactions &lt;em&gt;should&lt;/em&gt; work, which I find irresponsible considering the bold marketing claims this library is &quot;Accessible.&quot;&lt;/p&gt;
&lt;p&gt;With great popularity comes great responsibility. Web accessibility is becoming more enforced by law and expectations of UI libraries are rising. Most library consumers will take &quot;Accessible&quot; at face value when they trust the maintainers or referrals. Since charts are an &quot;advanced&quot; accessibility topic, many likely don&apos;t know how to verify the claim.&lt;/p&gt;
&lt;p&gt;As a person who relies on a multitude of accessibility &quot;features&quot; (I don&apos;t like the term &quot;accessibility feature&quot; but I can&apos;t think of an alternative), it&apos;s discouraging to see a popular UI library miss key aspects. When the marketing says &quot;Accessible&quot; but neither the documentation nor the functionality backs it up, it diminishes my trust and the library&apos;s credibility.&lt;/p&gt;
&lt;p&gt;If the documentation demonstrated effort in it, I would believe accessibility is a priority. But based on my test results, the library&apos;s popularity, and my lived experiences: I don&apos;t see enough evidence to feel that accessibility is treated as seriously as it needs to be. It feels performative. I&apos;d love for that perspective to change.&lt;/p&gt;
&lt;h2&gt;Related Resources&lt;/h2&gt;
&lt;h3&gt;From the Do No Harm Guide: Centering Accessibility in Data Visualization&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.urban.org/research/publication/do-no-harm-guide-centering-accessibility-data-visualization&quot;&gt;Summary by Urban Institute&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.urban.org/sites/default/files/2022-12/Do%20No%20Harm%20Guide%20Centering%20Accessibility%20in%20Data%20Visualization.pdf&quot;&gt;Report as PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Chapter 5: Coding Accessible Data Visualisations (by &lt;a href=&quot;https://tink.uk/&quot;&gt;Léonie Watson&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Chapter 6: Creating Better Screen Reader Experiences (by &lt;a href=&quot;https://fossheim.io/&quot;&gt;Sarah Fossheim&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;From the Web Content Accessibility Guidelines 2.2&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html&quot;&gt;SC 1.1.1 Non-text Content (Level A)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships&quot;&gt;SC 1.3.1 Info and Relationships (Level A)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html&quot;&gt;SC 1.4.1 Use of Color (Level A)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html&quot;&gt;SC 1.4.13 Content on Hover or Focus (Level AA)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG22/Understanding/conformance#text-alternatives&quot;&gt;Understanding &quot;Text Alternatives&quot;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;By Léonie Watson&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://tink.uk/accessible-svg-line-graphs/&quot;&gt;Accessible SVG line graphs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://tink.uk/accessible-svg-tables/&quot;&gt;Accessible SVG tables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://tink.uk/accessible-svg-flowcharts/&quot;&gt;Accessible SVG flowcharts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>a11y</category><category>data-visualization</category><category>review</category><category>sc-1-1-1</category><category>sc-1-3-1</category><category>sc-1-4-1</category><category>sc-1-4-13</category><category>wcag</category><category>web-development</category></item><item><title>An Accessibility Bookmarklet for Testing 200% Text Size</title><link>https://ashleemboyer.com/blog/an-accessibility-bookmarklet-for-testing-200-percent-text-size</link><guid isPermaLink="true">https://ashleemboyer.com/blog/an-accessibility-bookmarklet-for-testing-200-percent-text-size</guid><description>Quickly test your &apos;loss of content&apos; risk when text is resized.</description><pubDate>Fri, 03 Nov 2023 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;TL;DR&lt;/h2&gt;
&lt;p&gt;This bookmarklet can help you visually check how well a webpage handles text being resized to 200% of the base/default size. It can also help you test for loss of content when checking compliance for &lt;a href=&quot;https://www.w3.org/TR/WCAG22/#reflow&quot;&gt;WCAG 2.2 Success Criterion 1.4.10 Reflow&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To add the bookmarklet to your preferred browser:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a new bookmark&lt;/li&gt;
&lt;li&gt;Give it a good name (maybe &quot;Toggle text zoom&quot;)&lt;/li&gt;
&lt;li&gt;Copy-and-paste the following code for the URL&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;javascript: (function () {
  const htmlElement = document.querySelector(&quot;html&quot;);
  const currentFontSize = htmlElement.style.getPropertyValue(&quot;font-size&quot;);
  const isZoomed = currentFontSize === &quot;200%&quot;;
  const newFontSize = isZoomed ? null : &quot;200%&quot;;
  htmlElement.style.setProperty(&quot;font-size&quot;, newFontSize);
})();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Disclaimer: This is experimental and should be used at your own risk! If a webpage is already coded to set the CSS &lt;code&gt;font-size&lt;/code&gt; property on the &lt;code&gt;&amp;lt;html&amp;gt;&lt;/code&gt; element, this bookmarklet probably won&apos;t work as intended.&lt;/p&gt;
&lt;h2&gt;Does WCAG have text size requirements?&lt;/h2&gt;
&lt;p&gt;The &lt;a href=&quot;https://www.w3.org/TR/WCAG22/&quot;&gt;Web Content Accessibility Guidelines&lt;/a&gt; has one Success Criterion criterion in particular that talks about text size. &lt;a href=&quot;https://www.w3.org/TR/WCAG22/#resize-text&quot;&gt;WCAG 2.2 Success Criterion 1.4.4 Resize Text&lt;/a&gt; says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Except for captions and images of text, text can be resized without assistive technology up to 200 percent without loss of content or functionality.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Text resizing is not the same as browser zoom&lt;/h2&gt;
&lt;p&gt;You might be thinking, &quot;But when I zoom in my browser to 200% the button text looks fine!&quot; This is probably a common misconception with this Success Criterion. I definitely didn&apos;t know for a while that browser zoom is only part of the story!&lt;/p&gt;
&lt;p&gt;Digging deeper using the &lt;a href=&quot;https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html&quot;&gt;Understanding SC 1.4.4: Resize Text&lt;/a&gt; docs, it says we (the &quot;authors&quot;) have to handle the case when a user only increases the size of their text since their browser (or some other &quot;user agent&quot;) might not have zoom capability.&lt;/p&gt;
&lt;p&gt;The docs say:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If the user agent doesn&apos;t provide zoom functionality but does let the user change the text size, the author is responsible for ensuring that the content remains usable when the text is resized.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This Success Criterion is one reason why it&apos;s good practice to use &lt;code&gt;rem&lt;/code&gt; units for the CSS &lt;code&gt;font-size&lt;/code&gt; property and no units for the &lt;code&gt;line-height&lt;/code&gt; property. Text must be resizeable up to 200% without a mechanism like browser zoom.&lt;/p&gt;
&lt;h2&gt;How do I test 200% text size?&lt;/h2&gt;
&lt;p&gt;The easiest way I&apos;ve found to test text-only zoom is by setting &lt;code&gt;font-size: 200%&lt;/code&gt; on the &lt;code&gt;&amp;lt;html&amp;gt;&lt;/code&gt; element for a web page. This can be done a few ways:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Manually adding the CSS property in browser dev tools&lt;/li&gt;
&lt;li&gt;Running some JavaScript in the browser console&lt;/li&gt;
&lt;li&gt;Putting the JavaScript in a bookmarklet and running it with one click&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I prefer option 3 the most because it&apos;s just one click and it&apos;s a more accurate user experience test since I can keep the browser dev tools panel closed.&lt;/p&gt;
&lt;p&gt;My bookmarklet is set up to &lt;strong&gt;&lt;em&gt;toggle&lt;/em&gt;&lt;/strong&gt; the &lt;code&gt;font-size: 200%&lt;/code&gt; setting on the &lt;code&gt;&amp;lt;html&amp;gt;&lt;/code&gt; element when the bookmark is clicked. It checks if the current &lt;code&gt;font-size&lt;/code&gt; value is already set to &lt;code&gt;200%&lt;/code&gt;, and adds or removes it based on that check.&lt;/p&gt;
&lt;p&gt;To add the bookmarklet to your preferred browser:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a new bookmark&lt;/li&gt;
&lt;li&gt;Give it a good name (maybe &quot;Toggle text zoom&quot;)&lt;/li&gt;
&lt;li&gt;Copy-and-paste the following code for the URL&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;javascript: (function () {
  const htmlElement = document.querySelector(&quot;html&quot;);
  const currentFontSize = htmlElement.style.getPropertyValue(&quot;font-size&quot;);
  const isZoomed = currentFontSize === &quot;200%&quot;;
  const newFontSize = isZoomed ? null : &quot;200%&quot;;
  htmlElement.style.setProperty(&quot;font-size&quot;, newFontSize);
})();
&lt;/code&gt;&lt;/pre&gt;
</content:encoded><category>a11y</category><category>bookmarklet</category><category>css</category><category>design</category><category>mobile</category><category>responsive-design</category><category>sc-1-4-4</category><category>sc-1-4-10</category><category>wcag</category><category>web-development</category></item><item><title>Why You Should Use px Units for margin, padding, &amp; Other Spacing Techniques</title><link>https://ashleemboyer.com/blog/why-you-should-use-px-units-for-margin-padding-and-other-spacing-techniques</link><guid isPermaLink="true">https://ashleemboyer.com/blog/why-you-should-use-px-units-for-margin-padding-and-other-spacing-techniques</guid><description>When users increase their text size, they&apos;re not trying to make the space around text bigger.</description><pubDate>Thu, 02 Nov 2023 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;Why are CSS margin and padding so closely related?&lt;/h2&gt;
&lt;p&gt;The CSS &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/margin#values&quot;&gt;margin&lt;/a&gt; and &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/padding#values&quot;&gt;padding&lt;/a&gt; properties are often talked about together for two reasons:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;They both affect whitespace and sit right next to each other in the &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model&quot;&gt;CSS Box Model&lt;/a&gt;, only separated by a border if one&apos;s present.&lt;/li&gt;
&lt;li&gt;They accept nearly the exact same CSS data types for their values: &lt;code&gt;length&lt;/code&gt; and &lt;code&gt;percentage&lt;/code&gt;. (&lt;code&gt;margin&lt;/code&gt; also accepts &lt;code&gt;auto&lt;/code&gt;, but that&apos;s not important for what we&apos;re discussing here.)&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;What are the length and percentage CSS data types?&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/length&quot;&gt;CSS length&lt;/a&gt; is one type of a distance value. &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/percentage&quot;&gt;CSS percentages&lt;/a&gt; are similar to length, but the difference is that they&apos;re always a fraction of something else in a page depending on what property they&apos;re being used with. Lengths can either be &lt;em&gt;absolute&lt;/em&gt; or &lt;em&gt;relative&lt;/em&gt;.&lt;/p&gt;
&lt;h2&gt;What&apos;s the difference between absolute and relative units?&lt;/h2&gt;
&lt;p&gt;CSS provides us two types of units so we can build flexible websites that work across all kinds of devices and configurations.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/length#absolute_length_units&quot;&gt;&lt;strong&gt;absolute length units&lt;/strong&gt;&lt;/a&gt; are always the same, and not based on anything else in a page&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;relative length units&lt;/strong&gt; units can change, and are based on &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/length#relative_length_units_based_on_font&quot;&gt;font&lt;/a&gt; and &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/length#relative_length_units_based_on_viewport&quot;&gt;viewport&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How do I know when to use absolute or relative CSS units?&lt;/h2&gt;
&lt;p&gt;Most people don&apos;t like their questions answered with a question, but that&apos;s how I feel like breaking this down right now. (Sorry!!)&lt;/p&gt;
&lt;p&gt;When you&apos;re deciding between absolute or relative CSS units for a particular CSS property, you need to think about what a user is trying to do.&lt;/p&gt;
&lt;p&gt;You may already be familiar with &lt;strong&gt;relative length units&lt;/strong&gt; when it comes to text size. It&apos;s best practice to use &lt;code&gt;rem&lt;/code&gt; units for the &lt;code&gt;font-size&lt;/code&gt; property, because it enables users to customize their viewing experience with settings on their personal device.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Relative length units&lt;/strong&gt; are also commonly used for changing how a page looks based on a user&apos;s viewport size. It&apos;s how we go about &lt;a href=&quot;https://ashleemboyer.com/blog/tags/responsive-design&quot;&gt;implementing responsive designs&lt;/a&gt; that will work no matter what device, window size, page zoom, or text size a user has.&lt;/p&gt;
&lt;p&gt;So what user actions are we designing for when we use &lt;strong&gt;relative length units&lt;/strong&gt;?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Increasing text size settings&lt;/li&gt;
&lt;li&gt;Resizing a browser window&lt;/li&gt;
&lt;li&gt;Zooming in or zooming out of a page&lt;/li&gt;
&lt;li&gt;Reading from a mobile device&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In all of these situations, what does a user care about most? The content, or the spacing between the content? Which of these two things are vital for understanding the web page?&lt;/p&gt;
&lt;h2&gt;Why shouldn&apos;t I use relative units for margin, padding, or other spacing techniques?&lt;/h2&gt;
&lt;p&gt;When a user is customizing their viewing experience, they thing that&apos;s most important to them and their task at hand is &lt;strong&gt;the content&lt;/strong&gt;. Spacing isn&apos;t often vital for a user to perform their task, so it doesn&apos;t need to grow or scale at the same rate as the content itself.&lt;/p&gt;
&lt;p&gt;When spacing between content grows, it eats up vital real estate and becomes harder to manage. You probably know the pain of horizontal spacing if you&apos;ve worked on a site long enough to add multiple main navigation links over time. You run out of space at double the rate if you scale &lt;code&gt;margin&lt;/code&gt; and &lt;code&gt;padding&lt;/code&gt; exactly like text size!&lt;/p&gt;
&lt;p&gt;In terms of vertical spacing, you also end up making a user&apos;s task harder to complete. There&apos;s nothing you can do about text that has to wrap to the next line based on limited horizontal space, but you don&apos;t want to make pages &lt;em&gt;even taller&lt;/em&gt; because your vertical spacing grows with your text size.&lt;/p&gt;
&lt;p&gt;Tall pages mean more scrolling and work for a user that just wants to read content differently, and they&apos;ll also be even more limited at how much content they can see at one time.&lt;/p&gt;
&lt;h2&gt;Code demo: the difference between absolute and relative units for margin and padding&lt;/h2&gt;
&lt;p&gt;I&apos;m going to &quot;pick on&quot; a page from Subway&apos;s website because it&apos;s the first one that came to mind where I&apos;ve for sure experienced this issue. I don&apos;t have anything against them or the developers that made this website! It&apos;s just helpful to see a real world example, and it&apos;s easier for me than to come up with my own.&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut
title=&quot;Note: This demo&apos;s webpage has multiple accessibility issues.&quot;
type=&quot;disclaimer&quot;&lt;/p&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;This webpage has other issues besides using &lt;code&gt;rem&lt;/code&gt; units for &lt;code&gt;margin&lt;/code&gt; and &lt;code&gt;padding&lt;/code&gt;. My goal in this demonstration is to show how this approach affects &lt;strong&gt;&lt;em&gt;content height&lt;/em&gt;&lt;/strong&gt;, and thus scrolling and readability. There are still reflow issues that occur on the page that require a little bit more code in addition to swapping &lt;code&gt;rem&lt;/code&gt; units for &lt;code&gt;px&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;h3&gt;Before increasing text size&lt;/h3&gt;
&lt;p&gt;At the time of writing (November 2nd, 2023), here&apos;s the basic view of one page without increasing text size. At a high level, it has:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a navigation header with the logo, multiple links, and a few buttons&lt;/li&gt;
&lt;li&gt;a two-column call to action with large text, a description, button, and a Christmas themed graphic&lt;/li&gt;
&lt;li&gt;a three-column breakdown with additional information about the product being sold on the page&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;lt;img
alt=&quot;&quot;
src=&quot;https://res.cloudinary.com/ashleemboyer/image/upload/v1702832787/article-images/SubwayBeforeTextSizeIncrease_a9dkuw.png&quot;
/&amp;gt;&lt;/p&gt;
&lt;h3&gt;After increasing text size&lt;/h3&gt;
&lt;p&gt;To test what happens with only a text size increase, I can add one CSS property to the main &lt;code&gt;&amp;lt;html&amp;gt;&lt;/code&gt; element on the page: &lt;code&gt;font-size: 200%;&lt;/code&gt;. This works by doubling whatever base font size the website is using, and because they use &lt;code&gt;rem&lt;/code&gt; units for actually sizing text.&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut
title=&quot;Related WCAG: Success Criteria 1.4.4 Resize Text and 1.4.10 Reflow&quot;
type=&quot;idea&quot;&lt;/p&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;Curious about this &lt;code&gt;font-size: 200%;&lt;/code&gt; approach? I break down the WCAG requirements related to text resize and this testing approach in a separate post.&lt;/p&gt;
&lt;p&gt;👉🏻 Set yourself up for text-size success with one of my favorite custom bookmarklets: &lt;a href=&quot;https://ashleemboyer.com/blog/an-accessibility-bookmarklet-for-testing-200-percent-text-size&quot;&gt;An Accessibility Bookmarklet for Testing 200% Text Size&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, they also use &lt;code&gt;rem&lt;/code&gt; units for &lt;code&gt;margin&lt;/code&gt; and &lt;code&gt;padding&lt;/code&gt; in most elements. In the next screen recording, we can see that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The navigation header is now extremely tall, taking up almost half of the window height and also covering up the next section of content.&lt;/li&gt;
&lt;li&gt;Less than half of the navigation header content is visible, because most of it is overflowing off the righthand side of the window.&lt;/li&gt;
&lt;li&gt;The two-column call to action section is still two columns, not leaving much horizontal space for all the text it has.&lt;/li&gt;
&lt;li&gt;Within the text column of the call to action section, the space around the text is larger, leaving even less horizontal space to read it. The large text is showing about one word per line, and the smaller text is only showing a couple words per line.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;lt;iframe
title=&quot;Subway&apos;s website with increased text size &amp;amp; rem units for margin and padding&quot;
width=&quot;100%&quot;
height=&quot;400px&quot;
src=&quot;https://www.youtube-nocookie.com/embed/4R8t8Z1H4jc?si=DKw62HBVEFXtnI_T&quot;
frameBorder=&quot;0&quot;
allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot;
allowFullScreen&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;After updating to px units&lt;/h3&gt;
&lt;p&gt;To show what this webpage would look like if it used &lt;code&gt;px&lt;/code&gt; units for &lt;code&gt;margin&lt;/code&gt; and &lt;code&gt;padding&lt;/code&gt; instead of &lt;code&gt;rem&lt;/code&gt; units, I inspected the HTML and CSS using my browser devtools and overwrote some of the CSS values. As we can see in the next screen recording:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The navigation header still has content cut off to the right but it&apos;s much shorter, meaning we have more space to see the main content on the page.&lt;/li&gt;
&lt;li&gt;Since we can see more content at once on the page, the content is easier to understand because there&apos;s more immediate context to get information from while reading.&lt;/li&gt;
&lt;li&gt;In what was the two-column call-to-action, I adjusted the padding around and between groups of text to no longer scale, giving more horizontal space to show the text.&lt;/li&gt;
&lt;li&gt;I also made the two-column call-to-action just one column to decrease the height of the text portion. This demonstrates a large benefit of making the media query for this section use &lt;code&gt;rem&lt;/code&gt; units rather than &lt;code&gt;px&lt;/code&gt; units (article on this approach coming soon).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;lt;iframe
title=&quot;Subway&apos;s website with increased text size &amp;amp; px units for margin and padding&quot;
width=&quot;100%&quot;
height=&quot;400px&quot;
src=&quot;https://www.youtube-nocookie.com/embed/Q_9gOkbWFno?si=LZN1aoiyXnKNnvSz&quot;
frameBorder=&quot;0&quot;
allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot;
allowFullScreen&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;How else can I make my responsive design accessible?&lt;/h2&gt;
&lt;p&gt;It&apos;s your lucky day! I&apos;ve been working on an informal series about accessible responsive design.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Recently posted: &lt;a href=&quot;https://ashleemboyer.com/blog/don-t-use-fixed-css-height-or-width-on-text-containers&quot;&gt;Don&apos;t Use Fixed CSS height or width on Buttons, Links, or Any Other Text Containers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Currently in-progress and coming soon: Why You Should Use &lt;code&gt;rem&lt;/code&gt; instead of &lt;code&gt;px&lt;/code&gt; Units in CSS Media Queries&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>a11y</category><category>css</category><category>design</category><category>mobile</category><category>responsive-design</category><category>web-development</category></item><item><title>Don&apos;t Use Fixed CSS height or width on Buttons, Links, or Any Other Text Containers</title><link>https://ashleemboyer.com/blog/don-t-use-fixed-css-height-or-width-on-text-containers</link><guid isPermaLink="true">https://ashleemboyer.com/blog/don-t-use-fixed-css-height-or-width-on-text-containers</guid><description>Fixed heights and widths risk &apos;loss of content&apos; when text is resized.</description><pubDate>Sat, 07 Oct 2023 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;Why not?&lt;/h2&gt;
&lt;p&gt;Despite some web design tools specifying CSS &lt;code&gt;height&lt;/code&gt; values for elements like buttons, setting &lt;code&gt;height&lt;/code&gt; or &lt;code&gt;max-height&lt;/code&gt; can actually put you at risk for failing &lt;a href=&quot;https://www.w3.org/TR/WCAG22/#resize-text&quot;&gt;WCAG 2.2 Success Criterion 1.4.4 Resize Text&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This Success Criterion requires:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Except for captions and images of text, text can be resized without assistive technology up to 200 percent without loss of content or functionality.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;When using fixed values for CSS properties that affect an element&apos;s computed height and width, text inside of the element will get cut off when text size is increased.&lt;/p&gt;
&lt;h2&gt;Not convinced?&lt;/h2&gt;
&lt;p&gt;You might be thinking, &quot;But when I zoom in my browser to 200% the button text looks fine!&quot; This is probably a common misconception with this Success Criterion. I definitely didn&apos;t know for a while that browser zoom is only part of the story!&lt;/p&gt;
&lt;p&gt;Digging deeper using the &lt;a href=&quot;https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html&quot;&gt;Understanding SC 1.4.4: Resize Text&lt;/a&gt; docs, it says we (the &quot;authors&quot;) have to handle the case when a user only increases the size of their text since their browser (or some other &quot;user agent&quot;) might not have zoom capability.&lt;/p&gt;
&lt;p&gt;The docs say:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If the user agent doesn&apos;t provide zoom functionality but does let the user change the text size, the author is responsible for ensuring that the content remains usable when the text is resized.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This Success Criterion is one reason why it&apos;s good practice to use &lt;code&gt;rem&lt;/code&gt; units for the CSS &lt;code&gt;font-size&lt;/code&gt; property and no units for the &lt;code&gt;line-height&lt;/code&gt; property. Text &lt;strong&gt;must&lt;/strong&gt; be resizeable up to 200% without a mechanism like browser zoom.&lt;/p&gt;
&lt;p&gt;But how? It&apos;s easier to handle than you might think!&lt;/p&gt;
&lt;h2&gt;Code demos&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;Note: For the purpose of these demos, please pretend that we&apos;re using &lt;code&gt;rem&lt;/code&gt; units for &lt;code&gt;font-size&lt;/code&gt;. I use &lt;code&gt;px&lt;/code&gt; units here so as to not inherit the base font styles from my website.&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;Demo 1&lt;/h3&gt;
&lt;p&gt;First, let&apos;s take a look at what happens when text size is increased while using fixed values for &lt;code&gt;font-size&lt;/code&gt;, &lt;code&gt;height&lt;/code&gt;, &lt;code&gt;line-height&lt;/code&gt;, and &lt;code&gt;width&lt;/code&gt;. Before the text size is increased, the button looks great! Not so great after increasing the text size though.&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut id=&quot;demo-1a&quot; title=&quot;Before text size is increased&quot; type=&quot;example&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;button style={{
alignItems: &apos;center&apos;,
appearance: &apos;none&apos;,
border: &apos;1px solid black&apos;,
display: &apos;flex&apos;,
fontFamily: &apos;Arial&apos;,
fontSize: &apos;16px&apos;,
height: &apos;36px&apos;,
justifyContent: &apos;center&apos;,
lineHeight: &apos;18px&apos;,
overflow: &apos;hidden&apos;,
textWrap: &apos;nowrap&apos;,
width: &apos;82px&apos;,
}}&amp;gt;
delete all
&amp;lt;/button&amp;gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;button style=&quot;font-size: 16px; height: 36px; line-height: 18px; width: 82px;&quot;&amp;gt;
  delete all
&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut id=&quot;demo-1b&quot; title=&quot;After text size is increased&quot; type=&quot;example&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;button style={{
alignItems: &apos;center&apos;,
appearance: &apos;none&apos;,
border: &apos;1px solid black&apos;,
display: &apos;flex&apos;,
fontFamily: &apos;Arial&apos;,
fontSize: &apos;32px&apos;,
height: &apos;36px&apos;,
justifyContent: &apos;center&apos;,
lineHeight: &apos;18px&apos;,
overflow: &apos;hidden&apos;,
textWrap: &apos;nowrap&apos;,
width: &apos;82px&apos;,
}}&amp;gt;
delete all
&amp;lt;/button&amp;gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;button style=&quot;font-size: 32px; height: 36px; line-height: 18px; width: 82px;&quot;&amp;gt;
  delete all
&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;h3&gt;Demo 2&lt;/h3&gt;
&lt;p&gt;Now let&apos;s take the same code and try using no units for &lt;code&gt;line-height&lt;/code&gt;, and &lt;code&gt;padding&lt;/code&gt; for affecting the button&apos;s &lt;code&gt;height&lt;/code&gt; and &lt;code&gt;width&lt;/code&gt;. We shouldn&apos;t see the text get cut off at all when the text size is doubled.&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut id=&quot;demo-2a&quot; title=&quot;Demo 2a: Before text size is increased&quot; type=&quot;example&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;button style={{
appearance: &quot;none&quot;,
border: &quot;1px solid black&quot;,
fontFamily: &quot;Arial&quot;,
fontSize: &quot;16px&quot;,
lineHeight: &quot;1.125&quot;,
overflow: &quot;hidden&quot;,
padding: &quot;8px&quot;,
textWrap: &quot;nowrap&quot;,
}}&amp;gt;
delete all
&amp;lt;/button&amp;gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;button style=&quot;font-size: 16px; line-height: 1.125; padding: 8px;&quot;&amp;gt;
  delete all
&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut id=&quot;demo-2b&quot; title=&quot;Demo 2b: After text size is increased&quot; type=&quot;example&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;button style={{
appearance: &quot;none&quot;,
border: &quot;1px solid black&quot;,
fontFamily: &quot;Arial&quot;,
fontSize: &quot;32px&quot;,
lineHeight: &quot;1.125&quot;,
overflow: &quot;hidden&quot;,
padding: &quot;8px&quot;,
textWrap: &quot;nowrap&quot;,
}}&amp;gt;
delete all
&amp;lt;/button&amp;gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;button style=&quot;font-size: 32px; line-height: 1.125; padding: 8px;&quot;&amp;gt;
  delete all
&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;h2&gt;Another approach&lt;/h2&gt;
&lt;p&gt;One technique the Understanding docs for note is &lt;a href=&quot;https://www.w3.org/WAI/WCAG22/Techniques/css/C28&quot;&gt;C28: Specifying the size of text containers using em units&lt;/a&gt;. In my experience I&apos;ve found this approach harder to maintain as viewport sizes shrink.&lt;/p&gt;
&lt;p&gt;Think of a mobile device with large text size settings. It&apos;s possible the text container sized with &lt;code&gt;em&lt;/code&gt; units would end up wider than the viewport. If the text is cut off by the device size, that means we&apos;re at risk for failing not one but two WCAG 2.2 Success Criterion:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/TR/WCAG22/#resize-text&quot;&gt;SC 1.4.4 Resize Text&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/TR/WCAG22/#reflow&quot;&gt;SC 1.4.10 Reflow&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;One option for preventing this while using Technique C28 could be to leverage a CSS property like &lt;code&gt;max-width&lt;/code&gt;, but personally I prefer to use the least number of CSS properties possible (for lower long term maintenance cost). Instead of using &lt;code&gt;width&lt;/code&gt; and &lt;code&gt;max-width&lt;/code&gt; it&apos;s likely we can just use &lt;code&gt;padding&lt;/code&gt; and let the browser do it&apos;s default magic for making elements fit in a viewport.&lt;/p&gt;
</content:encoded><category>a11y</category><category>css</category><category>design</category><category>sc-1-4-4</category><category>sc-1-4-10</category><category>wcag</category><category>web-development</category></item><item><title>How TypeScript Can Improve Developer Accessibility</title><link>https://ashleemboyer.com/blog/how-typescript-can-improve-developer-accessibility</link><guid isPermaLink="true">https://ashleemboyer.com/blog/how-typescript-can-improve-developer-accessibility</guid><description>TypeScript can be a helpful tool for disabled and/or neurodivergent developers.</description><pubDate>Sat, 09 Sep 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;If you&apos;ve been on tech twitter in the past week, you might&apos;ve seen a TypeScript debate that seemingly came out of nowhere. Well, it came from news that &lt;a href=&quot;https://web.archive.org/web/20230909190042/https://world.hey.com/dhh/turbo-8-is-dropping-typescript-70165c01&quot;&gt;Turbo 8 is dropping TypeScript&lt;/a&gt;. There has been all kinds of commentary on this news, but there&apos;s one that&apos;s almost always left out in discussions about developer tooling: developer accessibility.&lt;/p&gt;
&lt;p&gt;Not enough people in software think of developer productivity as effectively being the same thing as developer accessibility. So let&apos;s talk about it! Prepare to go through some of the features of TypeScript that can be especially helpful for disabled and/or neurodivergent developers. I&apos;m listing them in alphabetical order.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If you think something is missing below or want to share the accessibility benefits you experience with TypeScript, &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;send me a tweet&lt;/a&gt; or &lt;a href=&quot;mailto:hello@ashleemboyer.com&quot;&gt;email me&lt;/a&gt;!&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;Code editor tools (code completion, hover tooltips, etc.)&lt;/h2&gt;
&lt;p&gt;The code editor tools that come with TypeScript are my favorite part of TypeScript. Code completion is probably the top one for me. I can be very easily distracted some days (ADHD) or I might be mentally tired from fighting through distractions. Code completion ends up being a tiny &lt;em&gt;helpful&lt;/em&gt; distraction. It keeps me on task and gives me all the options I have at hand as I type. I don&apos;t I have to remember every single detail of whatever code I&apos;m working with. TypeScript does it for me and gives me little reminders. It&apos;s also a lot less typing, which my hands and brain are very grateful for on high pain days.&lt;/p&gt;
&lt;p&gt;The hover tooltips that appear on top of code are also helpful for reducing cognitive overload and increasing productivity. It reduces the scope of understanding a codebase at a high level, rather than having to memorize so many small details and staying on top of changes to them. For example: It&apos;s not important to memorize every possible property of an object that fits under your business logic. Those can change easily at any time and without you knowing if you work on a larger team. It&apos;s impossible to keep track of everything yourself.&lt;/p&gt;
&lt;h2&gt;Maintainable, built-in documentation&lt;/h2&gt;
&lt;p&gt;I&apos;ve worked on all sorts of projects in my career already. From brand-new to several years old, from small to medium sized teams - they all go through the same problems in different flavors. One big problem every development team faces is documentation maintenance. I personally &lt;em&gt;love&lt;/em&gt; writing documentation, and I still think making it maintainable is the hardest part.&lt;/p&gt;
&lt;p&gt;It can&apos;t just be about one person&apos;s process or system for maintaining documentation, because we all think and work differently. Finding a balance across a team&apos;s differing working styles is incredibly important for healthy collaboration. I&apos;ve found that coupling different types of tasks together with the main task you already have the hang of is fairly successful.&lt;/p&gt;
&lt;p&gt;For example: It can be easier to remember to update documentation when it&apos;s a co-located code comment vs. when it&apos;s in a separate Markdown file. This is because it&apos;s right next to where you&apos;re already working. It&apos;s less time than figuring out where the existing documentation might be, or trying to decide where to put new documentation.&lt;/p&gt;
&lt;p&gt;What&apos;s even better is that TypeScript is &lt;em&gt;functional&lt;/em&gt; co-located documentation. When you make a change to a type or interface (which is already part of the code writing process), the documentation is getting updated at the same time because the types are both code and documentation. You may need to update some neighboring code comments as well, but there&apos;s still less steps involved in keeping your codebase&apos;s documentation up to date.&lt;/p&gt;
&lt;h2&gt;Immediate feedback&lt;/h2&gt;
&lt;p&gt;TypeScript provides feedback on your code at compile time, meaning you don&apos;t always have to wait until you run your code to see if it doesn&apos;t work. If you&apos;re writing code that needs to be tested in a browser, switching from your code editor to your browser to do so is a mental context switch.&lt;/p&gt;
&lt;p&gt;These moments can carry large risk for distraction depending on your ability to focus at the time. They can also be exhausting after a while if you have to fight your brain each time to force it to stay focused. Since TypeScript can help reduce the occurrence of some runtime errors before you even leave your code editor, that means less of these context-switching moments, so less risk for distractions and less energy wasted on what&apos;s likely common and minor issues.&lt;/p&gt;
&lt;p&gt;Immediate feedback also reduces the cognitive load needed to figure out why a likely common runtime error happened. Who wants to spend time debugging typos or digging into source code to figure out why you couldn&apos;t access a property on an object that doesn&apos;t actually exist on it? Don&apos;t get me wrong, reading code can interesting and insightful. But if I&apos;m trying to write code efficiently, I don&apos;t want to read other code that much. Working smarter (not harder) means making computers do the heavy lifting for us wherever possible. 😉&lt;/p&gt;
&lt;h2&gt;Onboarding&lt;/h2&gt;
&lt;p&gt;Onboarding to a new codebase regardless of its age or size is no small task. The questions that come to mind in the process are endless, and that can get overwhelming and discouraging fast. It&apos;s also very time consuming, and it can be scary building up the confidence to ask questions to your peers when you&apos;re new and getting to know them.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;What tooling does it use? What tooling does it &lt;em&gt;not&lt;/em&gt; use that you might be accustomed to relying on? What standards does it follow? Where is the documentation (if any)? Who do you ask questions to? Where can you learn the context of various decisions? What areas are people too afraid to change? Does it use camel case or snake case? What ESLint rules does it have (if any) and why? How do different areas connect to the business logic? What is the business logic? Is this particular business logic still relevant? Why is this code here if it doesn&apos;t look like it&apos;s used? Does the person that wrote this still work here? Why does the UI do this? Who asked for this feature? Where is this function defined? How was this data computed before it was passed to this function? ...&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;With TypeScript working as built-in documentation and also having helpful code editor tools for jumping to definitions or showing additional information through hover tooltips, there&apos;s decreased cognitive load needed for navigating a codebase. You don&apos;t have to guess where to find documentation or definitions. You also don&apos;t always have to leave the current file you&apos;re in. And when you start writing code, you&apos;re given suggestions of what&apos;s possible for you to do as you write. You don&apos;t have to pause, leave the current file or section of code, or remember what you were doing and where.&lt;/p&gt;
&lt;p&gt;TypeScript helps you start writing code that does something more quickly, which is beneficial for the contributors or consumers of a codebase. But this isn&apos;t just about the developers that build a product. Developers that are using a software product are going to &lt;strong&gt;&lt;em&gt;keep using it&lt;/em&gt;&lt;/strong&gt; if it helps them do their jobs quickly and successfully. Onboarding developers as users is an important facet of building software as a product.&lt;/p&gt;
</content:encoded><category>a11y</category><category>developer-experience</category><category>disability</category><category>neurodivergence</category><category>typescript</category></item><item><title>Yes, Deaf People Can Listen to Music</title><link>https://ashleemboyer.com/blog/yes-deaf-people-can-listen-to-music</link><guid isPermaLink="true">https://ashleemboyer.com/blog/yes-deaf-people-can-listen-to-music</guid><description>Music is an art that can be experienced by anyone.</description><pubDate>Tue, 05 Sep 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;This isn&apos;t a long post, as there&apos;s not much to say other than &quot;Yes, Deaf People Can Listen to Music&quot;. Deafness is a spectrum and doesn&apos;t automatically mean someone has zero hearing. Disability (which is what I consider my deafnesss, but not all d/Deaf people do) is a spectrum.&lt;/p&gt;
&lt;p&gt;Music and d/Deaf people have existed for the same amount time. We can experience music through sign language interpretation, lipreading, watching musicans perform to the beat, feeling vibrations, and for those of us that use assistive technology like hearing aids or cochlear implants, we can hear some parts of songs. Again, it&apos;s a spectrum. So even with assistive technology we still all have different levels of hearing.&lt;/p&gt;
&lt;p&gt;Here are some resources you can use for further research:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://youtu.be/nKrHhqOQ5mw&quot;&gt;How Do Deaf People Listen To Music? (American Sign Language Vlog) - Rikki Poynter - YouTube&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://youtu.be/dwqSuvFzDdI&quot;&gt;How Do Deaf People Experience Music? - AJ+ - YouTube&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://youtu.be/fvuYTDhi0t0&quot;&gt;How Do Deaf People Experience Music - DITSignLanguageSoc - YouTube&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://nationaldeafcenter.org/resource-items/deaf-101-how-do-deaf-people-listen-to-music/&quot;&gt;Deaf 101: How Do Deaf People Listen To Music? - National Deaf Center&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>a11y</category><category>deafness</category><category>disability</category><category>music</category></item><item><title>TIL #3: Fleegle heel, Right-Lifted Increase, Left-Lifted Increase, and Slip Slip Purl</title><link>https://ashleemboyer.com/blog/today-i-learned-0003</link><guid isPermaLink="true">https://ashleemboyer.com/blog/today-i-learned-0003</guid><description>Here are a few things I learned August 17th, 2023.</description><pubDate>Thu, 17 Aug 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;💡 &lt;em&gt;This post is part of &lt;a href=&quot;https://ashleemboyer.com/blog/series/today-i-learned&quot;&gt;my Today I Learned (TIL) series&lt;/a&gt;. Each section below describes a thing I learned today and the resources I used to learn it.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;The Fleegle heel&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; The vanilla toe-up sock pattern I generated using &lt;a href=&quot;https://knittingrecipes.com/&quot;&gt;KnittingRecipes.com&lt;/a&gt; includes instructions for a short-row heel. After a few attempts and not succeeding at this kind of heel, I remembered having done the Fleegle heel before and really liking it&apos;s magical simplicity for me. I decided to give this heel another try instead.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; I&apos;m using this heel style for a pair of socks for my husband.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource I referenced:&lt;/strong&gt; &lt;a href=&quot;http://fleeglesblog.blogspot.com/2006/11/leegles-toe-up-no-flap-no-hassle-sock.html&quot;&gt;Fleegle&apos;s Blog: Fleegle&apos;s Toe-Up No-Flap, No-Hassle Sock Pattern&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Preventing holes in the Fleegle heel&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; The resource I linked in the previous section &lt;em&gt;also&lt;/em&gt; had an insightful approach to preventing holes in the ankle area of the sock heel. We love a sock without holes!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; I used this in the same pair of socks.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource I referenced:&lt;/strong&gt; &lt;a href=&quot;http://fleeglesblog.blogspot.com/2007/09/no-sock-holes-for-you.html&quot;&gt;Fleegle&apos;s Blog: No Sock Holes For You&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Right-lifted increase and left-lifted increase&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; These are right- and left-leaning increases that help give a certain shape and direction of texture when used strategically.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; Also in the same pair of socks.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resources I referenced:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.azaleaandrosebudknits.com/blog/lifted-increases-tutorial-rli-lli&quot;&gt;Lifted Increases Tutorial: RLI &amp;amp; LLI - Azalea &amp;amp; Rosebud Knits&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=VZ01r1hWGks&quot;&gt;Knitting Help - Lifted Increases - VeryPink Knits&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Slip, slip, purl decrease&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; This is decrease that leans (good for shaping and direction of texture) and is created from the wrong-side of the sock. It was used in the heel-turn decreases.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; Same pair of socks!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource I referenced:&lt;/strong&gt; &lt;a href=&quot;https://www.youtube.com/watch?v=vmzjBKeyQjY&quot;&gt;Knitting Help - Slip, Slip, Purl (SSP) - VeryPink Knits&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>hobbies</category><category>knitting</category><category>learning</category><category>skills</category><category>socks</category><category>til</category></item><item><title>TIL #2: grid-auto-rows CSS property and Judy&apos;s Magic Cast-On</title><link>https://ashleemboyer.com/blog/today-i-learned-0002</link><guid isPermaLink="true">https://ashleemboyer.com/blog/today-i-learned-0002</guid><description>Here are a few things I learned today (August 5th, 2023).</description><pubDate>Sat, 05 Aug 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;💡 &lt;em&gt;This post is part of &lt;a href=&quot;https://ashleemboyer.com/blog/series/today-i-learned&quot;&gt;my Today I Learned (TIL) series&lt;/a&gt;. Each section below describes a thing I learned today and the resources I used to learn it.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;CSS property &lt;code&gt;grid-auto-rows&lt;/code&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; While working on my website migration to use the Next.js App Router, I noticed that at smaller/zoomed viewports my grids of blog post links have different sized heights. I think grids of card-like elements look nice with equally sized rows and heights, so I Googled &quot;css make rows in a grid same height&quot;. That search led me to the &lt;code&gt;grid-auto-rows&lt;/code&gt; CSS property.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; All I needed to do in my case for this to work was add &lt;code&gt;grid-auto-rows: 1fr;&lt;/code&gt; to my CSS class that set &lt;code&gt;display: grid;&lt;/code&gt;. I figured I would need a &lt;code&gt;height: 100%;&lt;/code&gt; on the child elements, but I didn&apos;t!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resources I referenced:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://ambientimpact.com/web/snippets/equal-height-rows-in-css-grid-layout&quot;&gt;Equal height rows in CSS Grid Layout - Matei Stanca&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-rows&quot;&gt;&lt;code&gt;grid-auto-rows&lt;/code&gt; - MDN&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://css-tricks.com/almanac/properties/g/grid-auto-rows/&quot;&gt;&lt;code&gt;grid-auto-rows&lt;/code&gt; - CSS-Tricks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3schools.com/cssref/pr_grid-auto-rows.php&quot;&gt;CSS &lt;code&gt;grid-auto-rows&lt;/code&gt; Property - W3Schools&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Judy&apos;s Magic Cast-on&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; I&apos;ve actually done this cast-on many times, but it&apos;s been many months and I couldn&apos;t remember. I&apos;ve always used it for casting on toe-up socks. I&apos;m actually not sure if it&apos;s used in other patterns! Maybe finger-up mittens? 😂&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; I finished knitting my friend&apos;s baby items so it was time to start a new project. I promised my partner my next project would be a pair of socks for him! I tend to only knit toe-up socks so I needed to recall this fancy cast-on.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resources I referenced:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://youtu.be/GV9UaFgZ6Q0&quot;&gt;Knitting Help - Judy&apos;s Magic Cast-On (VeryPink Knits)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://youtu.be/MglfYj7tMiU&quot;&gt;Knitting Help - Slow Motion Judy&apos;s Magic Cast-On (VeryPink Knits)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>css</category><category>knitting</category><category>learning</category><category>skills</category><category>til</category></item><item><title>TIL #1: Figma Boolean Operations, Knitting Duplicate Stitch, &amp; Next.js Absolute Imports</title><link>https://ashleemboyer.com/blog/today-i-learned-0001</link><guid isPermaLink="true">https://ashleemboyer.com/blog/today-i-learned-0001</guid><description>Here are a few things I learned today (August 4th, 2023).</description><pubDate>Fri, 04 Aug 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;💡 &lt;em&gt;This post is part of &lt;a href=&quot;https://ashleemboyer.com/blog/series/today-i-learned&quot;&gt;my Today I Learned (TIL) series&lt;/a&gt;. Each section below describes a thing I learned today and the resources I used to learn it.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;Figma Boolean Operations&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; I&apos;m currently working on migrating my website to use &lt;a href=&quot;https://nextjs.org/docs/app&quot;&gt;the Next.js App Router&lt;/a&gt;. In this process, I&apos;m cleaning up old code and dependencies that I don&apos;t really need. One of those dependencies is &lt;a href=&quot;https://fontawesome.com/&quot;&gt;FontAwesome&lt;/a&gt;. I only used a few of the icons, and I wanted to give creating my own icons a try. I started with basic arrows.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; I made my arrow Icons out of 3 rectangles, each with the same &lt;code&gt;border-radius&lt;/code&gt; on every corner. After I placed them in an arrow shape, I selected each rectangle, clicked the boolean operation menu in the top center toolbar, and selected the &quot;Union selection&quot; option. It was a lot easier to do than I thought it would be! Then I coped the new union as SVG, and pasted it into an &lt;code&gt;.svg&lt;/code&gt; file in my code. Tada! Icon created.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource I referenced:&lt;/strong&gt; &lt;a href=&quot;https://help.figma.com/hc/en-us/articles/360039957534-Boolean-operations&quot;&gt;Boolean operations - Figma Help Center&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Knitting Duplicate Stitch&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; My friend is having a baby soon, and I&apos;m making a few knit items to gift at the baby shower. She loves all things spooky and fall so I chose the pieces based on that. One of the pieces uses the stranded colorwork technique for its pattern, and the other uses the duplicate stitch. I&apos;d never done duplicate stitch before, but I didn&apos;t let that stop me! I&apos;m an experienced knitter so I was ready for the challenge.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; The piece that I needed the duplicate stitch for is a small black hat with a pumpkin. The pumpkin and its stem are the contrasting colors, so that&apos;s where the duplicate stitch was required. IT TURNED OUT SO CUTE. I&apos;ll post it under &lt;a href=&quot;https://ashleemboyer.com/projects&quot;&gt;the projects section of my site&lt;/a&gt; after it&apos;s been gifted.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resources I referenced:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=-cfmjyaaAdw&quot;&gt;Knitting Help - Duplicate Stitch - VeryPink Knits&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=8q5Qx5NEzUU&quot;&gt;Knitting Help - Slow Motion Duplicate Stitch - VeryPink Knits&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Next.js Absolute Imports&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Why I learned this:&lt;/strong&gt; As I mentioned above, I&apos;m migrating my website to use &lt;a href=&quot;https://nextjs.org/docs/app&quot;&gt;the Next.js App Router&lt;/a&gt;. Since I have cleanup tasks that affect most of the codebase, I decided to create a new project from scratch. I took the opportunity to remind myself how to configure absolute imports.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How I used this:&lt;/strong&gt; When I added the arrow icon to my fresh project, I wanted to add it to the main &lt;code&gt;components&lt;/code&gt; folder. It was my first main component, so I had to create the folder. When it came time to import the icon the import statement wasn&apos;t very pretty! I knew changes needed to be made in my &lt;code&gt;tsconfig.json&lt;/code&gt; file, but I couldn&apos;t remember it exactly. I did a quick Google and it turns out all I needed to do was set the &lt;code&gt;compilerOptions.baseUrl&lt;/code&gt; option to &lt;code&gt;&quot;.&quot;&lt;/code&gt;. Easy peasy!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource I referenced:&lt;/strong&gt; &lt;a href=&quot;https://nextjs.org/docs/app/building-your-application/configuring/absolute-imports-and-module-aliases#absolute-imports&quot;&gt;Configuring Absolute Imports and Module Path Aliases - Next.js&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>design</category><category>figma</category><category>hobbies</category><category>knitting</category><category>learning</category><category>skills</category><category>til</category></item><item><title>Being Vulnerable Is Traumatic: What the Push for Storytelling in DEI Misses</title><link>https://ashleemboyer.com/blog/being-vulnerable-is-traumatic-what-the-push-for-storytelling-in-dei-misses</link><guid isPermaLink="true">https://ashleemboyer.com/blog/being-vulnerable-is-traumatic-what-the-push-for-storytelling-in-dei-misses</guid><description>Expecting vulnerability is unfair when it&apos;s not safe to be vulnerable.</description><pubDate>Mon, 24 Jul 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;A few months ago I checked out Brené Brown&apos;s &lt;a href=&quot;https://brenebrown.com/book/the-gifts-of-imperfection/&quot;&gt;&lt;em&gt;The Gifts of Imperfection&lt;/em&gt;&lt;/a&gt; from my local library. I haven&apos;t finished it yet, probably because the first few pages hit me in a way I wasn&apos;t expecting. I know I will need to be in a safer headspace to finish reading this one. Here are some of the quotes that stood out to me and helped me better understand what I&apos;ve gone through over the years.&lt;/p&gt;
&lt;p&gt;Quote 1:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;One thing that&apos;s become very clear to me is that the experience of sharing our vulnerability is not the same for all of us. ... The greatest casualty of trauma--the thing that trauma often takes away from us--is the emotional, and sometimes even physical, safety that is necesary for us to be vulnerable.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Quote 2:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Dehumanization--the core of racism, sexism, homophobia, transphobia, xenophobia, and all systemic forms of oppression and/or bias--is a form of daily trauma. You only have to witness someone who shares your identity suffering to experience real emotional and physical trauma.&lt;/p&gt;
&lt;p&gt;Many of these systemic forms of trauma are so pervasive that asking people to embrace vulnerability and imperfections without taking into consideration their lived experience can be asking them to do something that is not emotionally or even physically safe in all environments.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Quote 3:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;None of us can fully embrace the gifts of vulnerability, courage, and authenticity if any of us are denied those gifts because of who we are or what we&apos;ve endured. Being imperfect, authentic, and vulnerable is a function of being human--not a privilege afforded to those who can get away with it without being labeled, dimissed, and judged.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;A large part of my personal journey of self acceptance has been learning more about trauma, and that it&apos;s something that doesn&apos;t just affect military veterans, first responders, survivors of physical abuse, etc. It affects most of us at varying degrees. These quotes helped me realize that I&apos;ve actually been through a significant amount of trauma in my career.&lt;/p&gt;
&lt;p&gt;Based on these quotes... I now know how my work in web accessibility is actually traumatic for me.&lt;/p&gt;
&lt;p&gt;In my experience, I&apos;ve had to do more advocacy on behalf of my communities than teaching how to make the web accessible. Most places I&apos;ve worked believe that accessibility is important, but they tend to only have a surface-level understanding of what accessibility and disability inclusion are. Even in the most accessibility-forward organizations, I&apos;ve had to advocate for my communities at almost every single step.&lt;/p&gt;
&lt;p&gt;There are still countless stigmas, stereotypes, and biases that disabled people are dramatic, making things up, or looking for attention. Not only am I constantly witnessing people from my communities being harmed by accessibility barriers (and experiencing them myself), I&apos;m also constantly in a position where non-disabled people need convinced that something is in fact an accessibility barrier.&lt;/p&gt;
&lt;p&gt;It hurts to see what people think of my community, because that&apos;s also what they think of me. It&apos;s invalidating and dehumanizing. It&apos;s personal. It&apos;s a fight that&apos;s rigged in the favor of the non-disabled people in positions of power. It&apos;s why we need people from marginalized backgrounds in positions of power, and why we should accept their life experiences as strong expertise and be paid for it.&lt;/p&gt;
&lt;p&gt;I happen to be someone that&apos;s very vocal about my identity, experiences, and accessibility needs. I&apos;m not sure when that started because I used to be pretty shy growing up. Now it&apos;s sort of involuntary and takes me more work to not be vocal. But I also continue to be vocal because I know there are countless people who can&apos;t. I&apos;m very privileged to have the means to speak up.&lt;/p&gt;
&lt;p&gt;And this is where the push for storytelling &amp;amp; vulnerability in DEI falls so, so short. The majority of people pushing for it are already in positions of power, where they&apos;re more safe from bias and judgement than those around them that aren&apos;t in positions of power. They&apos;re skipping steps and not following through when they ask others to be vulnerable. The people in power aren&apos;t checking if environments are even safe for vulnerability, and they aren&apos;t putting systems in place that actually protect folks when they decide to be vulnerable.&lt;/p&gt;
&lt;p&gt;So if you&apos;re someone in a position of power &amp;amp; push for the people around you to be more vulnerable, stop and seriously check if that&apos;s possible for them. Don&apos;t take just anyone&apos;s word for it either. Really dig and do your research. Listen to what people are saying, and also what they&apos;re not saying. Establish trust. Provide anonymous methods of feedback. Consider the possibility that what you&apos;re asking folks to do is an impossible choice: be vulnerable when it&apos;s entirely unsafe, or potentially lose a job for not doing what someone above them said to do.&lt;/p&gt;
</content:encoded><category>trauma</category><category>trust</category><category>vulnerability</category></item><item><title>My Neurodivergent Narratives #1</title><link>https://ashleemboyer.com/blog/neurodivergent-narratives-0001</link><guid isPermaLink="true">https://ashleemboyer.com/blog/neurodivergent-narratives-0001</guid><description>I tried to clean a fan. I ended up doing a whole bunch of other stuff. And almost forgot to clean my fan.</description><pubDate>Mon, 27 Mar 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;em&gt;This post was written Monday, March 20th, 2023.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Today was an &lt;em&gt;adventure&lt;/em&gt;. And in a good way! 😊 Quite a few funny things happened, but it&apos;s currently after 11:00pm and I&apos;m too tired to remember them all.&lt;/p&gt;
&lt;p&gt;First, some context: My fiancé recently moved his desk to our space-y living room. We used to share a room as an office. The layout was slightly cramped with our 2 dogs&apos; giant pile of pillows and blankets, and it was often difficult to figure out who could have their microphone on at various times of the day. It was also easy for me to get distracted sometimes when he was on his microphone. But since he volunteered to move his desk, I have my own office!&lt;/p&gt;
&lt;p&gt;We love the new set up. I like to physically compartmentalize my work space away from my life space (so grateful for the privilege). It used to mean that my fiancé would continue to hang out and game in the room we shared while I spent my after work time in the living room. Now we&apos;re in close proximity during these times! It&apos;s so fun that I can play games on our living room TV while he plays games on his computer next to the couch. 💖&lt;/p&gt;
&lt;p&gt;With the context out of the way: I&apos;ve been slowly working on making the room a cute and cozy space. Being cozy while working is a necessity for me. I have an easier time keeping my mind clear and focused when I&apos;m comfy. One of my favorite things about working from home is that I can wear sweatpants &lt;em&gt;all the time&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;One of today&apos;s tasks for cozy-fying my office was cleaning a little box fan. Since we have dogs, the fan can collected a lot of dog hair and dust. Unfortunately this lil&apos; brain of mine forgets about this until it&apos;s very visible on the fan. 😅&lt;/p&gt;
&lt;p&gt;This is really unhelpful for the yearround sinus issues I experience! In the springtime (which is basically now in Indiana, or something we like to call fake spring lol) my sinus issues get worse and I tend to get more migraines than usual. Plus, the fan was not pretty to look at. Can&apos;t have that in what&apos;s supposed to be cozy room now can we???&lt;/p&gt;
&lt;p&gt;To clean the fan, I needed to go to my car to get the cleaning supplies. They were in there because I take them to my Grandma&apos;s house when I clean over there. Here are the events that followed in this adventure:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Found easy shoes to wear to the car&lt;/li&gt;
&lt;li&gt;Decided to take the trash out while I was at it&lt;/li&gt;
&lt;li&gt;Fiancé decided to come outside with me and enjoy the weather&lt;/li&gt;
&lt;li&gt;I used my key fob to unlock my car&lt;/li&gt;
&lt;li&gt;We took the trash out together on the way to my car&lt;/li&gt;
&lt;li&gt;My car had decided to lock itself at some point, so I gave it the bird&lt;/li&gt;
&lt;li&gt;We walked to the mailbox to check it&lt;/li&gt;
&lt;li&gt;Fiancé decided he wanted to take the dogs on a mini walk while I went back out to my car&lt;/li&gt;
&lt;li&gt;Proposed an adventure: we could all go pick up a package together and enjoy a short Windows Down Day drive&lt;/li&gt;
&lt;li&gt;We went out to get my package&lt;/li&gt;
&lt;li&gt;We went to the gas station to get cold drinks&lt;/li&gt;
&lt;li&gt;Finally, we got home and all went inside&lt;/li&gt;
&lt;li&gt;I completely forgot my cleaning supplies in my car&lt;/li&gt;
&lt;li&gt;Went to the car again and grabbed the supplies&lt;/li&gt;
&lt;li&gt;Realized that this entire thing started with me wanting to clean a fan&lt;/li&gt;
&lt;li&gt;I cleaned the fan outside and enjoyed thinking about how fun and classically ADHD this was&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I also spent time thinking about how to share my experience for other people to laugh about. There are a lot of tips &amp;amp; life hacks I&apos;ve wanted to share too. In the year (and a few days) since being officially diagnosed with ADHD, I&apos;ve learned so many helpful things that make my life easier and bring me further in accepting &amp;amp; loving my brain &amp;amp; body.&lt;/p&gt;
&lt;p&gt;I&apos;ve also really missed writing. This is my first post of 2023! I spent the end of 2022 working on trauma healing and burnout recovery, so there was a lot I wanted to do but couldn&apos;t. I&apos;m not magically healed now 3 months later, but I&apos;m feeling good again and ready to continue creating art from the things I&apos;ve experienced and am experiencing.&lt;/p&gt;
&lt;p&gt;This brings me to this new series: &lt;a href=&quot;https://ashleemboyer.com/blog/series/my-neurodivergent-narratives&quot;&gt;My Neurodivergent Narratives&lt;/a&gt;. I plan to write as much as my brain allows me about my journey as a late-diagnosed neurodivergent. I&apos;m very proud of my progress, and I know I have lots of goodies to share that can potentially help someone else. I also hope to aggressively challenge many stigmas I&apos;ve come to understand better, in a way that helps other people love and accept themselves more.&lt;/p&gt;
&lt;p&gt;I&apos;m still learning of course, and I am no spokesperson of the neurodivergent community. What I write about here is my own experience. I&apos;ll probably get some things wrong! I&apos;ve been afraid of that for a while because I&apos;m still so new in my journey. But I&apos;ve also come a long way and want to spread the love and acceptance as far as possible.&lt;/p&gt;
&lt;p&gt;We&apos;re all doing the best we can with what we have, and that is 100% enough. 💗&lt;/p&gt;
</content:encoded><category>about-me</category><category>adhd</category><category>neurodivergence</category></item><item><title>Don&apos;t Overwrite Visual Labels With `aria-label`</title><link>https://ashleemboyer.com/blog/don-t-overwrite-visual-labels-with-aria-label</link><guid isPermaLink="true">https://ashleemboyer.com/blog/don-t-overwrite-visual-labels-with-aria-label</guid><description>Users suffer when the accessible name of an element doesn’t match its visual label.</description><pubDate>Thu, 01 Sep 2022 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;The &lt;code&gt;aria-label&lt;/code&gt; property can be extremely useful when used correctly. When used incorrectly, it can wreak havoc on speech-input user experiences. It&apos;s an easy mistake to make and luckily it&apos;s pretty easy to fix!&lt;/p&gt;
&lt;p&gt;For the &lt;strong&gt;TL;DR&lt;/strong&gt;: jump to &lt;a href=&quot;#how-do-i-fix-mismatched-aria-labels-and-visual-labels&quot;&gt;How do I fix mismatched &lt;code&gt;aria-label&lt;/code&gt;s and visual labels?&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;A note about Voice Control&lt;/h2&gt;
&lt;p&gt;As of my understanding in July 2024, Apple&apos;s Voice Control requires its users to say an element&apos;s &lt;em&gt;entire&lt;/em&gt; Accessible Name to interact with it. So while &lt;a href=&quot;https://www.w3.org/TR/WCAG21/#label-in-name&quot;&gt;SC 2.5.3: Label in Name&lt;/a&gt; only states the Accessible Name must &lt;em&gt;contain&lt;/em&gt; the label, it&apos;s best to make the visible label and Accessible Name match exactly.&lt;/p&gt;
&lt;p&gt;Thank you &lt;a href=&quot;https://x.com/toriclarka11y/status/1652468409328627717&quot;&gt;Tori Clark for tweeting this info to me&lt;/a&gt; back in April of 2023. Sorry it took so long to add here!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;What is the &lt;code&gt;aria-label&lt;/code&gt; property?&lt;/h2&gt;
&lt;p&gt;As defined by the WAI-ARIA 1.2 standards, &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.2/#aria-label&quot;&gt;the &lt;code&gt;aria-label&lt;/code&gt; property&lt;/a&gt; &quot;defines a string value that labels the current element&quot;. It has the same purpose as &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.2/#aria-labelledby&quot;&gt;the &lt;code&gt;aria-labelledby&lt;/code&gt; property&lt;/a&gt;, which references another element that labels the current element. The purpose of both of these properties is to provide an &lt;a href=&quot;https://www.w3.org/TR/accname-1.1/#dfn-accessible-name&quot;&gt;Accessible Name&lt;/a&gt; of the current element.&lt;/p&gt;
&lt;p&gt;Related to these properties is the &lt;code&gt;aria-describedby&lt;/code&gt; property, which references another element that describes the current element. The purpose of this property is to provide an &lt;a href=&quot;https://www.w3.org/TR/accname-1.1/#dfn-accessible-description&quot;&gt;Accessible Description&lt;/a&gt; for the current element. The Accessible Name should be concise, and the Accessible Description should be more verbose and complement the Accessible Name.&lt;/p&gt;
&lt;p&gt;The Accessible Name is part of what screen readers use to announce elements to a user when they come into focus. A &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; with no &lt;code&gt;aria-label&lt;/code&gt; and plain text between its opening and closing tags would have an Accessible Name that matches its plain text. That same &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; can have its Accessible Name overridden with something completely different using the &lt;code&gt;aria-label&lt;/code&gt; property.&lt;/p&gt;
&lt;p&gt;Use the next two example code snippets to compare how the same button sounds with and without an &lt;code&gt;aria-label&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut id=&quot;example-1&quot; title=&quot;Example 1: &amp;lt;button&amp;gt; with no aria-label&quot; type=&quot;example&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;The code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;button&amp;gt;OK&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The output:&lt;/p&gt;
&lt;p&gt;&amp;lt;br /&amp;gt;
&amp;lt;button&amp;gt;OK&amp;lt;/button&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut id=&quot;example-2&quot; title=&quot;Example 2: &amp;lt;button&amp;gt; with an aria-label&quot; type=&quot;example&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;The code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;button aria-label=&quot;Confirm selection&quot;&amp;gt;OK&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The output:&lt;/p&gt;
&lt;p&gt;&amp;lt;br /&amp;gt;
&amp;lt;button aria-label=&quot;Confirm selection&quot;&amp;gt;OK&amp;lt;/button&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;h2&gt;Why does &lt;code&gt;aria-label&lt;/code&gt; need to match the visible label?&lt;/h2&gt;
&lt;p&gt;First of all, an &lt;code&gt;aria-label&lt;/code&gt; must match its element&apos;s visible label because there is a Level A WCAG Success Criterion that says so. &lt;a href=&quot;https://www.w3.org/TR/WCAG21/#label-in-name&quot;&gt;SC 2.5.3: Label in Name&lt;/a&gt; says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;For user interface components with labels that include text or images of text, the name contains the text that is presented visually.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This means that the Accessible Name computed for an element should contain the text of the element&apos;s visual label. One best practice for this is to have the Accessible Name start with the visual label&apos;s text. So if a link contains the text &quot;Learn more&quot; and the author of that link wants to include more information about the link&apos;s purpose in the &lt;code&gt;aria-label&lt;/code&gt;, a good practice is to start the &lt;code&gt;aria-label&lt;/code&gt; with &quot;Learn more&quot;.&lt;/p&gt;
&lt;p&gt;If you&apos;re like me and my ADHD brain, you might need a little more reasoning than &quot;the rules say so&quot; to motivate you to follow the rules. A lot of people don&apos;t like being told what to do, and that&apos;s fine!&lt;/p&gt;
&lt;p&gt;So why do we need to follow Success Criterion 2.5.3? It partially has to do with speech recognition technology. As it turns out, the Accessible Name for elements is how speech-input users can interact with elements in a web page.&lt;/p&gt;
&lt;p&gt;Referencing our two previous examples:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A speech-input user can activate the button from &lt;a href=&quot;#example-1&quot;&gt;Example 1&lt;/a&gt; by saying &quot;Click OK&quot;. This is because the Accessible Name for that button is &quot;OK&quot;.&lt;/li&gt;
&lt;li&gt;A speech-input user cannot activate the button in &lt;a href=&quot;#example-2&quot;&gt;Example 2&lt;/a&gt; in the same way. This is because the Accessible Name for that button is &quot;Confirm selection&quot;. If a speech-input user wanted to activate this button, they would have to say &quot;Click confirm selection&quot;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For speech-input users who rely on visual labels to come up with voice commands, there is no way for them to know before speaking a command if the Accessible Name of an element differs from its visual label. They will have to speak a command and find out if it does or does not work. If a command doesn&apos;t work, they may retry a couple of times. If the command does not work at all because the Accessible Name doesn&apos;t match the visual label, their energy has been wasted and they&apos;re also stuck.&lt;/p&gt;
&lt;h2&gt;What happens when &lt;code&gt;aria-label&lt;/code&gt; doesn&apos;t match the visible label?&lt;/h2&gt;
&lt;p&gt;As I wrote this article, I started to learn about Voice Control on Mac. I wanted to see if I could find a real-world example of speech-input navigation being broken due to mismatched visual labels and accessible names. I found a couple of examples right on the Twitter home page.&lt;/p&gt;
&lt;p&gt;Unfortunately, more than half of the main navigation links have accessible names that don&apos;t match their visual labels. Even in the cases where a link&apos;s &lt;code&gt;aria-label&lt;/code&gt; began with the text in the visual label, I was not successful in activating those links with speech input. I made countless attempts.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Home: The &lt;code&gt;aria-label&lt;/code&gt; for this link is dynamic. If there are unread tweets in a user&apos;s feed, then the &lt;code&gt;aria-label&lt;/code&gt; reads &quot;Home (New unread Tweets)&quot;. The &quot;Click Home&quot; command only activates this link if there are no unread tweets.&lt;/li&gt;
&lt;li&gt;Explore: The &lt;code&gt;aria-label&lt;/code&gt; for this link is &quot;Search and explore&quot;. Saying &quot;Click Explore&quot; does not activate this link.&lt;/li&gt;
&lt;li&gt;Notifications: The &lt;code&gt;aria-label&lt;/code&gt; for this link is dynamic. If a user has 2 notifications, for example, the &lt;code&gt;aria-label&lt;/code&gt; is &quot;Notifications (2 unread notifications)&quot;. The &quot;Click Notifications&quot; command only activates this link if a user has 0 unread notifications.&lt;/li&gt;
&lt;li&gt;Messages: The &lt;code&gt;aria-label&lt;/code&gt; for this link is dynamic. If a user has unread messages from one other user, for example, the &lt;code&gt;aria-label&lt;/code&gt; is &quot;Direct Messages (1 unread conversation)&quot;. If there are no unread messages, the &lt;code&gt;aria-label&lt;/code&gt; is &quot;Direct Messages&quot;. The &quot;Click messages&quot; command does not ever work.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here&apos;s a quick demo of me trying to activate the &quot;Messages&quot; link that shows on the home page of Twitter:&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe
title=&quot;Voice Control Demo - Twitter Messages link&quot;
width=&quot;100%&quot;
height=&quot;350&quot;
src=&quot;https://www.youtube-nocookie.com/embed/FBiKOt-ipO0&quot;
frameBorder=&quot;0&quot;
allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture&quot;
allowFullScreen&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Are there other users that benefit from &lt;code&gt;aria-label&lt;/code&gt; matching the visible label?&lt;/h2&gt;
&lt;p&gt;This article primarily focuses on the sighted speech-input user&apos;s experience, but there are other users affected by this issue as well. Think of a sighted screen reader user that comes across the &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; element in &lt;a href=&quot;#example-2&quot;&gt;Example 2&lt;/a&gt;. It is presented by their screen reader as &quot;Confirm selection, button&quot;, but the text in the button says &quot;OK&quot;.&lt;/p&gt;
&lt;p&gt;This can be a very confusing and stressful experience for the user. How can they be certain the issue is with the website and not their own action? We&apos;re imposing an extra cognitive load on the user to process the mismatched audio and visual experiences. There is also extra cognitive load required to first memorize the behavior, and then recall it the next time they come across the element.&lt;/p&gt;
&lt;p&gt;It&apos;s not necessary or kind to do this to users. It&apos;s energy-draining, and energy is an extremely limited resource for all kinds of people who rely on accessible interfaces.&lt;/p&gt;
&lt;h2&gt;How do I fix mismatched &lt;code&gt;aria-label&lt;/code&gt;s and visual labels?&lt;/h2&gt;
&lt;p&gt;Now that you know mismatching &lt;code&gt;aria-label&lt;/code&gt; and visual labels is harmful to speech-input users, how do you go about preventing that harm? First, I&apos;d recommend reading &lt;a href=&quot;https://sarahmhigley.com/writing/playing-with-state/&quot;&gt;Playing with state&lt;/a&gt; by Sarah Higley and &lt;a href=&quot;https://adrianroselli.com/2020/12/be-careful-with-dynamic-accessible-names.html&quot;&gt;Be Careful with Dynamic Accessible Names&lt;/a&gt; by Adrian Roselli.&lt;/p&gt;
&lt;p&gt;Second, think about whether or not you need to provide an &lt;code&gt;aria-label&lt;/code&gt; for the element that differs from its visual label. Some cases that come to mind:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Are there duplicate visual labels?
&lt;ul&gt;
&lt;li&gt;Your markup can generally be improved by ensuring all visual labels are unique. This is beneficial for screen reader navigation.&lt;/li&gt;
&lt;li&gt;The speech recognition technology probably has a way to help the user choose which element they want. With Voice Control on Mac, a number appears next to the elements with matching Accessible Names after the command is spoken. Then you&apos;re able to say the number of the element you want to activate.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Is the content of the element plain text? Omit the &lt;code&gt;aria-label&lt;/code&gt; property. The computed accessible name for the element will be its text content.&lt;/li&gt;
&lt;li&gt;Is the element a toggle button? Reference the &lt;a href=&quot;https://sarahmhigley.com/writing/playing-with-state/&quot;&gt;Playing with state&lt;/a&gt; article I mentioned and also check out the &lt;a href=&quot;https://inclusive-components.design/toggle-button/&quot;&gt;Toggle Buttons&lt;/a&gt; writeup from Inclusive Components. The &lt;code&gt;aria-pressed&lt;/code&gt; property better suits your needs than a dynamic &lt;code&gt;aria-label&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After you&apos;ve spent time thinking thoroughly about your &lt;code&gt;aria-label&lt;/code&gt;s and visual labels, make the updates and &lt;strong&gt;test them with your users&lt;/strong&gt;. It&apos;s hard for us to know if something is usable if it doesn&apos;t intersect with our own needs. The only experiences we can truly be experts in are our own. Don&apos;t miss the step where you get your information from the source of truth: your users with expertise in their lived experiences.&lt;/p&gt;
&lt;h2&gt;Related Resources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.briandeconinck.com/designing-coding-voice/&quot;&gt;Designing and coding for voice&lt;/a&gt; [Brian DeConinck]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://a11yrules.com/podcast/tori-clark-talks-about-visible-labels-and-dragon/&quot;&gt;Tori Clark talks about visible labels and Dragon&lt;/a&gt; [A11y Rules Podcast]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.sarasoueidan.com/blog/accessible-icon-buttons/&quot;&gt;Accessible Icon Buttons&lt;/a&gt; [Sara Soueidan]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.tempertemper.net/blog/buttons-with-icons-and-text&quot;&gt;Buttons with icons and text&lt;/a&gt; [Martin Underhill]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.tempertemper.net/blog/what-i-wish-was-in-wcag-prohibit-icon-only-buttons&quot;&gt;What I wish was in WCAG: prohibit icon-only buttons&lt;/a&gt; [Martin Underhill]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.tpgi.com/testing-with-speech-recognition/&quot;&gt;Testing with speech recognition&lt;/a&gt; [TPGi]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/perspective-videos/voice/&quot;&gt;Perspective Video: Speech Recognition&lt;/a&gt; [Web Accessibility Initiative]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/people-use-web/user-stories/story-one/&quot;&gt;Stories of Web Users: Ade&apos;s Story&lt;/a&gt; [Web Accessibility Initiative]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://support.apple.com/en-us/102225&quot;&gt;Use Voice Control on your Mac&lt;/a&gt; [Apple Support]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://support.apple.com/en-us/111778&quot;&gt;Use Voice Control on your iPhone, iPad, or iPod touch&lt;/a&gt; [Apple Support]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=FXzXiOl7O4U&amp;amp;list=PLRFp5KqXtQ6yFAnF0DPUJYRbXnaTjMSQE&amp;amp;index=1&quot;&gt;YouTube Playlist: Dragon in Action&lt;/a&gt; [Nuance Communications Channel]&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Article Updates&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;&amp;lt;time dateTime=&quot;2022-09-01&quot;&amp;gt;September 9, 2022&amp;lt;/time&amp;gt;:&lt;/strong&gt; First published.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&amp;lt;time dateTime=&quot;2023-04-24&quot;&amp;gt;April 24, 2023&amp;lt;/time&amp;gt;:&lt;/strong&gt; Added Related Resources section with one link (Designing and coding for voice).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&amp;lt;time dateTime=&quot;2024-07-09&quot;&amp;gt;July 9, 2024&amp;lt;/time&amp;gt;:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Added TL;DR jump link.&lt;/li&gt;
&lt;li&gt;Added &lt;a href=&quot;#table-of-contents&quot;&gt;Table of Contents&lt;/a&gt; section.&lt;/li&gt;
&lt;li&gt;Added &lt;a href=&quot;#a-note-about-voice-control&quot;&gt;a note about Voice Control&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Added 10 links to the &lt;a href=&quot;#related-resources&quot;&gt;Related Resources&lt;/a&gt; section.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
</content:encoded><category>a11y</category><category>assistive-technology</category><category>sc-2-5-3</category><category>wcag</category><category>web-development</category></item><item><title>Should I Use a Button or a Link?</title><link>https://ashleemboyer.com/blog/should-i-use-a-button-or-a-link</link><guid isPermaLink="true">https://ashleemboyer.com/blog/should-i-use-a-button-or-a-link</guid><description>Despite being answered time and time again, the button vs. link question prevails.</description><pubDate>Mon, 29 Aug 2022 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;One of the most seemingly contentious questions in web accessibility is whether or a button or link should be used when creating certain kinds of interactive elements. Why is it so contentious? The question has been answered countless times over the years by accessibility experts. There is also a wealth of reference documentation that answers the question.&lt;/p&gt;
&lt;p&gt;The answer is straightforward, and I think it&apos;s only contentious when there is lack of consideration of why links and buttons both look different and behave in completely different ways.&lt;/p&gt;
&lt;h2&gt;Existing resources&lt;/h2&gt;
&lt;p&gt;Before reading the rest of this article, I highly recommend reading the wealth of knowledge that&apos;s already out there. Here&apos;s a list a small list to get you started:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://marcysutton.com/links-vs-buttons-in-modern-web-applications&quot;&gt;Links vs. Buttons in Modern Web Applications&lt;/a&gt; - Marcy Sutton&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://adrianroselli.com/2016/06/on-link-underlines.html&quot;&gt;On Link Underlines&lt;/a&gt; - Adrian Roselli&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://blog.mozilla.org/en/internet-culture/deep-dives/why-are-hyperlinks-blue/&quot;&gt;Why are hyperlinks blue?&lt;/a&gt; - Elise Blanchard&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://blog.mozilla.org/en/internet-culture/why-are-hyperlinks-blue-revisited/&quot;&gt;Revisiting why hyperlinks are blue&lt;/a&gt; - Elise Blanchard&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.nngroup.com/articles/guidelines-for-visualizing-links/&quot;&gt;Guidelines for Visualizing Links&lt;/a&gt; - Jakob Nielsen&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://baymard.com/blog/formatting-links-for-usability&quot;&gt;Formatting Links for Usability&lt;/a&gt; - Baymard Institute&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.nngroup.com/articles/interaction-cost-definition/&quot;&gt;Interaction Cost&lt;/a&gt; - Raluca Budiu&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.nngroup.com/articles/flat-design-long-exposure/&quot;&gt;Long-Term Exposure to Flat Design: How the Trend Slowly Decreases User Efficiency&lt;/a&gt; - Kate Moran&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.nngroup.com/articles/clickable-elements/&quot;&gt;Beyond Blue Links: Making Clickable Elements Recognizable&lt;/a&gt; - Hoa Loranger&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://medium.com/@iamhiwelo/improving-text-readability-for-dyslexic-users-with-skip-ink-underlines-bf52a2f3426b&quot;&gt;Improving text readability for dyslexic users with skip-ink underlines&lt;/a&gt; - Damien Senger&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.filamentgroup.com/lab/a11y-links.html&quot;&gt;Accessible Links Re:visited&lt;/a&gt; - Maggie Wachs&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.smashingmagazine.com/2017/12/underlined-text-improve-ux/&quot;&gt;How To Use Underlined Text To Improve User Experience&lt;/a&gt; - Nick Babich&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.tpgi.com/html5-accessibility-chops-just-use-a-button/&quot;&gt;HTML5 Accessibility Chops: Just use a (native HTML) button&lt;/a&gt; - Steve Faulkner&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How do buttons and links behave differently?&lt;/h2&gt;
&lt;p&gt;First, it&apos;s important to understand how buttons and links differ. I&apos;ve seen them mistakenly conflated and oversimplified as elements that &quot;perform an action&quot;. And while they both enable a user to perform different actions, that doesn&apos;t make them the same element.&lt;/p&gt;
&lt;p&gt;We&apos;ll answer the question of differing behavior by reading some bits of &lt;a href=&quot;https://html.spec.whatwg.org/multipage/&quot;&gt;the HTML Living Standard&lt;/a&gt; and &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.2/&quot;&gt;WAI-ARIA 1.2&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut
title=&quot;Note: This article only discusses the HTML &amp;lt;button&amp;gt; and &amp;lt;a&amp;gt; elements.&quot;
type=&quot;disclaimer&quot;&lt;/p&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;The HTML Living Standard also talks about the &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;area&amp;gt;&lt;/code&gt;, and &lt;code&gt;&amp;lt;form&amp;gt;&lt;/code&gt; elements in the context of links, but we won&apos;t discuss those here since they have different purposes than the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element.&lt;/p&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;h3&gt;About Links&lt;/h3&gt;
&lt;p&gt;The HTML Living Standard has &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#links&quot;&gt;an entire section dedicated to links&lt;/a&gt;. Here&apos;s the paraphrased definition provided by that document:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Links are a conceptual construct that represent a connection between two resources.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It goes on to say there are two types of links: &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#external-resource-link&quot;&gt;links to external resources&lt;/a&gt; and &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#hyperlink&quot;&gt;hyperlinks&lt;/a&gt;. Let&apos;s look at some examples of each.&lt;/p&gt;
&lt;h4&gt;Links to external resources&lt;/h4&gt;
&lt;p&gt;Links to external resources are resources outside of the current site. These can be denoted by setting the &lt;code&gt;rel&lt;/code&gt; property to &lt;code&gt;&quot;external&quot;&lt;/code&gt;, and then they can also have unique styling applied to them using a CSS attribute selector like &lt;code&gt;a[rel=&quot;external&quot;]&lt;/code&gt;. As an example, you might choose to append the text &quot;(external link)&quot; to every link with &lt;code&gt;rel=&quot;external&quot;&lt;/code&gt;. This can be done with CSS like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;a[rel=&quot;external&quot;]::after {
  content: &quot; (external link)&quot;;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;lt;CallOut
title=&quot;Related concept: Warning users of context changes in advance to minimize confusion&quot;
type=&quot;idea&quot;&lt;/p&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;You can also apply special styles to to links with &lt;code&gt;target=&quot;_blank&quot;&lt;/code&gt;. In the following example, the text &quot;(opens in new tab)&quot; is appended to the link to give users a warning that multiple context changes will happen when the link is activated.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;a[target=&quot;_blank&quot;]::after {
  content: &quot; (opens in new tab)&quot;;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is related to &lt;a href=&quot;https://www.w3.org/TR/WCAG21/#change-on-request&quot;&gt;Success Criterion 3.2.5: Change on Request&lt;/a&gt;, which says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Changes of context are initiated only by user request or a mechanism is available to turn off such changes.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It&apos;s important to warn users that context will change with an action for many reasons. Some users may not be able to detect changes in context because of cognitive limitations or visual, reading, or intellectual disabilities. For users with limited motor control, unexpected and unwanted context changes will cause extra effort on their part to get back to where they were.&lt;/p&gt;
&lt;p&gt;It&apos;s best to give users all the information they need to make an informed and empowered decision for themselves.&lt;/p&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;h4&gt;Hyperlinks&lt;/h4&gt;
&lt;p&gt;Hyperlinks are links to resources within the current site. Here are some examples:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Links to another location on the current page, such as a table of contents having a link to a heading element&lt;/li&gt;
&lt;li&gt;Links to another page in the site, such as linking to a related blog post from another&lt;/li&gt;
&lt;li&gt;Links to downloadable files that are intended to be used later, rather than immediately&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;According to the HTML Living Standard, there are several values for the &lt;code&gt;rel&lt;/code&gt; property on &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; elements that designate the element as a hyperlink: &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#rel-alternate&quot;&gt;alternate&lt;/a&gt;, &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#link-type-author&quot;&gt;author&lt;/a&gt;, &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#link-type-bookmark&quot;&gt;bookmark&lt;/a&gt;, &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#link-type-help&quot;&gt;help&lt;/a&gt;, &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#link-type-license&quot;&gt;license&lt;/a&gt;, &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#link-type-next&quot;&gt;next&lt;/a&gt;, &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#link-type-prev&quot;&gt;prev&lt;/a&gt;, &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#link-type-search&quot;&gt;search&lt;/a&gt;, and &lt;a href=&quot;https://html.spec.whatwg.org/multipage/links.html#link-type-tag&quot;&gt;tag&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I don&apos;t include this long list of values because I think it&apos;s important to know each one. I include it so it&apos;s more obvious just how much functionality is handled by native &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; elements. You may have heard that you can apply &lt;code&gt;role=&quot;link&quot;&lt;/code&gt; to &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; elements when you want to turn them into links, but it&apos;s just not enough.&lt;/p&gt;
&lt;p&gt;There is a major loss in functionality by not using a native &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element when you want to render a link, and this one property we&apos;ve discussed only brushes the surface. The first rule of ARIA is extremely important to note here:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If you can use a native HTML element or attribute with the semantics and behaviour you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;The &lt;code&gt;link&lt;/code&gt; ARIA role&lt;/h4&gt;
&lt;p&gt;We have one more topic to cover for defining links, and that&apos;s &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.2/#link&quot;&gt;the &lt;code&gt;link&lt;/code&gt; ARIA role&lt;/a&gt;. &lt;code&gt;link&lt;/code&gt; is the default role for &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; elements. Here&apos;s how the role is defined:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;An interactive reference to an internal or external resource that, when activated, causes the user agent to navigate to that resource.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There is also a note that reads:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If pressing the link triggers an action but does not change browser focus or page location, authors are advised to consider using the button role instead of the link role.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;With all of the information we have covered so far, I think we can move forward with the following definition for links: An element that connects two resources and does one of the following when activated: downloads the linked resource, changes the browser focus to another part of the page, or changes the browser&apos;s location to another page.&lt;/p&gt;
&lt;h3&gt;About Buttons&lt;/h3&gt;
&lt;p&gt;Let&apos;s move on to defining buttons. We&apos;ve already seen a little bit of information that tells us buttons are different from links, but let&apos;s look for some more so we&apos;re well equipped for inevitable future buttons vs. links debates. &lt;a href=&quot;https://html.spec.whatwg.org/multipage/form-elements.html#the-button-element&quot;&gt;The HTML Living Standard&lt;/a&gt; does not give us as much non-technical information about buttons as it does about links, so I&apos;ll rely on the MDN Web Docs and WAI-ARIA 1.2 Specification for definitions.&lt;/p&gt;
&lt;h4&gt;The &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; element&lt;/h4&gt;
&lt;p&gt;The MDN Web Docs &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button&quot;&gt;definition for the Button element&lt;/a&gt; reads:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; HTML element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology. Once activated, it then performs a programmable action, such as submitting a form or opening a dialog.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;em&gt;Shameless plug: &lt;a href=&quot;https://github.com/mdn/content/pull/13834&quot;&gt;I wrote this definition&lt;/a&gt; back in March of 2022. 🥳&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Take a look at the &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attributes&quot;&gt;long list of attributes&lt;/a&gt; the button element accepts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;autofocus&lt;/li&gt;
&lt;li&gt;autocomplete&lt;/li&gt;
&lt;li&gt;disabled&lt;/li&gt;
&lt;li&gt;form&lt;/li&gt;
&lt;li&gt;formaction&lt;/li&gt;
&lt;li&gt;formenctype&lt;/li&gt;
&lt;li&gt;formmethod&lt;/li&gt;
&lt;li&gt;formnovalidate&lt;/li&gt;
&lt;li&gt;formtarget&lt;/li&gt;
&lt;li&gt;name&lt;/li&gt;
&lt;li&gt;type&lt;/li&gt;
&lt;li&gt;value&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That is &lt;em&gt;a lot&lt;/em&gt; of functionality. This list should serve as another reason why it&apos;s not a good idea to mix and match the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; elements. Just applying &lt;code&gt;role=&quot;button&quot;&lt;/code&gt; to &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; elements is no where near enough to make the anchor elment match the native implementation of the button element. In fact, just changing a &lt;code&gt;role&lt;/code&gt; &lt;a href=&quot;https://www.w3.org/TR/using-aria/#role-not&quot;&gt;does not change the look or behavior&lt;/a&gt; of an element at all if you&apos;re not using assistive technology.&lt;/p&gt;
&lt;h4&gt;The &lt;code&gt;button&lt;/code&gt; ARIA role&lt;/h4&gt;
&lt;p&gt;The WAI-ARIA 1.2 Specification says &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.2/#button&quot;&gt;the &lt;code&gt;button&lt;/code&gt; role is&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;An input that allows for user-triggered actions when clicked or pressed. [...] Buttons are mostly used for discrete actions. Standardizing the appearance of buttons enhances the user&apos;s recognition of the widgets as buttons [...].&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This says that buttons are typically used to perform a single action at a time. It also says that users benefit from their appearance being standardized, so they are recognizable as an interactive element.&lt;/p&gt;
&lt;p&gt;There&apos;s one supported ARIA state for the &lt;code&gt;button&lt;/code&gt; role that the &lt;code&gt;link&lt;/code&gt; role does not have. That state is &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.2/#aria-pressed&quot;&gt;&lt;code&gt;aria-pressed&lt;/code&gt;&lt;/a&gt;. It communicates the &quot;pressed&quot; state of toggle buttons. This is not a quality of a &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; elements. It&apos;s another example of just how much buttons and links differ from one another.&lt;/p&gt;
&lt;p&gt;&amp;lt;CallOut
title=&quot;Related concept: &lt;code&gt;aria-checked&lt;/code&gt; and &lt;code&gt;aria-selected&lt;/code&gt;&quot;
type=&quot;idea&quot;&lt;/p&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;The &lt;code&gt;aria-pressed&lt;/code&gt; state is similar to the &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.2/#aria-checked&quot;&gt;&lt;code&gt;aria-checked&lt;/code&gt;&lt;/a&gt; and &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.2/#aria-selected&quot;&gt;&lt;code&gt;aria-selected&lt;/code&gt;&lt;/a&gt; states.&lt;/p&gt;
&lt;p&gt;&amp;lt;/CallOut&amp;gt;&lt;/p&gt;
&lt;h4&gt;The &lt;code&gt;Button&lt;/code&gt; WAI-ARIA Widget&lt;/h4&gt;
&lt;p&gt;The &lt;a href=&quot;https://www.w3.org/WAI/ARIA/apg/about/&quot;&gt;ARIA Authoring Practices Guide (APG)&lt;/a&gt; is a useful for resource for learning about accessibility semantics and keyboard interfaces. It has several examples of commonly used widgets. It also includes resources on common practices.&lt;/p&gt;
&lt;p&gt;One of its widget examples is &lt;a href=&quot;https://www.w3.org/WAI/ARIA/apg/patterns/button/&quot;&gt;the Button widget&lt;/a&gt;. Right after defining the widget and naming two additional supported button types (toggle and menu), it calls out the importance of distinguishing links and buttons:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The types of actions performed by buttons are distinctly different from the function of a link. It is important that both the appearance and role of a widget match the function it provides.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It also notes that sometimes links have the visual style of a button, but it says there&apos;s still a better solution: adjust the design.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Nevertheless, elements occasionally have the visual style of a link but perform the action of a button. In such cases, giving the element role button helps assistive technology users understand the function of the element. However, a better solution is to adjust the visual design so it matches the function and ARIA role.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;Comparing Links and Buttons&lt;/h3&gt;
&lt;p&gt;By now, we should have a pretty good idea how different links and buttons are. I&apos;ll still list a few more examples of differences:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Did you know the mouse cursor for buttons and links are different? The mouse cursor for a &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element on hover is &lt;code&gt;pointer&lt;/code&gt;. For the &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; element, it&apos;s the default/auto cursor. Read Adam Silver&apos;s &lt;a href=&quot;https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b&quot;&gt;Buttons shouldn&apos;t have a hand cursor&lt;/a&gt; for more background.&lt;/li&gt;
&lt;li&gt;A native &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; is always reachable with the keyboard, even if its role is &lt;code&gt;link&lt;/code&gt;. A native &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; is only reachable by keyboard if it has the &lt;code&gt;href&lt;/code&gt; attribute defined, even if its role is &lt;code&gt;button&lt;/code&gt;. This means you have extra work to do to make the keyboard interface work if you decide not to use the native elements for their intended purposes.&lt;/li&gt;
&lt;li&gt;User agents and assistive technology provide navigation lists containing different types of elements. One example of this is &lt;a href=&quot;https://support.apple.com/guide/voiceover/with-the-voiceover-rotor-mchlp2719/mac&quot;&gt;the VoiceOver rotor on Mac&lt;/a&gt;. Buttons are listed under &quot;form controls&quot;, and links are listed under &quot;links&quot;. If an element is not coded in a way it can be recognized by assistive technology, then users won&apos;t be able to navigate a page as they normally should. This is not a failure of screen readers. Native elements are already compatible, so use them!&lt;/li&gt;
&lt;li&gt;User agents and assistive technology also provide commands and gestures for interacting with different types of elements. Not using native elements can interfere with this functionality and cause users to be confused and frustrated. This is not a failure of screen readers. Native elements are already compatible, so use them!
&lt;ul&gt;
&lt;li&gt;For example, VoiceOver has a command for &quot;find the next visited link&quot;. This command will not recognize &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; elements with &lt;code&gt;role=&quot;link&quot;&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;How many more user agent or assistive technology features are broken by poorly coded elements? I don&apos;t know. Do you want to test every single one and find out? I highly doubt it. Just use native HTML elements!&lt;/p&gt;
&lt;p&gt;Remember the first rule of ARIA use:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If you can use a native HTML element or attribute with the semantics and behaviour you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And don&apos;t forget the second rule of ARIA use:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Do not change native semantics, unless you really have to.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The native semantics are present for a reason. I promise no one put them there to make your software development life more difficult. They&apos;re there to make websites usable by everyone. You want more users, right? You want them to be happy and impressed with your hard work, right? :)&lt;/p&gt;
&lt;h2&gt;Why are buttons and links styled differently?&lt;/h2&gt;
&lt;p&gt;There are &lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/intro#understanding-the-four-principles-of-accessibility&quot;&gt;four principles of accessibility&lt;/a&gt; that inform how we must build the web and content for it. You can remember them with the acronym POUR: information and interfaces must be Perceivable, Operable, Understandable, and Robust. The Web Content Accessibility Guidelines (WCAG) are organized under these 4 principles. I&apos;m not taking a deep dive into all of them here, but if you want to start on your own the latest standard is &lt;a href=&quot;https://www.w3.org/TR/WCAG21&quot;&gt;WCAG 2.1&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Anyways, what does the look of buttons and links have to do with &lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/intro#understanding-the-four-principles-of-accessibility&quot;&gt;four principles of accessibility&lt;/a&gt;? Well...&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Before a user can &lt;strong&gt;operate&lt;/strong&gt; an interface, they must be able to &lt;strong&gt;perceive&lt;/strong&gt; what elements in it are interactive.&lt;/li&gt;
&lt;li&gt;In order for a user to make informed decisions before they operate the interface, it must be &lt;strong&gt;understandable&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;And in order for a user to operate the interface in many conditions and environments, it must be &lt;strong&gt;robust&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here are some WCAG guidelines and success criteria relevant to this topic you may find insightful:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/adaptable&quot;&gt;Guideline 1.3: Adaptable&lt;/a&gt;: Create content that can be presented in different ways (for example simpler layout) without losing information or structure.
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships&quot;&gt;Success Criterion 1.3.1: Info and Relationships&lt;/a&gt;: Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/identify-purpose&quot;&gt;Success Criterion 1.3.6: Identify Purpose&lt;/a&gt;: In content implemented using markup languages, the purpose of user interface components, icons, and regions can be programmatically determined.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/keyboard-accessible&quot;&gt;Guideline 2.1: Keyboard Accessible&lt;/a&gt;: Make all functionality available from a keyboard.
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/keyboard&quot;&gt;Success Criterion 2.1.1: Keyboard&lt;/a&gt;: All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user&apos;s movement and not just the endpoints.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/navigable&quot;&gt;Guideline 2.4: Navigable&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/link-purpose-in-context&quot;&gt;Success Criterion 2.4.4: Link Purpose (In Context)&lt;/a&gt;: The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link context, except where the purpose of the link would be ambiguous to users in general.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/link-purpose-link-only&quot;&gt;Success Criterion 2.4.9: Link Purpose (Link Only)&lt;/a&gt;: A mechanism is available to allow the purpose of each link to be identified from link text alone, except where the purpose of the link would be ambiguous to users in general.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/input-modalities&quot;&gt;Guideline 2.5: Input Modalities&lt;/a&gt;: Make it easier for users to operate functionality through various inputs beyond keyboard.
&lt;ul&gt;
&lt;li&gt;&quot;Often, people use devices that offer several input methods, for example, mouse input, touch input, keyboard input, and speech input. These should be supported concurrently as users may at any time swich preferred input methods due to situational circumstances, for example, the availability of a flat support for mouse operation, or situational impediments through motion or changes of ambient light.&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/predictable&quot;&gt;Guideline 3.2: Predictable&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/on-input&quot;&gt;Success Criterion 3.2.2: On Input&lt;/a&gt;: Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/change-on-request&quot;&gt;Success Criterion 3.2.5: Change on Request&lt;/a&gt;: Changes of context are initiated only by user request or a mechanism is available to turn off such changes.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3.org/WAI/WCAG21/Understanding/compatible&quot;&gt;Guideline 4.1: Compatible&lt;/a&gt;: Maximize compatibility with current and future user agents, including assistive technologies.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;So what&apos;s the answer?&lt;/h2&gt;
&lt;p&gt;I think most people already know the answer to this question, and many of those who scour the internet for a different answer are looking for &quot;permission&quot; to do something they &quot;unconventional&quot;. But to end on a very clear note:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Use an anchor element&lt;/strong&gt; when you need to connect two resources, and one of the following needs to happen when the element is activated:
&lt;ul&gt;
&lt;li&gt;download the linked resource&lt;/li&gt;
&lt;li&gt;change the browser focus to another part of the page&lt;/li&gt;
&lt;li&gt;change the browser&apos;s location to another page&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Use a button element&lt;/strong&gt; when you need enable a user to perform a programmable action, such as submitting a form or opening a dialog.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>a11y</category><category>web-development</category></item><item><title>What a Jar of Buttons Is Teaching Me About Trust</title><link>https://ashleemboyer.com/blog/what-a-jar-of-buttons-is-teaching-me-about-trust</link><guid isPermaLink="true">https://ashleemboyer.com/blog/what-a-jar-of-buttons-is-teaching-me-about-trust</guid><description>Workplace trauma broke my trust. I&apos;m working to rebuild it.</description><pubDate>Thu, 20 Jan 2022 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;For most of 2021, I felt defeated as a disabled woman in tech. Sexism and ableism were in every part of my life at a level I&apos;d not experienced before. I&apos;m very used to seeing both on the internet, but even that became too much. &lt;a href=&quot;https://ashleemboyer.com/blog/speaking-my-truth&quot;&gt;In a job I held for most of the year, I suffered pay discrimination, biased treatment, and sexual harassment&lt;/a&gt;. When I escaped that situation, I knew I&apos;d have a lot of healing ahead of me but I had no idea how much.&lt;/p&gt;
&lt;p&gt;One thing I&apos;ve learned about what I went through is that far more people than I thought have a similar experience. What we went through may not have been very similar, but the effect of the trauma was. I think it has something to do with being in a survival mode, where all you can really think about and focus on is making it through. I think this is also a reason it can take so long to fully realize we&apos;re in traumatic situations.&lt;/p&gt;
&lt;p&gt;As soon as we&apos;re out of immediate danger, the full gravity of a the situation can set in. We can slow down and think about what happened because we&apos;re in a place that is safer than before. In the first several weeks of my job I currently hold, I was anxious &lt;em&gt;all of the time&lt;/em&gt;. The list of things contributing to that is long, but here are a few things that are top of mind:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pressure to do well in a new job at a well-known company in the industry I work in.&lt;/strong&gt; I would consider this a normal pressure of being a working person.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Waiting for the other shoe to drop, because it always has.&lt;/strong&gt; If you don&apos;t know what this phrase means, I think &lt;a href=&quot;https://gothamist.com/arts-entertainment/the-phrase-waiting-for-the-other-shoe-to-drop-was-born-in-nyc&quot;&gt;the explanation on gothamist.com&lt;/a&gt; is good.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Expecting toxic behavior and having a guard up ready to protect myself.&lt;/strong&gt; In the past, I&apos;ve been called names, gaslit about facts clearly backed by documentation and timestamps, bullied into changing my mind (or caving into pressure, rather), severely under-leveled and underpaid, held to different and unexplained standards than men on my team, not taken seriously when reporting issues, ignored in team channels whether asking for help or proposing a discussion, and more. These things didn&apos;t just happen at my previous job, they&apos;ve happened in many places. But the level of toxicity in that environment is the highest I&apos;ve experienced.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;p&gt;I&apos;ve seen the same therapist since right before the pandemic started. We have talked &lt;em&gt;&lt;strong&gt;endlessly&lt;/strong&gt;&lt;/em&gt; about the occupational dimension of wellness. We&apos;ve talked about it so much, we also talk about overwhelming that dimension has been for me over the years.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Skipping ahead in my story a tiny bit, we joked last time we spoke that we have nothing to talk about now since my work stress is very low now.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;When I told my therapist about the struggles I was having, where I felt anxious immediately after sending messages in team channels, was spending a lot of time figuring out how to word messages in what should be easy conversations, she asked me if I&apos;d heard of Brené Brown&apos;s marble jar metaphor. You can see her explain the metaphor &lt;a href=&quot;https://brenebrown.com/videos/anatomy-trust-video/&quot;&gt;in a talk on her website&lt;/a&gt;, but the gist is this: when people do even the smallest thing that improves your trust in them, it counts as a marble towards the marble jar. The more the jar fills up with marbles, the more you trust them.&lt;/p&gt;
&lt;p&gt;The lesson is that trust is built over time with seemingly small and insignificant moments. After taking some time to think and process the metaphor, I decided I wanted to make rebuilding trust a prioritized and visual experience. So I decided to get a jar but fill it with buttons instead of marbles. Dropping a marble in the jar would&apos;ve been too noisy of an experience, and this endeavor could double as a cute and fun button-collecting journey. I picked up some regular-sized colorful buttons and some much larger diamond-looking buttons. I designated the extra special buttons for trust-building moments that made me feel incredibly valued and grateful.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;So far, this experience has been exactly what I need. Looking for all the good in my days had a similar effect to gratitude journals, I assume. I am looking more towards the good things than the bad, but not in a way that subscribes to toxic positivity. I&apos;m still keenly aware that some bad things might happen, but I&apos;m not expecting them to. I&apos;m retraining my brain to look at situations in a more balanced and healthy way.&lt;/p&gt;
&lt;p&gt;Examples of moments that are button jar worthy:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Getting thanked for vulnerability from multiple managers on my team.&lt;/strong&gt; Many of my previous experiences involve being told that I&apos;m too emotional. Vulnerability has been the main thing that&apos;s brought me closer to the majority of people I know, so it&apos;s a relief to know that vulnerability is so valued.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Teammates engaging in discussions I start, and doing so in genuine and authentic ways.&lt;/strong&gt; In previous experiences, I&apos;ve often gotten silence or dismissive responses. When teammates engage kindly and with interest, it shows we have a mutual goal to learn together and teach one another.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Getting asked questions about accessibility.&lt;/strong&gt; This is the first time I&apos;ve been asked about accessibility regularly at work. It is so refreshing to be asked questions about my area of focus that is so deeply personal to me as a disabled person.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Having normal conversations in code review.&lt;/strong&gt; Code review is one area that I have a hard time in because in my experience, they either weren&apos;t a part of the development process or they weren&apos;t done in healthy ways with the right intentions. Seeing teammates regularly give each other compliments, share resources, discuss pros and cons, and being treated with all of that same kindness... it&apos;s hard to describe how valued it makes me feel.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To add to the very last point, I even found myself putting buttons in the jar for things that had nothing to do with me directly. Seeing teammates treat each other with kindness and respect showed me how they would likely treat me as well.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;In the new year, I plan to keep doing what I&apos;m doing. I don&apos;t really subscribe to annual resolutions. I&apos;ll do this until it&apos;s not valuable for me anymore, which I hope is far off because I&apos;m excited to see the jar fill up with buttons and become a really beautiful item on my desk. I want it to be a constant visual reminder of how far I&apos;ve come on this journey to healing.&lt;/p&gt;
</content:encoded><category>about-me</category><category>mental-health</category><category>trust</category><category>vulnerability</category><category>workplace-trauma</category></item><item><title>2021 in Review</title><link>https://ashleemboyer.com/blog/2021-in-review</link><guid isPermaLink="true">https://ashleemboyer.com/blog/2021-in-review</guid><description>2021 was a wild ride. Here are some details from my year.</description><pubDate>Sun, 02 Jan 2022 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;In General&lt;/h2&gt;
&lt;p&gt;2021 was a difficult year, but I&apos;m so grateful I was able to end it with a new job on a healthy team and a lot of space away from projects and social media to reflect. I&apos;m looking forward to approaching 2022 and my projects in healthier ways.&lt;/p&gt;
&lt;h2&gt;Posts Published&lt;/h2&gt;
&lt;p&gt;I didn&apos;t get to publish as many posts as I wanted to, but I still published 10 different posts and I&apos;m very proud of all of them.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&quot;Build a Blog Site with Next.js and Firebase&quot; (&lt;a href=&quot;https://ashleemboyer.com/blog/archive/nextjs-firebase-blog-01--archived&quot;&gt;now archived&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://ashleemboyer.com/blog/my-writing-and-planning-process&quot;&gt;My Writing and Planning Process&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://ashleemboyer.com/blog/create-your-own-nextjs-rss-reader-app&quot;&gt;How to Create Your Own Next.js RSS Reader App&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://ashleemboyer.com/blog/how-i-added-an-rss-feed-to-my-nextjs-site&quot;&gt;How I Added an RSS Feed to My Next.js Site&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://ashleemboyer.com/blog/what-the-heck-is-web-a11y&quot;&gt;What the heck is &quot;web a11y&quot;?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://ashleemboyer.com/blog/speaking-my-truth&quot;&gt;Speaking My Truth—I Did Not Leave for Personal Reasons&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Speaking Events&lt;/h2&gt;
&lt;p&gt;I was hoping to do more speaking events this year, but a few were canceled or postponed due to the pandemic. Here is a list of the speaking events I did get to do, three of which were live streams on Twitch! I had so much fun on the streams and it&apos;s interesting to see how far I&apos;ve come in public speaking. I &lt;em&gt;hated&lt;/em&gt; it in high school and most of college and used to be terrified to speak in front of groups of people.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=qr0ujkLLgmE&quot;&gt;&quot;Getting started with accessibility&quot; interview with Kevin Powell&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=-vAo0-puheM&quot;&gt;&quot;Debugging Semantic HTML Elements for Accessibility&quot; SomeAnticsDev Twitch stream&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=vWpj7t8I6SM&quot;&gt;&quot;Accessibility August 2021 on Dev Roulette LIVE&quot; with Stephanie Myers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/ashleemboyer/react-indy-20210922&quot;&gt;&quot;Build a Dark &amp;amp; Light Mode Switcher in React using Context&quot;, React.Indy meetup&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Note: I&apos;m realizing I still have to upload the finished code from this event! I&apos;ll try to do that as soon as I can.&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Books&lt;/h2&gt;
&lt;p&gt;I am really good at starting new things, especially books. Part of my difficulty with finishing books is ADHD. It takes me a long time to get into a reading focus if I&apos;m only reading. If I use an audiobook or speech-to-text in addition to reading, however, I have a much easier time. What&apos;s difficult about that is being deaf. If I don&apos;t have headphones to listen while I read, then I can&apos;t really listen. I&apos;ve found that I can also read/listen better when I have a simple knitting project. I didn&apos;t finish a ton of books this year, but what&apos;s great is I&apos;m learning all of these things about myself and working on carving out the right space for myself to read more.&lt;/p&gt;
&lt;h3&gt;Books Started&lt;/h3&gt;
&lt;p&gt;This list is currently all the books I could find with my Goodreads account (I read on a Kindle). I&apos;m 100% sure there are more books that belong here because I purchased multiple from people that self published. When I find them, I&apos;ll add them to the list.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/48927823-it-s-about-damn-time&quot;&gt;It&apos;s About Damn Time: How to Turn Being Underestimated into Your Greatest Advantage&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/41646234-sissy&quot;&gt;Sissy: A Coming-of-Gender Story&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/46263943-real-life&quot;&gt;Real Life&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/37415.Their_Eyes_Were_Watching_God&quot;&gt;Their Eyes Were Watching God&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/40651827-burnout&quot;&gt;Burnout: The Secret to Unlocking the Stress Cycle&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/57000631-how-to-live-with-the-internet-and-not-let-it-run-your-life&quot;&gt;How to Live With the Internet and Not Let It Run Your Life&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/56164760-conflict-resolution-playbook&quot;&gt;Conflict Resolution Playbook: Practical Communication Skills for Preventing, Managing, and Resolving Conflict
&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/45730112-in-the-land-of-men&quot;&gt;In the Land of Men: A Memoir&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/53105899-brag-better&quot;&gt;Brag Better: Master the Art of Fearless Self-Promotion&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/52951550-sorry-i-missed-you&quot;&gt;Sorry I Missed You&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/25852961-women-in-tech&quot;&gt;Women in Tech: Practical Advice and Inspiring Stories from Successful Women in Tech to Take Your Career to the Next Level&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/52085903-the-beginner-s-guide-to-stoicism&quot;&gt;The Beginner&apos;s Guide to Stoicism: Tools for Emotional Resilience and Positivity&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Books Finished&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/24751306-changing-the-conversation&quot;&gt;Changing the Conversation: The 17 Principles of Conflict Resolution&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/43923951-such-a-fun-age&quot;&gt;Such a Fun Age&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/30248423-help-for-women-with-adhd&quot;&gt;Help for Women with ADHD: My Simple Strategies for Conquering Chaos&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/33913476-weird-in-a-world-that-s-not&quot;&gt;Weird in a World That&apos;s Not: A Career Guide for Misfits, F*ckups, and Failures&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Projects&lt;/h2&gt;
&lt;p&gt;Like I mentioned already, I didn&apos;t get to finish as many projects as I wanted, but I&apos;m really looking forward to getting back to all of these!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Note: I can&apos;t remember all my projects right now so I&apos;ll have to update this post as I remember them.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;Projects Started&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Knitting Projects&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Socks in (yarn I can&apos;t remember the name of, I&apos;ll update ASAP)&lt;/li&gt;
&lt;li&gt;Triangle shawl in Cascade 220 Superwash Merino, color number 86&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Coding Projects&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;StaySemantic.com, a web accessibility resource that will have demos and explorations of various components, their properties, and how they sound with screen readers. Check out &lt;a href=&quot;https://staysemantic-com-git-dev-ashleemboyer.vercel.app/demos&quot;&gt;a preview of the Disabled Button Demo&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&quot;Build an Accessible Blog with Next.js and Semantic HTML&quot; course for egghead.io, which will get into the importance of semantic HTML in regards to accessibility, how to navigate documentation, and how to identify accessibility issues. I have &lt;a href=&quot;https://github.com/ashleemboyer/egghead-accessible-nextjs-blog-course&quot;&gt;a GitHub repository that will get updates&lt;/a&gt; as I work on the course.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Projects Finished/Shipped&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;General&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;25-cube IKEA KALLAX shelf&lt;/li&gt;
&lt;li&gt;IKEA BEKANT standing desk&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Knitting Projects&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Plain hat in Boss Kitty Hand Dyed DK Weight, Rock-A-Doodle-Doo colorway&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Coding Projects&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What Can I Plant? For determining what you can plant in Stardew Valley and make the most money off of. &lt;em&gt;Last updated January 2021.&lt;/em&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/ashleemboyer/what-can-i-plant&quot;&gt;Link to code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://what-can-i-plant.netlify.app/&quot;&gt;Link to site&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The Golden Girls Quotes API. Just for getting random quotes from The Golden Girls. &lt;em&gt;Last updated October 2021.&lt;/em&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/ashleemboyer/the-golden-girls-quotes-api&quot;&gt;Link to code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://the-golden-girls-quotes-api.fly.dev/&quot;&gt;Link to site&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/ashleemboyer/webpack-typescript-jest-less&quot;&gt;React, TypeScript, Less/CSS modules, Jest, and Enzyme boilerplate.&lt;/a&gt; I did this for the learning experience and don&apos;t use it as a boilerplate. I mainly use Next.js for everything these days. &lt;em&gt;Last updated May 2021.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/ashleemboyer/ashleemboyer-discord-bot&quot;&gt;Discord bot for eventually doing cool things in Discord!&lt;/a&gt; I like the idea of having a cool Discord server for engaging with folks. Maybe it&apos;ll happen this year? &lt;em&gt;Last updated August 2021.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/ashleemboyer/ashleemboyer-discord-bot-api&quot;&gt;Discord bot API for custom webhooks.&lt;/a&gt; It currently sends various notification message in channels only I can see about my new newsletter service and subscribers. I&apos;m hoping to have that newsletter live soon!&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>about-me</category><category>reading</category><category>writing</category><category>blogging</category><category>vulnerability</category></item><item><title>Speaking My Truth -- I Did Not Leave for Personal Reasons</title><link>https://ashleemboyer.com/blog/speaking-my-truth</link><guid isPermaLink="true">https://ashleemboyer.com/blog/speaking-my-truth</guid><description>I owe it to myself to tell my story.</description><pubDate>Wed, 20 Oct 2021 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I spent weeks deliberating whether or not I would write a public statement about what happened to me at my previous company. Then I spent days deliberating what exactly I would write. The time leading up to publishing this post was agonizing as I tried to figure out the balance between saying too much and not saying enough.&lt;/p&gt;
&lt;p&gt;What it all came down to is two main things:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The full truth has not been shared with my previous colleagues, many of whom I developed incredible connections with through Accessibility Required, a Neurodiversity and Disability employee-resource group I co-founded in February 2021 and co-chaired for the rest of my tenure at the company. I cannot stand for my truth being misconstrued.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;There are countless other marginalized folks actively suffering through the same, similar, and worse situations to what I went through. I hope if any of them come across this post that it helps them to feel less alone and encourages them to come up with a plan for survival as many posts like this one have done for me. We should not have to suffer in silence and isolation.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;hr /&gt;
&lt;p&gt;I worked at All Campus, LLC (headquartered in Chicago, Illinois) from November 18th, 2020 to October 1st, 2021. My offer letter specified that I was joining as a &quot;Front End Developer&quot;. There was no level in my title and I was told that levels were not official in the team. If you&apos;re not familiar with how levels work in the tech industry, the gist is that they are used to convey the experience and responsibilities within a person’s role. All companies do this differently and the number of levels can range anywhere from a couple to even a dozen.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;A person&apos;s level has an enormous impact on the salary they are given. Check out &lt;a href=&quot;https://www.levels.fyi/&quot;&gt;levels.fyi&lt;/a&gt; to see how level and pay roughly look for technical roles at many companies including Google, Facebook, and Microsoft.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;When I joined the company, there were two main developers on the team that I was to work with closely. One of them would not work with me. They were condescending when I asked clarifying questions and would say things like &quot;I think the description is perfectly clear&quot; when all a task’s description contained was a screenshot and non-descriptive words. They would talk over me during calls and force me to make changes to my code without discussion. They often reached out to the second developer to have them take their side in reviewing my code and even called them in from PTO once to review their code as if I was incapable of reviewing very straightforward and minimal code changes. The second developer took the person&apos;s side even when they disagreed with them. How do I know? The second developer told me so.&lt;/p&gt;
&lt;p&gt;Thankfully, that first developer left not long after I started. They created an extremely hostile work environment and I would not have stayed in my position nearly as long as I did if they had not left. I later found out that they would obsessively complain about my Twitter feed to the second developer, so not only was my work environment unsafe with this person around, so was my personal environment. How do I know about this behavior? Again, the second developer told me so. It’s another example of how my work environment was still unsafe even after the first developer left. The second developer staying silent multiple times about such awful behavior enabled the other person to continue harming me and it conveyed to me that they weren&apos;t bothered by me being mistreated.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Things went okay between me and the second developer for a little while, but we were inherently considered to be the same level as far as I knew (even though levels were supposedly unofficial on the team) and there weren&apos;t any other experts in our work on the team. When we came to disagreements during code review (which became more and more frequent over time), we did not have someone of expert authority to make a final decision. These weren&apos;t petty or personal disagreements. They had to do with the other developer not being receptive to code review feedback I had to repeat over and over, them not writing their code to match specifications given by the design team, and them not wanting me to make some changes to foundational code because they were afraid something would break.&lt;/p&gt;
&lt;p&gt;I raised the issue of growing dysfunction to our manager for months in a row but nothing changed. Our manager would chime in on code review when tagged in by one of us, but seemingly did not monitor our correspondence despite knowing there were issues. The manager took the other person’s side in most cases I can think of, even when the other developer was clearly in the wrong. In one situation the other developer said they didn’t build their code to design because “there were no designs,” and despite me linking to the designs that had timestamps pre-dating the developer’s work, they pressured the designer multiple times to accept the code work because it was “already done” despite still being in the code review stage.&lt;/p&gt;
&lt;p&gt;In a one-on-one with the manager, I brought up specific behavioral issues that concerned me in code reviews that would spiral into hours of unproductive and unnecessary back and forth. Instead of focusing on the behavior issues I mentioned, they focused specifically on the code in the review and said &quot;I don&apos;t see it as that big of an issue,&quot; implying that I was the cause of unnecessary hours of back and forth and implying that I should&apos;ve never made the review comment in question in the first place. I tried to bring the focus back to the behavioral issues, and they said we should have a meeting between the three of us to get the other developer&apos;s side. I found that reasonable, and added that I was burning out from the unhealthy dynamic going on. The manager did not acknowledge this statement at all.&lt;/p&gt;
&lt;p&gt;When the meeting about the code review process between the three of us was scheduled, I suggested that we form an agenda for the meeting beforehand to ensure we could all prepare and that we would each have equal time to raise topics or concerns. The manager never reached out to us to build an agenda even though they said they would, they were 20 minutes late to the 50-minute meeting, and as I anticipated I did not get to raise any of the concerns I had raised one-on-one for weeks. The other developer got to raise several concerns, kept diving into technical specifics of past code reviews when the purpose of the discussion was to talk about process, and the manager was quick to blame me for resolutions not being reached fast enough without even looking at timestamps that showed I efficiently facilitated resolutions in just a few hours.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;A few days after that meeting would be my last one-on-one with that manager. I expressed my frustration with them not following through on their promise to build an agenda and with me not getting a fair chance to speak on the concerns I&apos;d been telling them about for weeks. My issues were completely unaddressed, and I told them it felt like they didn&apos;t take my issues seriously, especially the ones I&apos;d raised 2 weeks prior that prompted the group meeting. Then they became visibly frustrated by that feedback and told me their priorities were the big backend code problems.&lt;/p&gt;
&lt;p&gt;I asked them if they saw big human issues as important, and asked them to consider my perspective after being told that code is more important than issues I&apos;d been raising for weeks on end. They told me they couldn&apos;t solve all my problems. They actually had solved a very small percentage of issues I&apos;d raised. I told them that I didn&apos;t feel like I was being taken seriously, and that they still had yet to acknowledge or validate that I told them I was burning out 2 weeks prior.&lt;/p&gt;
&lt;p&gt;After repeating myself several times and them still not acknowledging it, I finally said that I was having a horrible time, to which they said it was &quot;strong language&quot; and that it is a problem when employees &quot;hate their job&quot;. I told them not to put words in my mouth, because I never once said I hated my job. I tried to get them to recognize &quot;burnout&quot; as strong language, especially when sharing something so vulnerable to a manager, but I still didn&apos;t get the sense that they understood or cared. They mischaracterized what I called burnout as &quot;overwhelmed by too much process&quot; which is never something I said—I said there were specific behavioral issues that were causing frequent problems during code review.&lt;/p&gt;
&lt;p&gt;When I listed the behavior issues about the other developer, they angrily told me that the other developer had problems with me too and that it sounded like I just wanted the manager to take my side on everything. Not only was this plain instigative and a dangerous thing for them to do, it also proved that they were very aware of dysfunction and let it fester for weeks. It was clear evidence in multiple ways of how they allowed and perpetuated a hostile environment. They continued to center themselves and claim they were under a ton of pressure from above.&lt;/p&gt;
&lt;p&gt;Within hours of this one-on-one, HR became involved and I told my story to them. I told it to the manager&apos;s manager the following week. I told both parties that I did not trust the manager to accurately represent me or my work at the company when it came review time, mostly due to their blatant mistreatment of me and also partly due to their poor support and previous efforts to review me (I had an informal review in February 2021 that was poorly researched on the manager&apos;s part and I was given no time to review ahead of time or provide feedback). I also requested that we no longer have one-on-ones together. The manager&apos;s manager became my and the other developer&apos;s manager, to start working on the issues we&apos;d been having for months and the hiring process started for a new person to manage all developers.&lt;/p&gt;
&lt;p&gt;Shortly after this, the other developer left and I became the only front end developer and person managed by the skip level. During this time, I asked about what level I was. My expectation was that I was mid-level (AKA the second of three levels in the supposedly unofficial team career ladder) and I wanted to make sure that the situation with my previous manager was not going to affect my efforts towards getting promoted to senior. I told the skip level that despite requesting it numerous times from the person who previously managed me, I never had a session for discussing professional goals in my role and I was never told what they thought my level was according to the supposedly unofficial document.&lt;/p&gt;
&lt;p&gt;When the skip level got back to me on that question, they told me that according to the previous manager and HR, they thought I was between a level 1 and a level 2 (which translates to between entry level and mid-level). I expressed my strong disagreement and the skip level effectively threw their hands up and said that the eventual head of engineering would handle figuring out my level. They should not have reached out to the previous manager, especially after I expressly stated I did not trust the person with my career. Many issues I raised to the skip level were being brushed off as culture issues the new head of engineering would have to fix.&lt;/p&gt;
&lt;p&gt;These issues include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Not being invited to group coding sessions to solve problems I spent hours researching and reporting on&lt;/li&gt;
&lt;li&gt;The same people who excluded me from the coding sessions constantly dismissing my input and telling me I was wrong before actually digging into what I was sharing&lt;/li&gt;
&lt;li&gt;Being called a micromanager by a teammate after trying to collaborate with them on about a task they both misread and then didn&apos;t test their code for two days in a row&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;p&gt;When the head of engineering finally started in late-mid August 2021, I was at the start of a two-week period of PTO. I was mentally, emotionally, and physically drained and feeling defeated, unwelcome, and very undervalued. Even still, I was optimistic about the new manager. I was casually interviewing with companies at the time (meaning I was only talking with a couple at once since that&apos;s what I had the capacity for). I wanted to make sure I had a contingency plan in place. I&apos;d spent months being patient, but I needed to prioritize my health.&lt;/p&gt;
&lt;p&gt;I was still the only front end developer and the only person working on that codebase. I took on paring down technical debt, writing tests and documentation, planning and scoping features, coming up with strategies for getting years-out-of-date dependencies fixed, and was involved in decision making for the rest of the year&apos;s roadmap. I was the expert on the codebase and invested a great amount of time and energy into things that were often neglected in previous years despite being the only person working on it. In my last week at the company, I wrote an extensive 22-page document transferring all of the knowledge I had about almost every folder and file in the codebase and all in-progress and planned initiatives. I gave everything I had to give for my entire tenure.&lt;/p&gt;
&lt;p&gt;The new manager proved to be a great hire for the team from my perspective. They were receptive to hearing about how I felt unsupported previously, clearly cared about my opinions and ideas, and were prioritizing fixing major pain points in the development process that caused a lot of unhappiness even beyond developers. I felt valued by them in my work and empowered by their leadership. In the end, they were a huge advocate for me and truly tried to turn the entire situation around.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Towards the end of September 2021, I was entering sick time in the payment system and because it was the first time I&apos;d done that since the new manager started, I checked the organization chart to make sure it&apos;d been updated in the system that I reported to them. What I found there was completely unexpected. Other developers had levels in their titles and my title was Software Engineer (AKA level 1, AKA entry level). I was speechless. How did we have levels if levels were supposedly unofficial on the team? How was I hired at entry level when this was my fourth full-time job post-college, I had a degree in software engineering from an incredible program, and had worked 3 summer internships during college?&lt;/p&gt;
&lt;p&gt;What I found out is that I was given different information than other people on my team. They were actually aware of their levels whereas I was told levels weren&apos;t official. Even someone hired at essentially the same time as me was treated differently despite us having the same job responsibilities and at the very least, the same amount of prior working experience. Because I found out people were aware of their levels and that was clearly something I was being treated differently on, I dug deeper and found out that they were being paid nearly 18% more than me despite having the same responsibilities and past experience. I also proved time and time again that I was absolutely not an entry level developer in any sense, so there were endless opportunities for this disparity to be corrected. I collected extensive data on the work I’d completed up to that point and tried to present that and the pay disparity to HR but was met with no sense of urgency despite my claims that I was significantly underpaid for going on 10 months. I was told to speak with my new manager about it, which implied to me that they disagreed with my claims.&lt;/p&gt;
&lt;p&gt;Not getting similar pay when doing similar work is the definition of pay discrimination. Treating one person differently than everyone else is the definition of bias. Treating someone differently based on sex to the extent that it creates a hostile environment and preventing them from progressing in their career is the definition of sexual harassment. I did not leave for personal reasons. I left because I was discriminated against and traumatized by a biased manager and psychologically unsafe environment for months. I could no longer trust leadership to value or protect me after endlessly prioritizing a hostile employee and manager over any of the people that person traumatized for years. When that person directly harmed me, they were eventually replaced as a manager and given a promotion and new job title.&lt;/p&gt;
&lt;p&gt;People directly involved in this incident were able to remain part of the Accessibility Required employee-resource group for months, contributing to feelings of uneasiness and anxiety within the ERG. All the while I was left to carry the work of several people as a lone front end developer with no real recognition—just empty words with no action behind them.&lt;/p&gt;
</content:encoded><category>about-me</category><category>burnout</category><category>mental-health</category><category>self-care</category><category>vulnerability</category><category>women-in-tech</category></item><item><title>What the heck is &quot;web a11y&quot;?</title><link>https://ashleemboyer.com/blog/what-the-heck-is-web-a11y</link><guid isPermaLink="true">https://ashleemboyer.com/blog/what-the-heck-is-web-a11y</guid><description>The &quot;a11y&quot; numeronym, why it&apos;s important, and how to pronounce it</description><pubDate>Tue, 06 Jul 2021 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;If you&apos;ve seen &quot;a11y&quot; floating around the web development space and you&apos;re not sure what it means or how to say it, you&apos;re absolutely not alone. Don&apos;t feel bad! Almost no one knows what it is until someone else tells them. I didn&apos;t know for a long time. I even created a tool that relies on the mispronunciation of it!&lt;/p&gt;
&lt;h2&gt;What is a11y?&lt;/h2&gt;
&lt;p&gt;&quot;A11y&quot; is a numeronym or number-based word. It is composed of three parts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&quot;a&quot;&lt;/code&gt; - the first letter of the word &quot;accessibility&quot;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&quot;11&quot;&lt;/code&gt; - the number of letters between the first and last letters of the word &quot;accessibility&quot;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&quot;y&quot;&lt;/code&gt; - the last letter of the word &quot;accessibility&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Numeronyms are very common in web development! Think of &quot;K8s&quot; (Kubernetes), &quot;i18n&quot; (internationalization), and &quot;o11y&quot; (observability) as a few of examples. Some of them have different pronunciations depending on how the number in the middle is pronounced in combination with the letters before and after it.&lt;/p&gt;
&lt;p&gt;The way we pronounce &quot;K8s&quot; is different than the way we pronounce &quot;a11y&quot; because of how the numbers flow with the other letters. We &lt;em&gt;could&lt;/em&gt; pronounce &quot;K8s&quot; as &quot;kay-eight-ess&quot;, but &quot;keights&quot; (see the word eight in the middle?) is a single syllable and a little easier to say.&lt;/p&gt;
&lt;h2&gt;How is a11y pronounced?&lt;/h2&gt;
&lt;p&gt;So how do we pronounce &quot;a11y&quot;? We say &quot;ay-eleven-why&quot;. Pronunciations like &quot;al-ee&quot; or &quot;al-eye&quot; don&apos;t quite fit like most other pronunciations of numeronyms because they&apos;re not saying the number in the middle at all. This isn&apos;t to say that all numeronyms are said the same way, but most that use this format follow this idea.&lt;/p&gt;
&lt;h2&gt;Why use a11y instead of accessibility?&lt;/h2&gt;
&lt;p&gt;Numeronyms are often used when their original word is a lot of characters or difficult to pronounce. &lt;a href=&quot;https://en.wikipedia.org/wiki/Numeronym&quot;&gt;According to Wikipedia&lt;/a&gt;, the first numeronym was created in the 1980s for a software account owner&apos;s surname because it was too long for the system to handle. &quot;Accessibility&quot; is 6 syllables whereas its numeronym is 1 less. That&apos;s not a huge amount of savings, but the phonetics of &quot;a11y&quot; are easier for many people to verbalize than &quot;accessibility&quot; because the there are less &quot;harsh&quot; syllables in comparison.&lt;/p&gt;
&lt;p&gt;Numeronyms are also helpful where brevity is important, such as in tweets because Twitter enforces a character maximum. Since there are less characters to type, it can also be more efficient once you get used to using it. For me personally, it&apos;s also easier to remember how to spell!&lt;/p&gt;
&lt;h2&gt;Do I have to a11y instead of accessibility?&lt;/h2&gt;
&lt;p&gt;Nope! If you like using the word &quot;accessibility&quot; more than you like using the &quot;a11y&quot; numeronym, please continue to do so. It&apos;s definitely a matter of preference and using one or the other does not make you more or less knowledgeable. If someone tells you otherwise, they are unfairly gatekeeping the topic of web accessibility. What truly matters is that you know what &quot;a11y&quot; means so you&apos;re not thrown off when you read it in other people&apos;s content.&lt;/p&gt;
&lt;p&gt;Remember: everyone has different accessibility needs. Some people use &quot;a11y&quot; because it&apos;s more accessible to them. If &quot;accessibility&quot; is more accessible to you, that&apos;s totally acceptable!&lt;/p&gt;
</content:encoded><category>a11y</category><category>web-development</category><category>numeronym</category></item><item><title>My Writing and Planning Process</title><link>https://ashleemboyer.com/blog/my-writing-and-planning-process</link><guid isPermaLink="true">https://ashleemboyer.com/blog/my-writing-and-planning-process</guid><description>I leveled up my content process for 2021 with Trello and GitHub Pull Requests.</description><pubDate>Mon, 15 Feb 2021 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;When I first started seriously writing in early 2019, it was because I committed to a 30-day blogging challenge. My main goal of this challenge was to see if I even liked blogging and sharing my ideas so publicly. I&apos;m still here and telling you about my process, so hopefully it&apos;s clear that I like it!&lt;/p&gt;
&lt;h2&gt;Why I Needed Something Different&lt;/h2&gt;
&lt;p&gt;What I discovered is that publishing a post a day wasn&apos;t sustainable for me. I think it takes a special kind of person and a special kind of content to publish daily and I applaud anyone who does that. I personally can&apos;t keep up with a schedule like that because I have chronic issues that make my spoon levels unpredictable. As I write this, I&apos;m pretty low on spoons but I&apos;ve been looking forward to this post for several weeks, so that&apos;s what&apos;s motivating me. :)&lt;/p&gt;
&lt;p&gt;Not only was I looking for a schedule so that I can get back to writing at a regular cadence, but I&apos;m also launching a support site soon where folks can do monthly subscriptions to support my work and get some fun benefits in return. One of the membership tiers includes 2-week early access to blog posts I write for my website. That means I need to have posts written and scheduled ahead of time.&lt;/p&gt;
&lt;h2&gt;How I Came up with a New Process&lt;/h2&gt;
&lt;p&gt;Once I figured out I needed something different, I started thinking about all the things I love doing. I love writing about accessibility. I also love sharing the little things I learn every once in a while, such as &lt;a href=&quot;https://ashleemboyer.com/set-up-a-react-app-for-testing-with-jest-and-enzyme&quot;&gt;setting up a React App for testing with Jest and Enzyme&lt;/a&gt; or &lt;a href=&quot;https://ashleemboyer.com/how-to-dynamically-create-many-similar-css-classes-with-sass&quot;&gt;how to dynamically create many similar CSS classes with Sass&lt;/a&gt;. I knew for sure that I wanted to write more technical content this year than I have in the past.&lt;/p&gt;
&lt;p&gt;Then I thought about live streaming on Twitch. I love it too! I have my &lt;a href=&quot;https://ashleemboyer.com/blog/series/build-an-accessible-react-component&quot;&gt;Build an Accessible React Component&lt;/a&gt; live series that I plan to continue and knitting on stream is a nice change of pace. I knew I wanted to be able to publish posts regularly and also be able to stream on Twitch a couple of times a week.&lt;/p&gt;
&lt;p&gt;In November 2020, &lt;a href=&quot;https://twitter.com/AshleeMBoyer/status/1331636783768096770&quot;&gt;I wrote a tweet asking if anyone batched blog posts&lt;/a&gt;. It&apos;s more common than I thought! This thread is also where I was connected with &lt;a href=&quot;https://twitter.com/radiomorillo&quot;&gt;Stephanie Morillo&lt;/a&gt; (pronounced moh-REE-yoh) and signed up to have a 1:1 content coaching session with her. It went very well and she gave me a lot of great ideas! She also checked in with me afterwards to see how I was doing. I highly recommend following her and reading her content! She&apos;s the same person that inspired me to &lt;a href=&quot;https://twitter.com/AshleeMBoyer/status/1345569348652568576&quot;&gt;create a /links page and share it on social media&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;What I&apos;m Doing Now&lt;/h2&gt;
&lt;p&gt;I use 3 tools to stay organized: Google Calendar, Trello, and GitHub. It might sound like a lot to some, but I promise I keep the work for each to a minimum. Gotta save spoons everywhere I can! Let me tell you how I use each one. You can click on any of the screenshots to see them full-size.&lt;/p&gt;
&lt;h3&gt;Google Calendar&lt;/h3&gt;
&lt;p&gt;I&apos;m a very visual person. When I plan an appointment or video call, I always have to look at my calendar. My brain works in calendar weeks. So for a high-level view of what I&apos;m streaming on Twitch and when I stream it, I use Google Calendar. I stream twice a week. On Tuesdays, I code. On Thursdays, I knit. I make sure to distinguish between those two. For Twitch streams that are planned ahead of time, such as the ones where I build an accessible React component, I make sure that goes in the title as well. Those have not been scripted in the past, but they will be for future streams to save me some time and energy. That means I have to plan them ahead of time and to do that, I have to know exactly when they&apos;re happening. I&apos;ve also been numbering the streams but I&apos;m not sure why. I guess that part is just for fun! :)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://firebasestorage.googleapis.com/v0/b/ashleemboyer-2018.appspot.com/o/images%2F2021%2F02%2Fmy-writing-and-planning-process%2FCleanShot%202021-02-11%20at%2023.50.42.png?alt=media&amp;amp;token=a564af5c-987e-4f23-a640-9690c862e3e1&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Trello&lt;/h3&gt;
&lt;p&gt;I keep track of all of my writing ideas, plans, and newsletter dates with a &quot;Writing&quot; board in Trello. It has 6 columns:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Ideas:&lt;/strong&gt; This is like a backlog of ideas for posts. They&apos;re not guaranteed to be written, but getting them out of my brain ensures I won&apos;t forget them and also makes room for other things I want to think about.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;To Do:&lt;/strong&gt; These are planned posts and newsletters. They have due dates and titles and will definitely be written.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Outlining:&lt;/strong&gt; This is the first step in my writing process. Some posts almost skip this step because they can be written in one sitting. Longer posts are on a feature branch for my repository and they have a draft PR in GitHub. We&apos;ll get into that more in the next section.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Writing:&lt;/strong&gt; Posts in this column are ones I&apos;ve started filling in the outline on. This column is also for posts that are being reviewed. I&apos;m a pretty interactive reviewer/editor and still consider editing to be writing because I might re-word whole sections after a post is written out.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ready &amp;amp; Scheduled:&lt;/strong&gt; This column holds cards for newsletters that have been scheduled for delivery and posts that have PRs that just need me to press &quot;Merge&quot;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Live:&lt;/strong&gt; Things in this column have been sent or published. The whole world can see them.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The columns are laid out so that a task moves through each step from left to right. And as I mentioned in the last section, I&apos;m a very visual person. I use my one free power-up for the Calendar that lets me view all of my tasks by week or month. I use these views to ensure that I&apos;ve spaced out my topics appropriately and so I can group ideas if I feel like writing a series about a broader topic.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://firebasestorage.googleapis.com/v0/b/ashleemboyer-2018.appspot.com/o/images%2F2021%2F02%2Fmy-writing-and-planning-process%2FCleanShot%202021-02-08%20at%2022.23.46.png?alt=media&amp;amp;token=73366deb-df54-475c-b391-3f0bb59e4e2b&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;GitHub (and Vercel)&lt;/h3&gt;
&lt;p&gt;The code for this website is stored in a GitHub repository. Each post is a markdown file and it&apos;s treated just like any other file in a pull request. When I want to create a new post, I first create a branch called &lt;code&gt;post/&amp;lt;blog-post-slug&amp;gt;&lt;/code&gt;. The &lt;code&gt;post&lt;/code&gt; prefix is only there to help me keep things organized. I don&apos;t do anything special for CI/CD. Second, I create a new file for the post and put it in the appropriate directory. My directory structure for posts looks like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;posts/
  2019/
    01/
    02/
    ...
  2020/
    01/
    02/
    ...
  2021/
    01/
    02/
      my-writing-and-planning-process.md
    ...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After I&apos;ve outlined a post, I commit and push the changes and open a draft PR on GitHub. This enables me to see all the in progress posts I have at once and also allows me to work on many posts at once. When I was writing my &quot;Build a Blog Site with Next.js and Firebase&quot; series (&lt;a href=&quot;https://ashleemboyer.com/blog/archive/nextjs-firebase-blog-01--archived&quot;&gt;now archived&lt;/a&gt;), all 5 parts of the series where in their own pull requests at the same time.&lt;/p&gt;
&lt;p&gt;I use Next.js for this site and deploy it to Vercel. Vercel automatically builds previews for every PR and I use them when reviewing posts to make sure all links work correctly and that the post looks nice on my site. When I&apos;m ready to publish a post, all I have to do is hit the &quot;Merge&quot; button on the PR and Vercel automatically builds the updated version of my site.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://firebasestorage.googleapis.com/v0/b/ashleemboyer-2018.appspot.com/o/images%2F2021%2F02%2Fmy-writing-and-planning-process%2FCleanShot%202021-01-03%20at%2019.13.14.png?alt=media&amp;amp;token=325f2884-65c0-4128-afbc-8c3eba7385cd&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;In Summary&lt;/h2&gt;
&lt;p&gt;I love my new process. The tools I use can easily have redudant overlaps in their uses, but I feel confident that the setup I have keeps everything organized for very intentional usage. I schedule my streams in Google Calendar. I schedule my posts and newsletters in Trello. I manage reviewing, testing, and publishing in GitHub. I can write as many or as few posts as I want at the same time.&lt;/p&gt;
&lt;p&gt;If this post sparked any ideas for you or if you already do something that&apos;s just slightly different, I&apos;d love to hear about it. &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;Send me a tweet&lt;/a&gt; or &lt;a href=&quot;mailto:hello@ashleemboyer.com&quot;&gt;send me an email&lt;/a&gt;!&lt;/p&gt;
</content:encoded><category>writing</category><category>planning</category><category>organization</category></item><item><title>Set up a React App for Testing with Jest and Enzyme</title><link>https://ashleemboyer.com/blog/set-up-a-react-app-for-testing-with-jest-and-enzyme</link><guid isPermaLink="true">https://ashleemboyer.com/blog/set-up-a-react-app-for-testing-with-jest-and-enzyme</guid><description>Learn how to set up and configure a React app for Jest and Enzyme testing in just a few steps.</description><pubDate>Tue, 01 Dec 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;It&apos;s been awhile since I&apos;ve set up a React app for testing with Jest and Enzyme. Since I had to look up more than one of these steps to remind myself how to accomplish this, I decided to write a super quick guide in case it helps anyone else.&lt;/p&gt;
&lt;h2&gt;Dec. 8th Correction&lt;/h2&gt;
&lt;p&gt;Enzyme is not yet compatible with React 17. You should make sure the highest version of React you are using is &lt;code&gt;16.14.0&lt;/code&gt; if you want to use Enzyme with your tests. &lt;a href=&quot;https://github.com/enzymejs/enzyme/pull/2430&quot;&gt;This PR&lt;/a&gt; will add an adapter for React 17. &lt;em&gt;Please do not ask them when it will be done, it will be done when they get it done!&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;Step 1: Create the app with &lt;code&gt;create-react-app&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;This requires having &lt;code&gt;npx&lt;/code&gt; installed. You can read about it &lt;a href=&quot;https://www.npmjs.com/package/npx&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;npx create-react-app &amp;lt;app-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Step 2: If you use Sass modules, like me, install &lt;code&gt;node-sass&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;At the time of this writing, &lt;code&gt;node-sass@5.0.0&lt;/code&gt; in incompatible and &lt;code&gt;node-sass@4.14.1&lt;/code&gt; must be installed instead. There&apos;s a Stack Overflow answer about it &lt;a href=&quot;https://stackoverflow.com/questions/64625050/error-node-sass-version-5-0-0-is-incompatible-with-4-0-0/64626556#64626556&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;yarn add node-sass@4.14.1
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Step 3. Install the dev dependencies for Enzyme&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;--dev&lt;/code&gt; option is what saves these under &lt;code&gt;devDependencies&lt;/code&gt; in your &lt;code&gt;package.json&lt;/code&gt; file. Why do they need to be under &lt;code&gt;devDependencies&lt;/code&gt;? Because these kinds of dependences are &quot;Packages that are only needed for local development and testing.&quot; You can read a little more on that &lt;a href=&quot;https://docs.npmjs.com/specifying-dependencies-and-devdependencies-in-a-package-json-file&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;yarn add --dev enzyme enzyme-adapter-react-16
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Step 4. Configure Enzyme with an adapter in &lt;code&gt;setupTests.js&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;Enzyme needs to know what adapter you want to use. We tell it in the &lt;code&gt;setupTests.js&lt;/code&gt; file in the &lt;code&gt;src&lt;/code&gt; directory of your project. You can get more details about setting up Enzyme &lt;a href=&quot;https://enzymejs.github.io/enzyme/&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Your &lt;code&gt;setupTests.js&lt;/code&gt; should only have some comments and one &lt;code&gt;import&lt;/code&gt; statement right now. Just add these lines right after that &lt;code&gt;import&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import Enzyme from &quot;enzyme&quot;;
import Adapter from &quot;enzyme-adapter-react-16&quot;;

Enzyme.configure({ adapter: new Adapter() });
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Step 5. Get to testing! 💪&lt;/h2&gt;
&lt;p&gt;Everything you need is installed and now you just need to write up some tests. Here are some Jest and Enzyme docs to help you get started:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://jestjs.io/docs/en/getting-started&quot;&gt;Jest &quot;Getting Started&quot; Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://jestjs.io/docs/en/tutorial-react&quot;&gt;Jest &quot;Testing React Apps&quot; Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://enzymejs.github.io/enzyme/docs/guides/jest.html&quot;&gt;Enzyme&apos;s &quot;Using enzyme with Jest&quot; Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://enzymejs.github.io/enzyme/docs/api/&quot;&gt;Enzyme API Reference&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>javascript</category><category>testing</category><category>web-development</category></item><item><title>Accessible, Smooth Scroll-to-top Buttons with Little Code</title><link>https://ashleemboyer.com/blog/accessible-smooth-scroll-to-top-buttons-with-little-code</link><guid isPermaLink="true">https://ashleemboyer.com/blog/accessible-smooth-scroll-to-top-buttons-with-little-code</guid><description>Adding a scroll-to-top button with smooth scrolling is as easy as adding a few lines of code.</description><pubDate>Thu, 26 Nov 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Scroll-to-top buttons are great for pages that are long enough to require a few scrolls to read everything. They&apos;re even better for extremely long pages. Scrolling is a lot of work for some users, especially on a mobile device. We (website creators) can greatly reduce the amount of work it takes to scroll our pages with surprisingly little effort on our part.&lt;/p&gt;
&lt;p&gt;One example is the &lt;a href=&quot;https://www.w3.org/TR/wai-aria-practices-1.1&quot;&gt;WAI-ARIA Authoring Practices&lt;/a&gt;, which is 140,923 pixels tall at the time of this writing. I&apos;m not calling them out, it&apos;s just one of my favorite pages on the entire internet! &lt;a href=&quot;https://ashleemboyer.com/my-favorite-resource-for-making-accessible-custom-components&quot;&gt;It&apos;s a great resource for making accessible custom components&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Making a scroll-to-top button and making it scroll smoothly is probably a lot easier than you think. It&apos;s definitely a lot easier than &lt;em&gt;I&lt;/em&gt; thought! The code bits I&apos;m about to show are for React and SCSS, but you don&apos;t need to know either. The basic concepts here are for JavaScript and CSS. We&apos;ll also cover how to get rid of the smooth scrolling when it&apos;s an accessibility concern.The best part of this approach? It requires no focus management! &amp;lt;span aria-hidden=&quot;true&quot;&amp;gt;🎉&amp;lt;/span&amp;gt;&lt;/p&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;If you don&apos;t already have one, you need to add a Skip Navigation Link to your site. It&apos;s a quick, easy win as well, and the instructions below reference the one I use on my site. Not sure how to do it? Then read my post on &lt;a href=&quot;https://ashleemboyer.com/blog/how-i-added-a-skip-navigation-link-to-my-next-js-site&quot;&gt;How I Added a Skip Navigation Link to My Next.js Site&lt;/a&gt;!&lt;/p&gt;
&lt;h2&gt;The React Code&lt;/h2&gt;
&lt;p&gt;As you may have read in &lt;a href=&quot;https://ashleemboyer.com/blog/how-i-added-a-skip-navigation-link-to-my-next-js-site#what-does-the-code-look-like&quot;&gt;my post about Skip Navigation Links&lt;/a&gt;, I use Next.js Per-Page Layouts to help me render repeated content, such as navigation links, on many pages. The layout I use for the navigation header is where I placed a Skip Navigation Link and Scroll-to-Top link. The code looks something like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import styles from &quot;./base-layout.module.css&quot;;

const BaseLayout = ({ children }) =&amp;gt; {
  return (
    &amp;lt;div&amp;gt;
      &amp;lt;a href=&quot;#main-content&quot; id=&quot;skip-navigation-link&quot;&amp;gt;
        Skip Navigation
      &amp;lt;/a&amp;gt;
      &amp;lt;SiteHeader /&amp;gt;
      &amp;lt;main id=&quot;main-content&quot; tabIndex={-1}&amp;gt;
        {children}
      &amp;lt;/main&amp;gt;
      &amp;lt;a href=&quot;#skip-navigation-link&quot;&amp;gt;Back to Top&amp;lt;/a&amp;gt;
      &amp;lt;SiteFooter /&amp;gt;
    &amp;lt;/div&amp;gt;
  );
};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;What&apos;s important from this code:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The Scroll-to-Top link goes to the first focusable control on the page, which should be a Skip Navigation Link.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;href&lt;/code&gt; of the Scroll-top-Top link matches the &lt;code&gt;id&lt;/code&gt; of the Skip Navigation Link.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;The SCSS Code&lt;/h2&gt;
&lt;p&gt;The code below takes an accessibility- and browser-support- first approach. Rather than making the default behavior for scrolling be smooth, an animation which can be physically harmful to some folks (including myself), it only applies smooth scrolling when two conditions are true:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The &lt;code&gt;prefers-reduced-motion&lt;/code&gt; query is supported (&lt;a href=&quot;https://caniuse.com/mdn-css_at-rules_media_prefers-reduced-motion&quot;&gt;see the CanIUse.com page&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;The value of the setting is &lt;code&gt;no-preference&lt;/code&gt; (which unfortunately is the default value)&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;html {
  @media (prefers-reduced-motion: no-preference) {
    scroll-behavior: smooth;
  }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;One thing to keep in mind is that &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior#browser_compatibility&quot;&gt;&lt;code&gt;scroll-behavior&lt;/code&gt; does not have full browser support&lt;/a&gt;. At the time of writing, the feature is still in development for Safari.&lt;/p&gt;
&lt;h2&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;That&apos;s it! It really is just a few lines of code. After you add this, everyone will be able to quickly scroll to the top of your website. You&apos;ve also made it so your site doesn&apos;t accidentally harm someone who can&apos;t tolerate animations! Well done. I am proud of you!&lt;/p&gt;
</content:encoded><category>a11y</category><category>css</category><category>web-development</category></item><item><title>Challenge Accepted! Just F*ing Ship It.</title><link>https://ashleemboyer.com/blog/just-fing-ship-it</link><guid isPermaLink="true">https://ashleemboyer.com/blog/just-fing-ship-it</guid><description>I&apos;m participating in this year&apos;s Just F*ing Ship it Challenge by Women Make.</description><pubDate>Thu, 01 Oct 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Great news! I&apos;m joining the 30-day Just F*ing Ship It challenge to launch &lt;a href=&quot;https://nocodeoverlays.com&quot;&gt;No-Code Overlays&lt;/a&gt; on October 31st, 2020. If you want to read all the background information on the project, how I came up with my idea, and what the next few days will be like, make sure to check out the &lt;a href=&quot;https://nocodeoverlays.com/blog&quot;&gt;No-Code Overlays blog&lt;/a&gt;! I&apos;ll keep posting updates there as well, so keep your eye out every few days or so.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</content:encoded><category>just-f*ing-ship-it</category><category>no-code-overlays</category></item><item><title>10 Questions I&apos;m Asking All Companies Before Scheduling Any Interviews</title><link>https://ashleemboyer.com/blog/10-questions-i-m-asking-all-companies-before-scheduling-any-interviews</link><guid isPermaLink="true">https://ashleemboyer.com/blog/10-questions-i-m-asking-all-companies-before-scheduling-any-interviews</guid><description>It&apos;s important to ask questions early to find out if you even want to work somewhere.</description><pubDate>Mon, 03 Aug 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Interviewing requires &lt;em&gt;a lot&lt;/em&gt; of time and energy. Maybe you need to study some technical topics ahead of time. You probably already have commitments that require a lot of your focus—like another job or children. That&apos;s why it&apos;s important to be selective where you can about companies you want to interview with.&lt;/p&gt;
&lt;p&gt;Here are the ten questions I&apos;m using to decide whether or not I&apos;m interested in interviewing with a company:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;How large is the engineering team?&lt;/li&gt;
&lt;li&gt;What is the make-up of the engineering team? Such as, how many managers are there, who do they manage, etc.&lt;/li&gt;
&lt;li&gt;How often are one-on-ones?&lt;/li&gt;
&lt;li&gt;Who are the one-on-ones with?&lt;/li&gt;
&lt;li&gt;Is there career coaching?&lt;/li&gt;
&lt;li&gt;Are there performance reviews?&lt;/li&gt;
&lt;li&gt;How have you handled performance reviews with the pandemic?&lt;/li&gt;
&lt;li&gt;What&apos;s the development process like? For example, do you work in sprints?&lt;/li&gt;
&lt;li&gt;How tasks are estimated and assigned?&lt;/li&gt;
&lt;li&gt;Are there regular team retrospectives?&lt;/li&gt;
&lt;/ol&gt;
</content:encoded><category>interviewing</category><category>job-search</category><category>questions</category></item><item><title>Three Starting Points for Making Accessible Digital Content</title><link>https://ashleemboyer.com/blog/three-starting-points-for-making-accessible-digital-content</link><guid isPermaLink="true">https://ashleemboyer.com/blog/three-starting-points-for-making-accessible-digital-content</guid><description>You&apos;ll leave this post with straightforward action items for making your digital content more accessible.</description><pubDate>Sun, 26 Jul 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Accessibility can be pretty overwhelming at first. There are a lot of things to consider and it&apos;s really hard to figure out what you don&apos;t know when you&apos;re just starting out. I hope you find this short list useful to help your first dive into making accessible digital content. My focus is usually on websites, but a lot of this is good for things like mobile apps, ebooks, and slideshows, too!&lt;/p&gt;
&lt;h2&gt;1. Color Contrast&lt;/h2&gt;
&lt;p&gt;Ensuring you have a good contrast between text color and background color ensures nearly everyone can consume your content. People with vision disabilities (vision loss or color blindness) need high contrasting colors. Your minimum goal here is to meet contrast standards for normal and large sized text.&lt;/p&gt;
&lt;p&gt;My favorite tool for this is the &lt;a href=&quot;https://webaim.org/resources/contrastchecker/&quot;&gt;WebAIM Contrast Checker&lt;/a&gt;. You can input your foreground and background text colors and it will tell you how they fare under the WCAG level AA and level AAA standards.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;2. Alternative Text&lt;/h2&gt;
&lt;p&gt;Alternative text is also important for people with vision disabilities. There are two ways you can go about alternative text depending on your platform.&lt;/p&gt;
&lt;p&gt;When you&apos;re making a website by writing your own HTML, writing blog posts, or posting to social media sites like Twitter, you can add alt text to images. In HTML, make sure you&apos;re providing an &lt;code&gt;alt&lt;/code&gt; attribute all &lt;code&gt;img&lt;/code&gt; elements. When writing blog posts, a lot of blogging platforms will have a text input for you to provide alternative text. On Twitter, you can add alternative text as you&apos;re about to tweet an image or GIF.&lt;/p&gt;
&lt;p&gt;The previous points are only going to be useful for people using a screen reader. These devices pick up those attributes to present images to the person consuming them. However, not all users with vision disabilities use screen readers. So, if you feel like you&apos;d rather make your alternative text available for everyone, it&apos;s common practice to surround an image description in square brackets and preface it with &quot;Image description&quot;, like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[Image description: ...]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As for actually writing the image descriptions, that&apos;s going to take some practice. Imagine you are sitting socially distanced from a friend and you want to show them a picture you&apos;ve come across on your phone, but you&apos;d have to break social distance to physically show them. How would you describe the image to them in one or two sentences?&lt;/p&gt;
&lt;h2&gt;3. Semantic HTML&lt;/h2&gt;
&lt;p&gt;This point is a little more technical, but also useful for folks that use blogging platforms that provide text editors. The main lesson for this section? Use the elements that we have been given for their intended uses.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Need to display things in a list format? Use a bullet (&lt;code&gt;&amp;lt;ul&amp;gt;&lt;/code&gt; element) or numbered list (&lt;code&gt;&amp;lt;ol&amp;gt;&lt;/code&gt; element).&lt;/li&gt;
&lt;li&gt;Have a navigation menu at the top of your site? Use a &lt;code&gt;&amp;lt;nav&amp;gt;&lt;/code&gt; element.&lt;/li&gt;
&lt;li&gt;Have an element that users can click on to perform an important action? PLEASE use a &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; element. 😁&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Using semantic HTML elments is so important because they&apos;re already able to be presented by assistive devices without much addition. You&apos;re going to start adding ARIA roles and properties the minute you start using &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;s for &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt;s, and if you don&apos;t know what you&apos;re doing there, you can severely and negatively impact a screen reader user&apos;s experience.&lt;/p&gt;
&lt;p&gt;W3Schools has a great resource for &lt;a href=&quot;https://www.w3schools.com/html/html5_semantic_elements.asp&quot;&gt;reading about and practicing with HTML semantic elements&lt;/a&gt;.&lt;/p&gt;
</content:encoded><category>a11y</category><category>web-development</category><category>blogging</category></item><item><title>Build an Accessible Breadcrumb Component -- Part 1 in the Accessible React Component Series</title><link>https://ashleemboyer.com/blog/build-an-accessible-react-component-part-01</link><guid isPermaLink="true">https://ashleemboyer.com/blog/build-an-accessible-react-component-part-01</guid><description>The first accessible React component in the live series is a breadcrumb.</description><pubDate>Sat, 25 Apr 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;During the first stream in the accessible React component live coding series, we spun the wheel and it chose the breadcrumb component for us! While the component was extremely straightforward, I think it was a great one to kick off the series. Let&apos;s dive right in, shall we?&lt;/p&gt;
&lt;h2&gt;Setup&lt;/h2&gt;
&lt;p&gt;You can skip this part if you already have your own React project set up. This section is for anyone who wants to follow the series with a fresh project.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run &lt;code&gt;npx create-react-app &amp;lt;project-name&amp;gt;&lt;/code&gt; in your terminal&lt;/li&gt;
&lt;li&gt;Remove the &lt;code&gt;src/App.css&lt;/code&gt; file&lt;/li&gt;
&lt;li&gt;Replace your &lt;code&gt;src/App.js&lt;/code&gt; file with this code:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;import React from &quot;react&quot;;

const App = () =&amp;gt; &amp;lt;div&amp;gt;Hello, world!&amp;lt;/div&amp;gt;;

export default App;
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;Rename &lt;code&gt;src/index.css&lt;/code&gt; to &lt;code&gt;index.scss&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Update the reference to the file from 4 in &lt;code&gt;src/index.js&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Remove &lt;code&gt;src/logo.svg&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the app (&lt;code&gt;yarn start&lt;/code&gt; or &lt;code&gt;npm start&lt;/code&gt;)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now, you should see a &quot;Failed to compile&quot; error in your browser and it should be because we haven&apos;t added the &lt;code&gt;node-sass&lt;/code&gt; package to or project yet.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run &lt;code&gt;yarn add node-sass&lt;/code&gt; or &lt;code&gt;npm install node-sass&lt;/code&gt; in the terminal you&apos;ve been working in so far&lt;/li&gt;
&lt;li&gt;Re-run your app (&lt;code&gt;yarn start&lt;/code&gt; or &lt;code&gt;npm start&lt;/code&gt;)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Your browser should say &quot;Hello, world!&quot; now. We&apos;re all set up!&lt;/p&gt;
&lt;h2&gt;My process&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Read through the WAI-ARIA Authoring Practices documentation&lt;/li&gt;
&lt;li&gt;Create a minimal React component that says &quot;Hello&quot;&lt;/li&gt;
&lt;li&gt;Flesh out the React component with the necessary HTML elements&lt;/li&gt;
&lt;li&gt;Figure out what inputs (props) the React component needs&lt;/li&gt;
&lt;li&gt;Add the necessary WAI-ARIA Roles, States, and Properties&lt;/li&gt;
&lt;li&gt;Add keyboard interaction&lt;/li&gt;
&lt;li&gt;Perform manual tests (listen with a screen reader, navigate with a keyboard, etc.)&lt;/li&gt;
&lt;li&gt;Add automated tests&lt;/li&gt;
&lt;li&gt;Write the documentation&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;1. The WAI-ARIA Authoring Practices Documentation&lt;/h2&gt;
&lt;p&gt;The first thing we have to do is read &lt;a href=&quot;https://www.w3.org/TR/wai-aria-practices-1.1/#breadcrumb&quot;&gt;the available documentation for this component&lt;/a&gt; on the WAI-ARIA Authoring Practices web page. There&apos;s not too much to this component.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A breadcrumb trail consists of a list of links to the parent pages of the current page in hierarchical order. It helps users find their place within a website or web application. Breadcrumbs are often placed horizontally before a page&apos;s main content.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There&apos;s no keyboard interaction to add here since you can use the Tab and Shift+Tab keys by default to navigation through links. We just have to make sure we&apos;re using the correct HTML elements in our component and we have one ARIA state (&lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.1/#aria-current&quot;&gt;&lt;code&gt;aria-current&lt;/code&gt;&lt;/a&gt;) and one ARIA property (&lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.1/#aria-label&quot;&gt;&lt;code&gt;aria-label&lt;/code&gt;&lt;/a&gt;) to include as well.&lt;/p&gt;
&lt;h2&gt;2. A Minimal React Component&lt;/h2&gt;
&lt;p&gt;This series of blog posts will use the file structure I have laid out in my &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.1/#aria-current&quot;&gt;&lt;code&gt;a11y-components&lt;/code&gt;&lt;/a&gt; GitLab repository. It looks a bit like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;src/
  components/
    Button/
    Dialog/
    Listbox/
    ...
  App.js
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Let&apos;s add a &lt;code&gt;Breadcrumb&lt;/code&gt; folder under &lt;code&gt;components&lt;/code&gt;. You need to create the &lt;code&gt;components&lt;/code&gt; folder and add an &lt;code&gt;index.js&lt;/code&gt; file to it if you followed the Setup section above. Then we need to add 5 files to the Breadcrumb folder:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Breadcrumb.jsx&lt;/li&gt;
&lt;li&gt;Breadcrumb.module.scss&lt;/li&gt;
&lt;li&gt;Breadcrumb.test.js&lt;/li&gt;
&lt;li&gt;index.js&lt;/li&gt;
&lt;li&gt;README.md&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Breadcrumb.jsx&lt;/h3&gt;
&lt;p&gt;This file will have all of our React code. Let&apos;s start with something minimal to check if our setup is correct:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import React from &quot;react&quot;;

const Breadcrumb = () =&amp;gt; &amp;lt;h1&amp;gt;Breadcrumb works!&amp;lt;/h1&amp;gt;;

export default Breadcrumb;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Breadcrumb.module.scss&lt;/h3&gt;
&lt;p&gt;This file will hold all of our CSS. We&apos;ll wait to add anything here until we start building up the component.&lt;/p&gt;
&lt;h3&gt;Breadcrumb.test.js&lt;/h3&gt;
&lt;p&gt;Don&apos;t forget to write tests! They&apos;re not only important for making sure your component works as expected, but also for making sure that future changes you make don&apos;t break existing behavior. We&apos;ll write these after we&apos;ve finished the component.&lt;/p&gt;
&lt;h3&gt;index.js&lt;/h3&gt;
&lt;p&gt;This file is for exporting everything we need from the Breadcrumb component so it can be used elsewhere in the application. More complex components might have multiple exports in this file but ours will stay simple for this component:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;export { default as Breadcrumb } from &quot;./Breadcrumb&quot;;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;README.md&lt;/h3&gt;
&lt;p&gt;This is where we&apos;ll document our component. It&apos;s important to detail a component&apos;s purpose and how to use it. We&apos;ll have 3 main sections: Properties, Accessibility, and Usage (examples). Let&apos;s also save this file for when the component is done.&lt;/p&gt;
&lt;h3&gt;Test it out&lt;/h3&gt;
&lt;p&gt;First add the following to the &lt;code&gt;src/components/index.js&lt;/code&gt; file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;export { Breadcrumb } from &quot;./Breadcrumb&quot;;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then update &lt;code&gt;src/App.js&lt;/code&gt; to use the component:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import React from &quot;react&quot;;

import { Breadcrumb } from &quot;./components&quot;;

const App = () =&amp;gt; &amp;lt;Breadcrumb /&amp;gt;;

export default App;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Check your browser. It should say &quot;Breadcrumb works!&quot; with an &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; element.&lt;/p&gt;
&lt;h2&gt;3. Add HTML elements to the React Component&lt;/h2&gt;
&lt;p&gt;Now that our component has all its files created and we&apos;ve got a minimal version of it working and showing in our browser, we can start building it out to specification. Let&apos;s head back over to &lt;a href=&quot;https://www.w3.org/TR/wai-aria-practices-1.1/#breadcrumb&quot;&gt;the documentation&lt;/a&gt; and see what elements we need to use. You should see an &quot;Example&quot; section for the widget and a single link to the example. Let&apos;s &lt;a href=&quot;https://www.w3.org/TR/wai-aria-practices-1.1/examples/breadcrumb/index.html&quot;&gt;go there&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Under &quot;Accessibility Features&quot; we can see that we need a &lt;code&gt;&amp;lt;nav&amp;gt;&lt;/code&gt; element to contain all of the links and that the links need to be structured in an ordered list (&lt;code&gt;&amp;lt;ol&amp;gt;&lt;/code&gt;) component. Don&apos;t worry about how the elements need to be labeled just yet. We&apos;ll get to that in a few minutes.&lt;/p&gt;
&lt;p&gt;Let&apos;s change what our Breadcrumb component renders first. We can hardcode the elements for now and then make the component more dynamic in the next step.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;nav&amp;gt;
  &amp;lt;ol&amp;gt;
    &amp;lt;li&amp;gt;
      &amp;lt;a href=&quot;&quot;&amp;gt;Link 1&amp;lt;/a&amp;gt;
    &amp;lt;/li&amp;gt;
    &amp;lt;li&amp;gt;
      &amp;lt;a href=&quot;&quot;&amp;gt;Link 2&amp;lt;/a&amp;gt;
    &amp;lt;/li&amp;gt;
    &amp;lt;li&amp;gt;
      &amp;lt;a href=&quot;&quot;&amp;gt;Link 3&amp;lt;/a&amp;gt;
    &amp;lt;/li&amp;gt;
  &amp;lt;/ol&amp;gt;
&amp;lt;/nav&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Save your component and you should see something like the following in your browser:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;1. Link 1
2. Link 2
3. Link 3
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Yay! Now we need to style the list horizontally and add a separator between each link. We&apos;re going to do this in CSS so that screen readers don&apos;t pick them up and present them to users.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Import the SCSS file in &lt;code&gt;Breadcrumb.jsx&lt;/code&gt;:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;import styles from &quot;./Breadcrumb.module.scss&quot;;
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;Give the &lt;code&gt;nav&lt;/code&gt; element in the component a &lt;code&gt;className&lt;/code&gt;:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;nav className={styles.BreadcrumbContainer}&amp;gt;...&amp;lt;/nav&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;Add the code to &lt;code&gt;Breadcrumb.module.scss&lt;/code&gt;:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;.BreadcrumbContainer {
  padding: 12px;
  background-color: lightgray;
  text-align: left;

  ol {
    margin: 0;
    padding: 0;
    list-style: none;

    li {
      display: inline;
      margin: 0;
      padding: 0;

      a {
        color: black;
      }
    }
  }

  // The visual separators
  li + li::before {
    display: inline-block;
    margin: 0 12px;
    transform: rotate(15deg);
    border-right: 2px solid black;
    height: 0.8em;
    content: &quot;&quot;;
  }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The links should be listed horizontally on a gray background have separators between each.&lt;/p&gt;
&lt;h2&gt;4. Add Props to the React Component&lt;/h2&gt;
&lt;p&gt;Let&apos;s make our component accept a list of links so it&apos;s dynamic and can be reused. It looks like each link has two pieces: a readable label and an &lt;code&gt;href&lt;/code&gt;. We first need to update &lt;code&gt;src/App.js&lt;/code&gt; and pass an array of links to the component like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;Breadcrumb
  links={[
    {
      label: &quot;Link 1&quot;,
      href: &quot;&quot;,
    },
    {
      label: &quot;Link 2&quot;,
      href: &quot;&quot;,
    },
    {
      label: &quot;Link 3&quot;,
      href: &quot;&quot;,
    },
  ]}
/&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now we need to update the component to accept and use a prop called &lt;code&gt;links&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const Breadcrumb = ({ links }) =&amp;gt; (
  &amp;lt;nav className={styles.BreadcrumbContainer}&amp;gt;
    &amp;lt;ol&amp;gt;
      {links.map((link) =&amp;gt; (
        &amp;lt;li&amp;gt;
          &amp;lt;a href={link.href}&amp;gt;{link.label}&amp;lt;/a&amp;gt;
        &amp;lt;/li&amp;gt;
      ))}
    &amp;lt;/ol&amp;gt;
  &amp;lt;/nav&amp;gt;
);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When you look at the browser, it should look exactly as it did before this step if you&apos;re using the same links as you previously hardcoded.&lt;/p&gt;
&lt;h2&gt;5. WAI-ARIA Roles, States, and Properties&lt;/h2&gt;
&lt;p&gt;We have two ARIA attributes to discuss for this component: &lt;code&gt;aria-label&lt;/code&gt; and &lt;code&gt;aria-current&lt;/code&gt;.&lt;/p&gt;
&lt;h3&gt;&lt;code&gt;aria-label&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;This attribute describes the kind of navigation the component is providing. It must be set to &quot;Breadcrumb&quot; like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;nav aria-label=&quot;Breadcrumb&quot;&amp;gt;...&amp;lt;/nav&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can read more about the &lt;code&gt;aria-label&lt;/code&gt; property &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.1/#aria-label&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;&lt;code&gt;aria-current&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;This attribute is applied to the last link in the list so it will be presented as the current page&apos;s link. We can accompomplish this by using the second parameter passed to our callback to &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map&quot;&gt;the &lt;code&gt;map&lt;/code&gt; method&lt;/a&gt;, which is the index of the current element in the array. If the index we&apos;re looking at is one less than the length of the index, then we&apos;re looking at the last element in the array and need to apply the &lt;code&gt;aria-current=&quot;page&quot;&lt;/code&gt; attribute to the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element we&apos;re rendering. Otherwise, the attribute should be &lt;code&gt;undefined&lt;/code&gt;. Let&apos;s also add a unique &lt;code&gt;key&lt;/code&gt; to each &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; while we&apos;re at it.&lt;/p&gt;
&lt;p&gt;Here&apos;s what the &lt;code&gt;&amp;lt;ol&amp;gt;&lt;/code&gt; element should look like now:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;ol&amp;gt;
  {links.map((link, index) =&amp;gt; {
    const isLastLink = index === links.length - 1;
    return (
      &amp;lt;li key={`breadcrumb-link-${index}`}&amp;gt;
        &amp;lt;a href={link.href} aria-current={isLastLink ? &quot;page&quot; : undefined}&amp;gt;
          {link.label}
        &amp;lt;/a&amp;gt;
      &amp;lt;/li&amp;gt;
    );
  })}
&amp;lt;/ol&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;We also probably want to style the current page&apos;s link differently to indicate that it&apos;s the page we&apos;re on. We can do this in our SCSS file by selecting on the &lt;code&gt;aria-current&lt;/code&gt; attribute. You&apos;ll want to add this to the &lt;code&gt;ol&lt;/code&gt; section of the file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[aria-current=&quot;page&quot;] {
  font-weight: bold;
  text-decoration: none;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can read more about the &lt;code&gt;aria-current&lt;/code&gt; state &lt;a href=&quot;https://www.w3.org/TR/wai-aria-1.1/#aria-current&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;6. Add Keyboard Interaction&lt;/h2&gt;
&lt;p&gt;We don&apos;t have any keyboard interaction to add to this component! We just need to make sure that Tab and Tab+Shift work as expected with &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; elements.&lt;/p&gt;
&lt;h2&gt;7. Perform Manual Tests&lt;/h2&gt;
&lt;p&gt;I use the &lt;a href=&quot;https://chrome.google.com/webstore/detail/chromevox-classic-extensi/kgejglhpjiefppelpmljglcjbhoiplfn?hl=en&quot;&gt;ChromeVox Classic Extension&lt;/a&gt; to to do screen reader testing. It&apos;s easy to turn on only when I want to do tests by going to &lt;code&gt;chrome://extensions/&lt;/code&gt; in my browser and toggling the extension on and off.&lt;/p&gt;
&lt;p&gt;Here&apos;s a video of what the component looks and sounds like when you tab through it:&lt;/p&gt;
&lt;p&gt;&amp;lt;video controls&amp;gt;&amp;lt;source src=&quot;https://firebasestorage.googleapis.com/v0/b/ashleemboyer-2018.appspot.com/o/images%2F2020%2F04%2Fbarc%2Fbarc-01-screen-screen-reader.mov?alt=media&amp;amp;token=a7170255-f499-44c8-b7ab-f4a0a44da728&quot; /&amp;gt;&amp;lt;/video&amp;gt;&lt;/p&gt;
&lt;h2&gt;8. Add Automated Tests&lt;/h2&gt;
&lt;p&gt;The tests for this component should be very straightforward since there&apos;s no interaction or state changes going on. We don&apos;t need to test what happens on click and there&apos;s no computation or anything of like going on. This component just loads and shows things, that means the only thing we can really test for is that everything shows correctly on load. We&apos;ll be using &lt;a href=&quot;https://jestjs.io/docs/en/getting-started.html&quot;&gt;Jest&lt;/a&gt; and &lt;a href=&quot;https://enzymejs.github.io/enzyme/docs/guides/jest.html&quot;&gt;Enzyme&lt;/a&gt; for testing.&lt;/p&gt;
&lt;h3&gt;Setting up Enzyme&lt;/h3&gt;
&lt;p&gt;First, we need to &lt;a href=&quot;https://enzymejs.github.io/enzyme/docs/installation/react-16.html&quot;&gt;install and configure Enzyme&lt;/a&gt;. You can skip to the next section if you&apos;ve already got it working.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Run &lt;code&gt;npm i --save-dev enzyme enzyme-adapter-react-16&lt;/code&gt; in your terminal to install Enzyme with npm&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add the following code to the end of the &lt;code&gt;setupTests.js&lt;/code&gt; file to configure Enyzme:&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;import { configure } from &quot;enzyme&quot;;
import Adapter from &quot;enzyme-adapter-react-16&quot;;

configure({ adapter: new Adapter() });
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Writing the tests&lt;/h3&gt;
&lt;p&gt;Since the file is short, I&apos;ll paste it now and then walk through what&apos;s going on.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import React from &quot;react&quot;;
import { shallow } from &quot;enzyme&quot;;

import Breadcrumb from &quot;./Breadcrumb&quot;;

const testLinks = [
  { label: &quot;Test Link 1&quot;, href: &quot;test-link-1&quot; },
  { label: &quot;Test Link 2&quot;, href: &quot;test-link-2&quot; },
];

describe(&quot;&amp;lt;Breadcrumb /&amp;gt;&quot;, () =&amp;gt; {
  it(&quot;renders successfully with the correct aria attributes&quot;, () =&amp;gt; {
    const wrapper = shallow(&amp;lt;Breadcrumb links={testLinks} /&amp;gt;);

    const nav = wrapper.find(&quot;nav&quot;);
    expect(nav).toHaveLength(1);
    expect(nav.props()[&quot;aria-label&quot;]).toBe(&quot;Breadcrumb&quot;);

    const anchorElements = wrapper.find(&quot;a&quot;);
    expect(anchorElements).toHaveLength(testLinks.length);

    const firstAnchor = anchorElements.first();
    expect(firstAnchor.text()).toBe(testLinks[0].label);
    expect(firstAnchor.props()[&quot;href&quot;]).toBe(testLinks[0].href);

    const lastAnchor = anchorElements.last();
    expect(lastAnchor.props()[&quot;aria-current&quot;]).toBe(&quot;page&quot;);
  });
});
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After all the necessary imports, we have a &lt;code&gt;testLinks&lt;/code&gt; constant that holds the test values we need to perform our tests. It&apos;s good practice to store test values rather than hardcoding them inline for the same reason we don&apos;t want to do it in other code: it makes it easier to modify the test values. It&apos;s not fun trying to update a bunch of strings in a test file with a few hundred lines of code. Variables are so easy to reference in tests!&lt;/p&gt;
&lt;p&gt;Then, we have our main &lt;a href=&quot;https://jestjs.io/docs/en/api#describename-fn&quot;&gt;&lt;code&gt;describe&lt;/code&gt;&lt;/a&gt; block that groups all of the tests for this component. We have a single &lt;code&gt;it&lt;/code&gt; block (alias for &lt;a href=&quot;https://jestjs.io/docs/en/api#testname-fn-timeout&quot;&gt;&lt;code&gt;test&lt;/code&gt;&lt;/a&gt;) which runs our single test. In our test, we can then call as many &lt;a href=&quot;https://jestjs.io/docs/en/expect#expectvalue&quot;&gt;&lt;code&gt;expect&lt;/code&gt;s&lt;/a&gt; as we want. We&apos;ve got quite a few here, so let&apos;s see what each one testing.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;First, we shallow render the component. This is an Enzyme concept and you can read about it and it&apos;s API Reference &lt;a href=&quot;https://enzymejs.github.io/enzyme/docs/api/shallow.html&quot;&gt;at this link&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;One of our specifications for the component is that it wraps everything in a &lt;code&gt;&amp;lt;nav&amp;gt;&lt;/code&gt; element and that the element has &lt;code&gt;aria-label=&quot;Breadcrumb&quot;&lt;/code&gt; on it. We test for that by using &lt;a href=&quot;https://enzymejs.github.io/enzyme/docs/api/ShallowWrapper/find.html&quot;&gt;&lt;code&gt;find&lt;/code&gt;&lt;/a&gt;. We only want there to be 1 element, so that&apos;s what the first expect is accomplishing. Then, we want to check the &lt;a href=&quot;https://enzymejs.github.io/enzyme/docs/api/ShallowWrapper/props.html&quot;&gt;&lt;code&gt;props&lt;/code&gt;&lt;/a&gt; on the &lt;code&gt;nav&lt;/code&gt; and make sure the &lt;code&gt;aria-label&lt;/code&gt; prop is correctly set to &lt;code&gt;&quot;Breadcrumb&quot;&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Next, we want to make sure the correct number of anchor elements are being rendered based on the input given to the component through the &lt;code&gt;links&lt;/code&gt; prop. Similar to the previous step, we &lt;code&gt;find&lt;/code&gt; all the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; elements and then expect that there are as many found as we have in our &lt;code&gt;testLinks&lt;/code&gt; array.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Now we can look at the first link rendered to make sure it has both a &lt;code&gt;label&lt;/code&gt; and &lt;code&gt;href&lt;/code&gt; being rendered correctly. We get the first anchor element using the handy &lt;a href=&quot;https://enzymejs.github.io/enzyme/docs/api/ShallowWrapper/first.html&quot;&gt;&lt;code&gt;first&lt;/code&gt;&lt;/a&gt; method. Then we expect it&apos;s &lt;a href=&quot;https://enzymejs.github.io/enzyme/docs/api/ShallowWrapper/text.html&quot;&gt;&lt;code&gt;text&lt;/code&gt;&lt;/a&gt; to match the first test link&apos;s &lt;code&gt;label&lt;/code&gt;. Finally, we check the &lt;code&gt;props&lt;/code&gt; on the element and make sure &lt;code&gt;href&lt;/code&gt; is set to the test link&apos;s &lt;code&gt;href&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Note: we only need to perform these expects on the first element because if the first element is rendered correctly, then all the others are too.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Last but not least, we need to make sure the last anchor element has the &lt;code&gt;aria-current&lt;/code&gt; attribute set to &lt;code&gt;&quot;page&quot;&lt;/code&gt;. And you guessed it! Enzyme also has a &lt;a&gt;&lt;code&gt;last&lt;/code&gt;&lt;/a&gt; method to go with &lt;code&gt;first&lt;/code&gt;. Similar to how we checked the &lt;code&gt;aria-label&lt;/code&gt; prop in 2, we expect it to have the string value of &lt;code&gt;&quot;page&quot;&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;9. Write the Documentation&lt;/h2&gt;
&lt;p&gt;We&apos;re almost done! Let&apos;s get the documentation written out and then we can admire our beautiful new component as a whole.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up the Breadcrumb&apos;s &lt;code&gt;README.md&lt;/code&gt; and add an H1 heading and a description/purpose of the component.&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;# Breadcrumb

This component displays a list of links to show users where they are within an application.
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;Add an H2 heading for Properties. This is where we&apos;ll describe the props passed into the component. This should be in a table in your file, but for formatting purposes, I am listing them below as a list.&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;## Properties

**Links**

- Type: Array
- Required: Yes
- Default value: None
- Description: These are the links to show in the breadcrumb. Each has a `label` and an `href` attribute.
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;Add another H2 heading for Accessibility. We&apos;ll detail keyboard interaction, WAI-ARIA roles, states, and properties, and additional features, just like the WAI-ARIA site does.&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;## Accessibility

### Keyboard Interaction

Not applicable.

### WAI-ARIA Roles, States, and Properties

- The links are contained in an ordered list within a `&amp;lt;nav&amp;gt;` element
- The `&amp;lt;nav&amp;gt;` element has the `aria-label` attribute set to `&quot;Breadcrumb&quot;`
- The last link in the list represents the current page, and must have `aria-current` set to `&quot;page&quot;`

### Additional Features

- The separators between each link are added via CSS so they are not presented by a screen reader
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;Last but not least, we add an H2 heading for Usage. This is where we&apos;ll put some code examples for how to use the component.&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;## Usage

&amp;lt;Breadcrumb
links={[
{ label: &quot;Link 1&quot;, href: &quot;&quot; },
{ label: &quot;Link 2&quot;, href: &quot;&quot; },
{ label: &quot;Link 3&quot;, href: &quot;&quot; }
]}
/&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;And that&apos;s it! We have an accessible Breadcrumb component. We still have many more accessible React components to make and it&apos;s been so much fun this far. Make sure to &lt;a href=&quot;https://twitch.tv/ashleemboyer&quot;&gt;follow my channel&lt;/a&gt; so you&apos;re notified every time I go live!&lt;/p&gt;
</content:encoded><category>a11y</category><category>react</category><category>barc</category></item><item><title>Build an Accessible React Component -- The Live Series</title><link>https://ashleemboyer.com/blog/build-an-accessible-react-component-the-live-series</link><guid isPermaLink="true">https://ashleemboyer.com/blog/build-an-accessible-react-component-the-live-series</guid><description>This is where you can find all the details for my accessible React component live coding series.</description><pubDate>Sun, 19 Apr 2020 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;First of all, Thank you so much! 🎉&lt;/h2&gt;
&lt;p&gt;The &quot;Build a React &amp;amp; Firebase Blog Site&quot; live stream was fantastic! I now have two posts to add to my &lt;a href=&quot;https://dev.to/ashleemboyer/build-a-react-firebase-blog-site-part-1-4gn0&quot;&gt;&quot;Build a React &amp;amp; Firebase Blog Site&quot; Series&lt;/a&gt; and am considering packaging the series up in an ebook format! You can watch the video on YouTube!&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe title=&quot;Build a React &amp;amp; Firebase Blog Site&quot; width=&quot;100%&quot; height=&quot;400px&quot; src=&quot;https://www.youtube.com/embed/UA0-DWfIuts&quot; frameBorder=&quot;0&quot; allow=&quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&quot; allowFullScreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h2&gt;What&apos;s this about? 🤔&lt;/h2&gt;
&lt;p&gt;In the meantime, I&apos;ve been thinking about topics for upcoming live coding streams and have decided to make a whole series about building accessible React components. I have GitHub repository with a couple of things in it already, but needed a break from all things outside of work for a while. What better way to pick things back up than with a live series to add to the repository?&lt;/p&gt;
&lt;h2&gt;Neat! How&apos;s it going to work? ✨&lt;/h2&gt;
&lt;p&gt;Here&apos;s the idea: we&apos;ll pick a random widget from the &lt;a href=&quot;https://www.w3.org/TR/wai-aria-practices&quot;&gt;WAI-ARIA Authoring Practices&lt;/a&gt; with an on-screen wheel, then build it in React! If a really complex component is chosen, it might take an extra stream to finish it, but we&apos;ll walk through the whole thing from start to finish!&lt;/p&gt;
&lt;h2&gt;Let&apos;s gooo! 🏃‍♀️&lt;/h2&gt;
&lt;p&gt;To get notified when I go live on stream, you can &lt;a href=&quot;https://twitch.tv/ashleemboyer&quot;&gt;follow me on Twitch&lt;/a&gt;. If you can&apos;t catch the stream live, it&apos;ll still be available afterwards to re-watch! I also plan on uploading my videos to YouTube since they don&apos;t stay on Twitch forever. I&apos;ll also add to the bottom of this post as we make it though the series so everything is nicely grouped together.&lt;/p&gt;
</content:encoded><category>a11y</category><category>react</category><category>barc</category></item><item><title>My Favorite Resource for Making Accessible Custom Components</title><link>https://ashleemboyer.com/blog/my-favorite-resource-for-making-accessible-custom-components</link><guid isPermaLink="true">https://ashleemboyer.com/blog/my-favorite-resource-for-making-accessible-custom-components</guid><description>Want to make your components accessible but not sure about the technical feasibility or how to get started? Take a look at the WAI-ARIA Authoring Practices by W3C!</description><pubDate>Fri, 07 Feb 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I&apos;ll admit: making web apps accessible can be challenging, especially when you&apos;re new to it. It requires thinking from the perspective of disabled users and having some knowledge about the assistive tools they use, such as screen readers. You may also feel overwhelmed when you start reading documentation. There is a ton of information out there! So I&apos;m going to share with you my favorite resource that I use when making accessible custom components and I&apos;ll also tell you about how I like to use it.&lt;/p&gt;
&lt;h1&gt;W3C&apos;s WAI-ARIA Authoring Practices&lt;/h1&gt;
&lt;p&gt;If you don&apos;t already know, W3C (The World Wide Web Consortium) is &quot;an international community that develops open standards to ensure the long-term growth of the Web.&quot; They have an initiative called The Web Accessibility Initiative (WAI), which provides &quot;strategies, standards, and resources&quot; for making the web more accessible to disabled people. There is a wealth of information here and it&apos;s easy to get overwhelmed by it. That&apos;s why I recommend starting with the &lt;a href=&quot;https://www.w3.org/TR/wai-aria-practices/&quot;&gt;WAI-ARIA Authoring Practices&lt;/a&gt; when you&apos;re ready to start looking at some technical documentation on accessibility.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;What you&apos;ll find&lt;/h2&gt;
&lt;p&gt;There are 9 sections. I use the third section the most.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Introduction:&lt;/strong&gt; Talks about the purpose of the document and what will be discussed throughout.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Read Me First:&lt;/strong&gt; Covers a couple of ARIA principles, the importance of testing assistive technologies, and warns that the document doesn&apos;t cover mobile and touch support.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Design Patterns and Widgets:&lt;/strong&gt; Shows how to make accessible &quot;widgets&quot; (or components) using WAI-ARIA roles, states, and properties and has requirements for implementing keyboard support. There are 27 examples!&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Landmark Regions:&lt;/strong&gt; Introduces HTML sectioning elements and ARIA landmark roles and explains how they help assistive technology users understand how a web page is laid out.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Providing Accessible Names and Descriptions:&lt;/strong&gt; Talks about the purpose of accessible names and descriptions, when to use them, how browsers assemble them, and rules for making them.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Developing a Keyboard Interface:&lt;/strong&gt; Covers the principles of coding keyboard support and why it&apos;s important.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Grid and Table Properties:&lt;/strong&gt; Talks about the ARIA properties that help make grids and tables accessible and how to use them.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Intentionally Hiding Semantics with the &lt;code&gt;presentation&lt;/code&gt; Role:&lt;/strong&gt; Discusses what the &lt;code&gt;presentation&lt;/code&gt; role does and when it&apos;s commonly used.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Roles That Automatically Hide Semantics by Making Their Descendants Presentational:&lt;/strong&gt; Lists the roles/elements that make all of their children have the previously discussed &lt;code&gt;presentation&lt;/code&gt; role.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How I use it&lt;/h2&gt;
&lt;p&gt;Section 3, &quot;Design Patterns and Widgets&quot;, is my favorite and the one I read the most. There are so many widgets discussed! Let&apos;s look at &lt;a href=&quot;https://www.w3.org/TR/wai-aria-practices/#button&quot;&gt;the Button subsection&lt;/a&gt; as an example.&lt;/p&gt;
&lt;p&gt;Each section starts by explaining what the widget does and what it&apos;s used for. If there are multiple types of the widget, it&apos;ll briefly cover those too. There are 2 additional types of buttons supported by WAI-ARIA: toggle and menu. I use this section to fully understand the functionality of a widget and also to learn any new terminology I should be using when documenting my own components.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sometimes there will be NOTE sections that discuss caveats or additional resources. The one for this widget discusses cases when links need to look like buttons or when buttons need to function like links.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Next up, there will be a list of links to examples. &lt;a href=&quot;https://www.w3.org/TR/wai-aria-practices/examples/button/button.html&quot;&gt;The Button widget examples&lt;/a&gt; show how to correctly make a &lt;code&gt;div&lt;/code&gt; element a button and a toggle button created with an &lt;code&gt;a&lt;/code&gt; element. I like to read the code examples then use them as a reference when I make a rough initial version of the component in a code sandbox. Making an isolated practice copy prevents any unexpected behavior caused by my codebase and I can do manual testing with assistive technologies with ease.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After that, there&apos;s a section about keyboard interaction. For the Button widget, it explains that &lt;code&gt;Space&lt;/code&gt; and &lt;code&gt;Enter&lt;/code&gt; activate the button and then goes into deep detail about what happens to focus based on the action performed by the button. The format of this section usually makes it very straightforward to come up with a todo list of what I need to code to make a component accessible to keyboard interaction.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Finally, you&apos;ll come across a section about the WAI-ARIA roles, states, and properties associated with the component. Like the previous section, it&apos;s formatted in such a way that lets me test the effects of each role, state, or property one-by-one in my isolated code sandbox. There are also links to the main documentation for each which I use to better understand their purpose.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;Good luck, and have fun!&lt;/h2&gt;
&lt;p&gt;When I am approaching something new and potentially daunting, I always try to keep the mentality that the experience will be a fun challenge. It&apos;s totally okay if you don&apos;t get it right on your first try! That&apos;s how coding works in general. It takes practice and patience.&lt;/p&gt;
&lt;p&gt;If you ever want to chat with me about accessibility, send me a DM or tweet on Twitter! I love a good accessibility conversation. :)&lt;/p&gt;
</content:encoded><category>a11y</category></item><item><title>2019 Blog in Review</title><link>https://ashleemboyer.com/blog/2019-blog-in-review</link><guid isPermaLink="true">https://ashleemboyer.com/blog/2019-blog-in-review</guid><description>I blogged regularly for the first time in 2019. How&apos;d it go?</description><pubDate>Wed, 01 Jan 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;In April of 2019, I knew I needed to change my life. I was extremely unhappy in a toxic workplace, had no involvement in my community, and the only tech people I knew in my area worked at the same place and none of us talked to each other. I decided to &lt;a href=&quot;https://ashleemboyer.com/why-and-how-you-should-use-twitter-for-networking&quot;&gt;join Twitter to network&lt;/a&gt; and figure out what was going on in the tech world. (Side note: I&apos;ve gained 1,800 followers since!)&lt;/p&gt;
&lt;p&gt;Then, I discovered &lt;a href=&quot;https://dev.to&quot;&gt;DEV Community&lt;/a&gt;. It seemed like a great place to start writing. I needed to do &lt;em&gt;something&lt;/em&gt; with all of the emotions I was feeling at the time. So, I wrote about my process for looking for a new job: &lt;a href=&quot;https://ashleemboyer.com/how-to-identify-your-knowledge-gaps-in-under-an-hour&quot;&gt;How to Identify Your Knowledge Gaps in Under an Hour&lt;/a&gt;. It got 187 views, 8 reactions, and 1 comment.&lt;/p&gt;
&lt;p&gt;I&apos;d never gotten so many views on one post before! So, I decided to write another one the next day: &lt;a href=&quot;https://ashleemboyer.com/it-s-ok-to-be-scared&quot;&gt;It&apos;s OK to be Scared&lt;/a&gt; (204 views and 6 reactions). Then I wrote my first &quot;hit&quot; the following day: &lt;a href=&quot;neither-you-nor-your-work-has-to-be-perfect&quot;&gt;Neither You nor Your Work Has to be Perfect&lt;/a&gt; (1234 views, 82 reactions, 24 comments). I think that was my first post that DEV Community (&lt;a href=&quot;https://twitter.com/ThePracticalDev&quot;&gt;@ThePracticalDev&lt;/a&gt;) tweeted out. It felt so validating having my post shared by an account with hundreds of thousands of followers.&lt;/p&gt;
&lt;p&gt;I think it was at this time that I decided to do a 30-day blogging challenge. I&apos;ve always loved to write, but never succeeded in making it a habit. My goal was to write regularly. This is something I&apos;m still trying to figure out, and I think most other people are too. Life is unpredictable and very hard to plan for. Habits and hobbies are hard to keep up with.&lt;/p&gt;
&lt;p&gt;So, I did my challenge, and I was hooked. Some posts did really well, some got less than 100 views. It helped me gauage what I really wanted to write about and what people liked reading about. If you want to read about the results of the challenge, I wrote about it: &lt;a href=&quot;https://dev.to/ashleemboyer/after-30-days-of-writing-on-dev-to-a08&quot;&gt;After 30 Days of Writing on DEV.to&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The challenge did exactly what I wanted it to. I felt confident in what I had to say and decided to spend some time to work on my own blog site. I&apos;d cross-post everything and keep track of stats with Google Analytics. I started recording stats on my personal site on August 11, 2019. I&apos;ll spend the rest of this post sharing some of those stats and also the ones I can get on DEV.&lt;/p&gt;
&lt;hr /&gt;
&lt;h2&gt;Personal Blog Stats&lt;/h2&gt;
&lt;h3&gt;Audience&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Users: 2,157&lt;/li&gt;
&lt;li&gt;New Users: 2,153&lt;/li&gt;
&lt;li&gt;Sessions: 2,558&lt;/li&gt;
&lt;li&gt;Countries: 100 (unset is not counted here)&lt;/li&gt;
&lt;li&gt;Top 3 days: September 3rd (186 users), September 17th (106 users), August 27th (105 users)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Behavior&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Pageviews: 3,720&lt;/li&gt;
&lt;li&gt;Unique Pageviews: 3,160&lt;/li&gt;
&lt;li&gt;Top 3 posts: &lt;a href=&quot;https://ashleemboyer.com/react-firebase-blog-01&quot;&gt;Build a React &amp;amp; Firebase Blog Site: Part 1&lt;/a&gt; (417 views), &lt;a href=&quot;https://ashleemboyer.com/how-i-keep-coding-when-i-m-low-on-spoons&quot;&gt;How I Keep Coding When I&apos;m Low on Spoons&lt;/a&gt; (364 views), &lt;a href=&quot;https://ashleemboyer.com/re-create-an-image-with-colorful-text&quot;&gt;Re-Create an Image with Colorful Text&lt;/a&gt; (281 views)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Acquisition&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Social: 991 users (45.3%)&lt;/li&gt;
&lt;li&gt;Referral: 858 users (29.2%)&lt;/li&gt;
&lt;li&gt;Direct: 301 users (13.8%)&lt;/li&gt;
&lt;li&gt;Organic search: 27 users&lt;/li&gt;
&lt;li&gt;Other: 10&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;DEV Stats&lt;/h2&gt;
&lt;h3&gt;General&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;9,500 Followers&lt;/li&gt;
&lt;li&gt;3,186 Total Post Reactions&lt;/li&gt;
&lt;li&gt;70,700 Post Views&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Top Posts By Views&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;7,650: &lt;a href=&quot;https://dev.to/ashleemboyer/i-tried-the-top-5-coding-challenge-websites-4lo9&quot;&gt;I Tried the Top 5 Coding Challenge Websites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;5,326: &lt;a href=&quot;https://dev.to/ashleemboyer/the-perfect-first-project-for-exploring-any-js-framework-48ip&quot;&gt;The Perfect First Project for Exploring Any JS Framework&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;3,433: &lt;a href=&quot;https://dev.to/ashleemboyer/yes-you-should-have-hobbies-outside-of-code-4ao9&quot;&gt;Yes, You Should Have Hobbies Outside of Code&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Top Posts By Reactions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;225: &lt;a href=&quot;https://dev.to/ashleemboyer/build-a-react-firebase-blog-site-part-1-4gn0&quot;&gt;Build a React &amp;amp; Firebase Blog Site: Part 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;224: &lt;a href=&quot;https://dev.to/ashleemboyer/why-and-how-you-should-use-twitter-for-networking-357m&quot;&gt;Why and How You Should Use Twitter for Networking&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;163: &lt;a href=&quot;https://dev.to/ashleemboyer/how-to-dynamically-create-many-similar-css-classes-with-sass-1538&quot;&gt;How to Dynamically Create Many Similar CSS Classes with Sass&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Top Posts By Comments&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;54: &lt;a href=&quot;https://dev.to/ashleemboyer/i-am-a-web-developer-hard-of-hearing-and-an-a11y-advocate-ask-me-anything-4f91&quot;&gt;I am a web developer, hard of hearing, and an a11y advocate, Ask Me Anything!&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;51: &lt;a href=&quot;https://dev.to/ashleemboyer/yes-you-should-have-hobbies-outside-of-code-4ao9&quot;&gt;Yes, You Should Have Hobbies Outside of Code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;47: &lt;a href=&quot;https://dev.to/ashleemboyer/why-and-how-you-should-use-twitter-for-networking-357m&quot;&gt;Why and How You Should Use Twitter for Networking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;p&gt;2019 was an excellent year for me both professionally and personally. I&apos;m so glad I decided to make a change 9 months ago. Thank you all for hanging out with me and helping me make this a great year. Here&apos;s to 2020! 🎉&lt;/p&gt;
</content:encoded><category>blogging</category><category>writing</category></item><item><title>How to Dynamically Create Many Similar CSS Classes with Sass</title><link>https://ashleemboyer.com/blog/how-to-dynamically-create-many-similar-css-classes-with-sass</link><guid isPermaLink="true">https://ashleemboyer.com/blog/how-to-dynamically-create-many-similar-css-classes-with-sass</guid><description>Repeated code takes up a lot of space. Sass can help you reduce repetitive and similar CSS code.</description><pubDate>Thu, 19 Dec 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Let&apos;s say you allow 5 sizes of icons in your web application and they&apos;re in 6-pixel increments: 12, 18, 24, 30, and 36. Your Sass file might have something like the following to handle this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;.Icon {
  &amp;amp;--size-12 {
    width: 12px;
    height: 12px;
    font-size: 12px;
  }

  &amp;amp;--size-18 {
    width: 18px;
    height: 18px;
    font-size: 18px;
  }

  &amp;amp;--size-24 {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

  &amp;amp;--size-30 {
    width: 30px;
    height: 30px;
    font-size: 30px;
  }

  &amp;amp;--size-36 {
    width: 36px;
    height: 36px;
    font-size: 36px;
  }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;These all look really similar, right? The class names all have the same format, and each one sets a &lt;code&gt;width&lt;/code&gt;, &lt;code&gt;height&lt;/code&gt;, and &lt;code&gt;font-size&lt;/code&gt; to be the same thing. Would you believe me if I told you that it&apos;s possible to dynamically create blocks of CSS for class names in Sass?&lt;/p&gt;
&lt;p&gt;Well, believe me! It&apos;s true!&lt;/p&gt;
&lt;p&gt;Here&apos;s one way you can introduce a &lt;code&gt;@for&lt;/code&gt; to do this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;.Icon {
  @for $i from 1 through 5 {
    $base-size: 12;
    $increment: 6;
    $calculated-size: $base-size + ($i * $increment);

    &amp;amp;--size-#{$calculated-size} {
      width: #{$calculated-size}px;
      height: #{$calculated-size}px;
      font-size: #{$calculated-size}px;
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;What if you don&apos;t have even increments, though? You can also loop through an array of values like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$icon-sizes: 12, 16, 32, 48;

.Icon {
  @each $size in $icon-sizes {
    &amp;amp;--size-#{$size} {
      width: #{size}px;
      height: #{size}px;
      font-size: #{size}px;
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;
</content:encoded><category>css</category><category>scss</category></item><item><title>Dear Women &amp; Girls</title><link>https://ashleemboyer.com/blog/dear-women-and-girls</link><guid isPermaLink="true">https://ashleemboyer.com/blog/dear-women-and-girls</guid><description>You are smart and deserving.</description><pubDate>Wed, 04 Dec 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Dear Women &amp;amp; Girls,&lt;/p&gt;
&lt;p&gt;Take up space. You are smart and deserving. If a man or boy tries to make you feel otherwise, refer to this list of statements below. Thanks to &lt;a href=&quot;https://twitter.com/necessaryaf/status/1193608467904368642&quot;&gt;@necessaryaf&lt;/a&gt; on Twitter for this list.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You interrupted me, I’m not finished talking.&lt;/li&gt;
&lt;li&gt;No.&lt;/li&gt;
&lt;li&gt;That isn’t funny.&lt;/li&gt;
&lt;li&gt;That isn’t appropriate.&lt;/li&gt;
&lt;li&gt;I already know that.&lt;/li&gt;
&lt;li&gt;That won’t be necessary.&lt;/li&gt;
&lt;li&gt;Leave me alone.&lt;/li&gt;
&lt;li&gt;You&apos;re making me uncomfortable.&lt;/li&gt;
&lt;li&gt;Stop ignoring what I’m saying.&lt;/li&gt;
&lt;li&gt;You owe me an apology.&lt;/li&gt;
&lt;li&gt;You don&apos;t need to be that close to me.&lt;/li&gt;
&lt;li&gt;If you insist on speaking to me in this manner, I’m going to ask you to leave/I will not continue this conversation with you.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We&apos;re socially trained to soften our language, but we can change that.&lt;/p&gt;
&lt;p&gt;Signed,&lt;/p&gt;
&lt;p&gt;A Tired Woman in Tech&lt;/p&gt;
</content:encoded><category>women-in-tech</category></item><item><title>How to Come out of Burnout</title><link>https://ashleemboyer.com/blog/how-to-come-out-of-burnout</link><guid isPermaLink="true">https://ashleemboyer.com/blog/how-to-come-out-of-burnout</guid><description>Burnout is difficult and everyone experiences it differently.</description><pubDate>Sun, 27 Oct 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;To be completely honest: I have no idea what the answer is here. I don&apos;t think there&apos;s just one correct answer. Burnout is so unique to every individual, which become more obvious to me after I asked my followers about how they cope with feeling uninspired:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;💫🌟✨ Quick question 💫🌟✨&lt;/p&gt;
&lt;p&gt;What do you do for yourself when you start to feel uninspired? I haven&apos;t been coding much outside of work like I used to. My brain is telling me, &quot;Write some code!&quot; but when I open my laptop my body tells me, &quot;Meh, close the lid.&quot;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a href=&quot;https://twitter.com/ashleemboyer/status/1187018680405643265&quot;&gt;link to tweet&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Some people take a break, some try to push through, and a lot of people said that they try to consume inspiring content.&lt;/p&gt;
&lt;p&gt;This isn&apos;t the first time I&apos;ve gone through burnout. It also happened at the beginning of this year when I finally figured out I needed a different work environment. With less than a year of professional experience at the time, I knew I&apos;d have to work hard if I wanted to stand out from other folks with more years of experience. That&apos;s when I started &lt;a href=&quot;https://ashleemboyer.com/after-30-days-of-writing-on-dev-to&quot;&gt;writing more&lt;/a&gt;, &lt;a href=&quot;https://ashleemboyer.com/why-and-how-you-should-use-twitter-for-networking&quot;&gt;networking on Twitter&lt;/a&gt;, and &lt;a href=&quot;https://ashleemboyer.com/what-it-means-to-learn-out-loud&quot;&gt;learning out loud&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Along the way, I discovered how much work there is to be done in my local community (and the world &amp;lt;span role=&quot;img&quot; aria-label=&quot;exploding head&quot;&amp;gt;🤯&amp;lt;/span&amp;gt;) when it comes to web accessibility. In the developer community, a lot of folks are under the impression that accessibility is hard or expensive. Outside of it, people are ignorant to how accessibility tools, such as screen readers, actually work and ableism is rampant.&lt;/p&gt;
&lt;p&gt;When news about the [Supreme Court rejecting an appeal from Domino&apos;s] came out, it was really exciting to hear, until I read the comments. There were far too many people with far too little understanding of web accessibility sharing their opinions on whether or not companies should be sued for making inaccessible products. I tried to do my part in educating people by explaining that screen readers only read things correctly if a site is built to work with tools. I also argued with people about whether or not discrimination should be legal.&lt;/p&gt;
&lt;p&gt;My overwhelming need to speak and educate along with the incredible amount of ableism I&apos;ve come across in the last several weeks are what I think have mostly contributed to the burnout I&apos;m experiencing. It&apos;s vastly different from the burnout I experienced earlier this year. As such, I had no idea how to fix it. I fell into this cycle of feeling guilty for not writing or coding on side projects, which led to feeling &lt;em&gt;even more&lt;/em&gt; burned out.&lt;/p&gt;
&lt;p&gt;So what&apos;s starting to bring me out of this now?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;lt;span role=&quot;img&quot; aria-label=&quot;talking head&quot;&amp;gt;🗣&amp;lt;/span&amp;gt;️ talking about it&lt;/li&gt;
&lt;li&gt;&amp;lt;span role=&quot;img&quot; aria-label=&quot;handshake&quot;&amp;gt;🤝&amp;lt;/span&amp;gt;️ supportive friends&lt;/li&gt;
&lt;li&gt;&amp;lt;span role=&quot;img&quot; aria-label=&quot;hourglass&quot;&amp;gt;⏳&amp;lt;/span&amp;gt; taking a break&lt;/li&gt;
&lt;li&gt;&amp;lt;span role=&quot;img&quot; aria-label=&quot;yarn&quot;&amp;gt;🧶&amp;lt;/span&amp;gt; hours of knitting&lt;/li&gt;
&lt;li&gt;&amp;lt;span role=&quot;img&quot; aria-label=&quot;sparkles&quot;&amp;gt;✨&amp;lt;/span&amp;gt; inspirational content&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you&apos;re struggling with burnout, I suggest trying all of these things. Some of them will work and some of them won&apos;t. Everyone is different and even every time you experience burnout can be different. The people who matter will understand what you&apos;re going through. The ones who don&apos;t might judge you and try to make you feel bad rather than lend a hand.&lt;/p&gt;
&lt;p&gt;Stick around the folks that lend a hand and support you. They&apos;ll see you through this. You&apos;ll make it to the other side.&lt;/p&gt;
</content:encoded><category>burnout</category><category>self-care</category><category>mental-health</category><category>hobbies</category></item><item><title>Udemy Needs to Review Courses and Vet Instructors</title><link>https://ashleemboyer.com/blog/udemy-needs-to-review-courses-and-vet-instructors</link><guid isPermaLink="true">https://ashleemboyer.com/blog/udemy-needs-to-review-courses-and-vet-instructors</guid><description>Udemy needs to do better to ensure the safety of the public.</description><pubDate>Mon, 16 Sep 2019 00:00:00 GMT</pubDate><content:encoded>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Content/Trigger Warning: violence against women&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr /&gt;
&lt;p&gt;My Twitter mentions exploded today over tweets I made about misogynistic Udemy course that has (thankfully) been removed from the site. This post is about the course of events from the first tweet I saw, to the end of a day full of problematic replies and discoveries of even more courses that should be removed. I&apos;ll break the content up as much as possible.&lt;/p&gt;
&lt;h2&gt;The First Tweet&lt;/h2&gt;
&lt;p&gt;I saw the first tweet about this course from Twitter user &lt;a href=&quot;https://twitter.com/ryzokuken&quot;&gt;@ryzokuken&lt;/a&gt;. The course is titled: &quot;How to Hack a Girl: The Real Life Version.&quot; The link preview description says, &quot;Make Her A Woman Be Attracted to You By Hacking Her Brain!&quot; (ow, the grammar.)&lt;/p&gt;
&lt;p&gt;I tweeted about it around midnight and included a screenshot of the course&apos;s basic information. Aside from the title and description mentioned above, it also showed:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A 2.9 / 5 star rating from 36 reviews&lt;/li&gt;
&lt;li&gt;Quantity of 3,231 students enrolled since May 2019&lt;/li&gt;
&lt;li&gt;The instructor&apos;s name: Pedro Planas&lt;/li&gt;
&lt;li&gt;A 45% off price of $10.99, and 5 hours remaining at that price&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;My tweet has been seen tens of thousands of times. Hundreds liked it. Obviously I&apos;m not the only person who finds it problematic.&lt;/p&gt;
&lt;h2&gt;The Course &amp;amp; Its Issues&lt;/h2&gt;
&lt;p&gt;First of all, women are not hardware or software and therefore cannot be hacked. We are human beings. Second of all, you can&apos;t make women be attracted to you if they don&apos;t want to be. That&apos;s called entitlement and women are disproportionately harassed, assaulted, and even murdered because they reject men who think they&apos;re entitled to our bodies and attention. Before you try to debate this statement with me, here&apos;s JUST FIVE articles you should read:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.indy100.com/article/women-twitter-sexual-harassment-abuse-assault-predatory-men-sexism-viral-8364106&quot;&gt;Women share the worst ways men reacted after they rejected them&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://gen.medium.com/revenge-killings-need-to-be-tracked-37e78a1cf6ce&quot;&gt;‘Rejection Killings’ Need to Be Tracked&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://time.com/5254929/toronto-van-attack-suspect-incel-women-rejection/&quot;&gt;The Toronto Van Attack Suspect Was Obsessed With Rejection From Women. He Is Not Alone Among Violent Men&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.damemagazine.com/2017/10/24/men-are-killing-thousands-women-year-saying-no/&quot;&gt;MEN ARE KILLING THOUSANDS OF WOMEN A YEAR FOR SAYING NO&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.buzzfeed.com/patricepeck/harassment-women-say-no-rejecting-men-toxic-masculinity&quot;&gt;20 Horrifying Stories That Explain Why Women Are Afraid Of Turning Down Men&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The original thread from that last bullet point is no longer up, but you can take a look at &lt;a href=&quot;https://twitter.com/search?q=https%3A%2F%2Ftwitter.com%2F_ElizabethMay%2Fstatus%2F998594031528669184&amp;amp;src=typed_query&quot;&gt;these quote tweets&lt;/a&gt; from the first tweet in the thread.&lt;/p&gt;
&lt;p&gt;Let&apos;s also take a look at the course description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&quot;Have you ever felt like &lt;strong&gt;she doesn&apos;t pay attention&lt;/strong&gt; to you and she ends up being with the bad guy while you are left behind hopeless? If this is your case, you are just some clicks away to make her be &lt;strong&gt;attracted to you&lt;/strong&gt; and so you end up being the one who ends up with her. This is a videocourse on how to &lt;strong&gt;hack a girl&apos;s brain&lt;/strong&gt; by understanding how a woman thinks, how to improve your overall appealing and science-based pshycological tricks that will make you be awesome at getting &lt;strong&gt;her to like you!&lt;/strong&gt;&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;em&gt;All emphasis, gross misspellings, and horrid grammar are by the author of the description.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Sigh. There&apos;s so much to unpack.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://www.bustle.com/p/9-things-women-dont-owe-you-70832&quot;&gt;Women don&apos;t owe anyone their attention&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://everydayfeminism.com/2015/06/grown-women-are-not-girls/&quot;&gt;Women are not girls&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://jezebel.com/a-field-guide-to-nice-guys-5838994&quot;&gt;The &quot;Nice Guy&quot; Trope&lt;/a&gt; is hella old&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;More Courses To Remove&lt;/h2&gt;
&lt;p&gt;This isn&apos;t the first time Udemy has had to remove courses. Twitter user &lt;a href=&quot;https://twitter.com/ohdaeni&quot;&gt;@ohdaeni&lt;/a&gt; &lt;a href=&quot;https://twitter.com/ohdaeni/status/1173625805676646402&quot;&gt;has highlighted this issue as well on Twitter&lt;/a&gt;. Luckily, Udemy removed them and others by the same instructors. But why do they keep letting this happen? Why don&apos;t they have a review and approval process for all courses attempting to be added?&lt;/p&gt;
&lt;p&gt;Below are some courses I found today with just minutes of searching, also sorted into fun categories.&lt;/p&gt;
&lt;h3&gt;Ableism&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.udemy.com/course/how-over-2500-deaf-and-mute-got-healed/&quot;&gt;&quot;The secret of how I&apos;ve seen Over 2500 Deaf and Mute Healed&quot;&lt;/a&gt; (impossible, but OK)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.udemy.com/course/hypnosis-improve-your-hearing-using-self-hypnosis/&quot;&gt;&quot;Hypnosis - Improve Your Hearing Using Self Hypnosis&quot;&lt;/a&gt; (also impossible, but whatever)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.udemy.com/course/disability-confident-training/&quot;&gt;Welcoming disabled colleagues and customers with confidence&lt;/a&gt; (disabled people are not things to &quot;deal&quot; with, but thanks)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Sexism&lt;/h3&gt;
&lt;p&gt;Just go read the descriptions. Have a bucket nearby you can vomit into.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.udemy.com/course/make-women-fall-in-love-with-you-the-secret-to-seduction/&quot;&gt;&quot;Make Women Fall In Love With You. (The Secret To Seduction)
&quot;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.udemy.com/course/how-to-attract-the-perfect-man-make-him-love-you-forever/&quot;&gt;&quot;How to Attract the Perfect Man &amp;amp; Make Him Love You Forever
&quot;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.udemy.com/course/become-irresistible-the-complete-guide-to-attract-the-man/&quot;&gt;&quot;Become Irresistible: The Complete Guide to Attract The Man&quot;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.udemy.com/course/meetwomen/&quot;&gt;&quot;Meet &amp;amp; Attract Women - Learn How Today&quot;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;What You Can Do&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://twitter.com/udemy/status/1173625416730501121&quot;&gt;Udemy wants you to send them an email&lt;/a&gt;. I want you to flood their mentions. Pressure them into making change. Report awful courses. It&apos;s 2019, we have lots of people wanting to write software to filter this kind of crap, and there&apos;s no excuse for exposing paying customers to danger. Notice how Udemy never made a public tweet about this? They want to keep it quiet. Don&apos;t let them.&lt;/p&gt;
</content:encoded><category>women-in-tech</category></item><item><title>How I Keep Coding When I&apos;m Low on Spoons</title><link>https://ashleemboyer.com/blog/how-i-keep-coding-when-i-m-low-on-spoons</link><guid isPermaLink="true">https://ashleemboyer.com/blog/how-i-keep-coding-when-i-m-low-on-spoons</guid><description>It&apos;s hard to code when you deal with chronic illnesses or disabilities. Here&apos;s what I try to do when those things start to get in the way.</description><pubDate>Tue, 03 Sep 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;A few days ago, I came across a tweet thread by my e-friend, &lt;a href=&quot;https://twitter.com/TheCodePixi&quot;&gt;@TheCodePixi&lt;/a&gt;, who&apos;s working on making &lt;a href=&quot;https://twitter.com/hashtag/SpooniesWhoCode&quot;&gt;#SpooniesWhoCode&lt;/a&gt; a thing, so make sure you join in if you&apos;re a spoonie who codes!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Looking to connect with more &lt;a href=&quot;https://twitter.com/hashtag/SpooniesWhoCode&quot;&gt;#SpooniesWhoCode&lt;/a&gt;! Or maybe I&apos;m already connected and don&apos;t know it? Leave a reply with a little about yourself and your tips for other &lt;a href=&quot;https://twitter.com/hashtag/spoonies&quot;&gt;#Spoonies&lt;/a&gt; (IE: Me!) on how you keep coding when you&apos;re low on spoons. Gimme all your tech self care tips 👇&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a href=&quot;https://twitter.com/TheCodePixi/status/1166495789658624000&quot;&gt;link to tweet&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;But wait, what&apos;s a spoonie?&lt;/h2&gt;
&lt;p&gt;A spoonie is someone who deals with a chronic condition that frequently or randomly takes away their capacity to live life how they want to. If someone says, &quot;I&apos;m low on spoons,&quot; it means they probably don&apos;t have the energy to do something specific. This doesn&apos;t mean they don&apos;t have energy for &lt;em&gt;anything&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Being a spoonie is a balancing act. We have to be picky about what we spend our spoons on. This is where the tweet comes in. It&apos;s &lt;strong&gt;hard&lt;/strong&gt; to figure out the balance of what you &lt;em&gt;want&lt;/em&gt; to do, what you &lt;em&gt;need&lt;/em&gt; to do, and what you &lt;em&gt;should&lt;/em&gt; do.&lt;/p&gt;
&lt;p&gt;You may &lt;em&gt;want&lt;/em&gt; to go out to dinner with your friends because you cancelled the last time. You may &lt;em&gt;need&lt;/em&gt; to do the dishes or some laundry because it&apos;s piled up over the past few days.&lt;/p&gt;
&lt;p&gt;But what &lt;em&gt;should&lt;/em&gt; you do? Are you in pain? Are you tired? What are your limits?&lt;/p&gt;
&lt;h2&gt;A little bit about me, a spoonie&lt;/h2&gt;
&lt;p&gt;I haven&apos;t always been a spoonie.&lt;/p&gt;
&lt;p&gt;For 13 years, I played soccer nearly all-year-round. I quit after my first year of college. Rose-Hulman is an extremely fast-paced school, all the time, and I couldn&apos;t keep dedicated 3-4 hours a day to soccer and not get any playing time in return. This was a really hard change for me, emotionally and physically.&lt;/p&gt;
&lt;p&gt;That last season, I was in my second car accident. The impact passed from my foot on the brake, up my leg, and into my SI (sacroiliac) joints. This is where your spine connects to your pelvis. Since then, I&apos;ve had a lot of inflammation and pain in the area.&lt;/p&gt;
&lt;p&gt;Two years prior, in my first accident, the vehicle I was driving rolled on its side after spinning out on ice. I never really got a full diagnosis from this, but had back spasms on the lower-right side of my back briefly treated by a chiropractor.&lt;/p&gt;
&lt;p&gt;Just last year, I found out I have a slipped disc in my lower spine. It was a relief finally having an answer to all my back pain, but I was still sad about all the time I&apos;d lost to the pain preventing me from functioning. I&apos;d gained a lot weight because I couldn&apos;t exercise (and lots of college stress).&lt;/p&gt;
&lt;p&gt;Aside from my back problems, I also started getting migraines very regularly my freshman year. I was taking &quot;as needed&quot; medication every single day. I ended up going to the ER for the first time due to a migraine a couple of years later. (2017, I think?) That&apos;s when I finally got &lt;em&gt;real&lt;/em&gt; treatment for them. I saw a neurologist and a found a GP experienced with treating migraines.&lt;/p&gt;
&lt;p&gt;I took a lot of medication after that which, thankfully, slowed down all the migraines. Not thankfully, I had about every side effect in the book for some medications. I couldn&apos;t hold conversations, my face and fingers were going numb, and I felt like a zombie.&lt;/p&gt;
&lt;p&gt;This is when I truly realized I couldn&apos;t keep doing all the things. Something had to give. It couldn&apos;t be school; I was already past the &quot;normal&quot; 4 years. I just needed to finish college. So, I stopped doing anything else. Some days, it was literally all I could do to drag myself to classes and group project meetings. I ended up missing a lot of classes. My grades in some of them suffered beyond repair. (I made it out though, woo!) My mental health suffered greatly too.&lt;/p&gt;
&lt;p&gt;If &lt;em&gt;anything&lt;/em&gt; good has come out of these experiences, it&apos;s that I&apos;ve learned a lot about self care.&lt;/p&gt;
&lt;h2&gt;How I keep coding, or doing anything&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;This is a summary of the tweet thread I made in response to the one above.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I usually have no idea what a day will be like until I wake up and get moving. Sometimes, I&apos;ll wake up with a migraine. If I have it all day and fall asleep with it, I will probably wake up with it the next day too.&lt;/p&gt;
&lt;p&gt;My back doesn&apos;t bother me as much anymore, but I&apos;m usually pretty stiff when I first wake up. The chronic pain typically is in my legs. On the bad days, it feels a bit like growing pains I guess. Like a heavy ache from my thighs through my toes.&lt;/p&gt;
&lt;p&gt;My advice is to know your limitations. I&apos;m pretty upfront with employers about the conditions I have. Some are judgy about it, some are fine. My current job has unlimited PTO and I can also work from home from time to time. Both of these are super helpful for me.&lt;/p&gt;
&lt;p&gt;For example, if I have a migraine, it&apos;s helpful for me to work from home so I can minimize my environment as much as possible. Driving to work, walking through the city, and working in an open office layout with fluorescent lights only exacerbates migraines. At home, I can find a comfy spot to sit in with my laptop, turn off some lights, and close curtains to block out more light.&lt;/p&gt;
&lt;p&gt;As for the unlimited PTO, that mainly eases my fears of being judged for &quot;needing a day.&quot; Whether that&apos;s for resting because of pain or taking a mental health day.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Spoiler alert: you probably won&apos;t need as many mental health days if you work in a supportive environment.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;But let&apos;s talk about the other times where these things aren&apos;t applicable. If you &lt;em&gt;have&lt;/em&gt; to go to work, try to express to your team if you&apos;re not operating at 100%. I hope they understand that. (Is anyone ever at 100%?)&lt;/p&gt;
&lt;p&gt;Once you&apos;re home, use your remedies! I have 3 or 4 things I try before declaring my migraines as &quot;impossible.&quot; After that, all I can do is lock myself away and sleep. That seems to help some of the other conditions too!&lt;/p&gt;
&lt;h3&gt;Moral of the story&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;https://ashleemboyer.com/don-t-forget-to-take-breaks&quot;&gt;Just take a break&lt;/a&gt;. You are one person and can only do so much. Don&apos;t overextend yourself. You and your work will suffer.&lt;/p&gt;
</content:encoded><category>self-care</category><category>mental-health</category><category>chronic-illness</category><category>disability</category><category>about-me</category></item><item><title>Build a React &amp; Firebase Blog Site Part 3</title><link>https://ashleemboyer.com/blog/react-firebase-blog-03</link><guid isPermaLink="true">https://ashleemboyer.com/blog/react-firebase-blog-03</guid><description>Learn how to build a blog site with React and Firebase.</description><pubDate>Mon, 02 Sep 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;We&apos;ve reached the third part of our React &amp;amp; Firebase series. In &lt;a href=&quot;https://ashleemboyer.com/react-firebase-blog-01&quot;&gt;part one&lt;/a&gt;, we learned how to set everything up. &lt;a href=&quot;https://ashleemboyer.com/react-firebase-blog-02&quot;&gt;Last time&lt;/a&gt;, we made a page for creating new blog posts. Today, we&apos;re going to read single posts from our Firebase Realtime Database and show them in our app.&lt;/p&gt;
&lt;p&gt;If you haven&apos;t read the first two posts, I have some starter code you can use instead. Just make sure you follow steps 1, 2, &amp;amp; 5 from &lt;a href=&quot;https://ashleemboyer.com/react-firebase-blog-01&quot;&gt;the first part&lt;/a&gt; before you go any further.&lt;/p&gt;
&lt;h2&gt;1. Clone the (Part 3) Starter Code [Optional]&lt;/h2&gt;
&lt;p&gt;Skip this step if you&apos;ve successfully completed Part 2. Otherwise, you can clone the code by running the following command in the terminal:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;git clone https://github.com/ashleemboyer/react-firebase-blog-starter-part-3.git
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You&apos;ll need to change one file before continuing: &lt;code&gt;src/firebase.js&lt;/code&gt;. If you open it, you&apos;ll see the following &lt;code&gt;config&lt;/code&gt; constant:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const config = {
  apiKey: &quot;&amp;lt;YOUR-API-KEY&amp;gt;&quot;,
  authDomain: &quot;&amp;lt;YOUR-AUTH-DOMAIN&amp;gt;&quot;,
  databaseURL: &quot;&amp;lt;YOUR-DATABASE-URL&amp;gt;&quot;,
  projectId: &quot;&amp;lt;YOUR-PROJECT-ID&amp;gt;&quot;,
  storageBucket: &quot;&amp;lt;YOUR-STORAGE-BUCKET&amp;gt;&quot;,
  messagingSenderId: &quot;&amp;lt;YOUR-MESSAGE-SENDER-ID&amp;gt;&quot;,
  appId: &quot;&amp;lt;YOUR-APP-ID&amp;gt;&quot;
};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The attributes within the constant are used to connect your app to your Firebase project. To find these values, go to your project settings using through the gear icon in the left sidebar of the &lt;a href=&quot;https://console.firebase.google.com&quot;&gt;Firebase console&lt;/a&gt;. Scroll down to the &quot;Firebase SDK snippet&quot; under &quot;Your apps&quot; and copy the attributes from what they&apos;re calling &lt;code&gt;firebaseConfig&lt;/code&gt;. Replace the attributes in your &lt;code&gt;config&lt;/code&gt; constant with these values.&lt;/p&gt;
&lt;p&gt;Now you can run &lt;code&gt;npm install&lt;/code&gt; and then &lt;code&gt;npm run start&lt;/code&gt; to see your project in a browser.&lt;/p&gt;
&lt;h2&gt;2. Inspect the &lt;code&gt;Post&lt;/code&gt; Component&lt;/h2&gt;
&lt;p&gt;You can find this component in the &lt;code&gt;src/pages/post.js&lt;/code&gt; file. Let&apos;s take a look at what it does right now.&lt;/p&gt;
&lt;p&gt;First, it grabs the slug from the URL using the &lt;code&gt;Router&lt;/code&gt; we have set up in &lt;code&gt;src/App.js&lt;/code&gt;. Components passed in to &lt;code&gt;Route&lt;/code&gt; components within a &lt;code&gt;Router&lt;/code&gt; have a &lt;code&gt;match&lt;/code&gt; prop sent to them. There are other ways this prop is sent to components, and you can read more about that &lt;a href=&quot;https://reacttraining.com/react-router/web/api/match&quot;&gt;over here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Next, we have a &lt;code&gt;postSlugs&lt;/code&gt; constant which is an array of slugs that exist with a real blog post. If you look at the database, these match the slugs we&apos;ve given to the first and second blog posts. The problem is that this code isn&apos;t dynamic and it&apos;s also not connected to the database. We&apos;ll come back to this in a few.&lt;/p&gt;
&lt;p&gt;Next, we&apos;re checking if the &lt;code&gt;slug&lt;/code&gt; in the URL bar is one of the &lt;code&gt;postSlugs&lt;/code&gt;. If it isn&apos;t, then the user is trying to see a post that doesn&apos;t actually exist. So, we return a &lt;code&gt;Redirect&lt;/code&gt; to our &lt;code&gt;404&lt;/code&gt; component. You can read more about the &lt;code&gt;Redirect&lt;/code&gt; &lt;a href=&quot;https://reacttraining.com/react-router/web/api/Redirect&quot;&gt;over here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Finally, we have our return statement. Right now, it returns the same thing for every valid post &lt;code&gt;slug&lt;/code&gt;. Instead, we want to show the real blog post content that we have stored in Firebase.&lt;/p&gt;
&lt;h2&gt;3. Connect the &lt;code&gt;Post&lt;/code&gt; Component to Firebase&lt;/h2&gt;
&lt;p&gt;First, let&apos;s add import our &lt;code&gt;getFirebase&lt;/code&gt; function so we can try to read from the database. While we&apos;re at it, we should also import &lt;code&gt;useState&lt;/code&gt; to help manage a couple of things.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import React, { useState } from &quot;react&quot;;

import { getFirebase } from &quot;../firebase&quot;;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Next, let&apos;s think about how what we want to manage with &lt;code&gt;useState&lt;/code&gt;. The first thing that comes to mind is a &lt;code&gt;loading&lt;/code&gt; state. This will be a boolean that describes whether or not we are trying to load something from the database. We also want a variable for our &lt;code&gt;currentPost&lt;/code&gt; that we&apos;re trying to read from the database. Replace the &lt;code&gt;postSlugs&lt;/code&gt; line with the following two lines of code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const [loading, setLoading] = useState(true);
const [currentPost, setCurrentPost] = useState();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;We want to start in a loading state so the page can show something different to indicate to a user that the page is loading. You can show an animation, GIF, plain text, whatever you please. We&apos;ll keep it simple for now and just return some text like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if (loading) {
  return &amp;lt;h1&amp;gt;Loading...&amp;lt;/h1&amp;gt;;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Our database call needs to go right before this &lt;code&gt;if&lt;/code&gt; statement, however. If we place it after, it will never be reached because the &lt;code&gt;if&lt;/code&gt; statement is making the code return early. Here&apos;s what we&apos;ll add after our calls to &lt;code&gt;useState&lt;/code&gt; and before the &lt;code&gt;if&lt;/code&gt; statement we just wrote:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if (loading &amp;amp;&amp;amp; !currentPost) {
  getFirebase()
    .database()
    .ref()
    .child(`/posts/${slug}`)
    .once(&quot;value&quot;)
    .then(snapshot =&amp;gt; {
      if (snapshot.val()) {
        setCurrentPost(snapshot.val());
      }
      setLoading(false);
    });
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Let&apos;s update our check on whether a post exists or not. Update &lt;code&gt;postDoesNotExist&lt;/code&gt; to the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const postDoesNotExist = !currentPost;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;These conditions might be a little confusing at first. What are we checking for? It might help to list the steps of execution here, which you can play around with yourself by adding some console logs to the file.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;On first load: &lt;code&gt;loading&lt;/code&gt; is true and &lt;code&gt;setCurrentPost&lt;/code&gt; is undefined, so we go inside of the &lt;code&gt;if&lt;/code&gt; statement. Once we make it into the &lt;code&gt;then&lt;/code&gt;, if &lt;code&gt;snapshot.val()&lt;/code&gt; returns an object (it&apos;ll be null if no post exists with the given &lt;code&gt;slug&lt;/code&gt;), we call &lt;code&gt;setCurrentPost&lt;/code&gt;, making &lt;code&gt;currentPost&lt;/code&gt; no longer undefined.&lt;/li&gt;
&lt;li&gt;After &lt;code&gt;setCurrentPost&lt;/code&gt; call: Making this call will re-render the component. We reach our &lt;code&gt;if (loading &amp;amp;&amp;amp; !currentPost)&lt;/code&gt; statement again. Since &lt;code&gt;currentPost&lt;/code&gt; is now defined, we do not go in the code block again, thus keep ourselves from unnecessarily making calls to the database. We reach the &lt;code&gt;if (loading)&lt;/code&gt; statement. &lt;code&gt;loading&lt;/code&gt; is still true, so the component returns some text and doesn&apos;t do anything else.&lt;/li&gt;
&lt;li&gt;After &lt;code&gt;setLoading&lt;/code&gt; call: Making this call will re-render the component. &lt;code&gt;loading&lt;/code&gt; is now false and &lt;code&gt;currentPost&lt;/code&gt; might be undefined or an object. That&apos;s where the &lt;code&gt;if (postDoesNotExist)&lt;/code&gt; check comes in. If we didn&apos;t get a post back from the database, we return a &lt;code&gt;Redirect&lt;/code&gt;, like before. Otherwise, we continue on to our final &lt;code&gt;return&lt;/code&gt; where we show the post.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;em&gt;I hope these steps aren&apos;t overwhelming and they help you see the power of hooks and state management! They&apos;re some of the coolest things about React, to me.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Here&apos;s how I&apos;m displaying posts:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;return (
  &amp;lt;&amp;gt;
    &amp;lt;img src={currentPost.coverImage} alt={currentPost.coverImageAlt}&amp;gt;
    &amp;lt;h1&amp;gt;{currentPost.title}&amp;lt;/h1&amp;gt;
    &amp;lt;em&amp;gt;{currentPost.datePretty}&amp;lt;/em&amp;gt;
    &amp;lt;p dangerouslySetInnerHTML={{ __html: currentPost.content }}&amp;gt;&amp;lt;/p&amp;gt;
  &amp;lt;/img&amp;gt;
);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I also added a &lt;code&gt;12px&lt;/code&gt; margin to the top of &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; elements in &lt;code&gt;src/index.js&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Now, when you click a &quot;Continue reading...&quot; link or manually navigate to one of your posts, you should see something like this:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please &lt;a href=&quot;mailto:hello@ashleemboyer.com&quot;&gt;send me an email&lt;/a&gt; or &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;a Twitter DM&lt;/a&gt; if you have any questions or concerns. I love hearing from you! 😊&lt;/p&gt;
</content:encoded><category>react</category><category>firebase</category><category>web-development</category></item><item><title>Build a React &amp; Firebase Blog Site Part 2</title><link>https://ashleemboyer.com/blog/react-firebase-blog-02</link><guid isPermaLink="true">https://ashleemboyer.com/blog/react-firebase-blog-02</guid><description>Learn how to build a blog site with React and Firebase.</description><pubDate>Tue, 27 Aug 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Welcome back! This is the second in a series of posts that will teach you how to build a blog site using React and Firebase. If you haven&apos;t read &lt;a href=&quot;https://ashleemboyer.com/react-firebase-blog-01&quot;&gt;the first post in the series&lt;/a&gt;, I encourage you to do so. I&apos;m including starter code for this post, but you&apos;ll additionally need to go through the following steps from the previous post to use it:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Step 1: Sign up for Firebase (if you don&apos;t have an account already)&lt;/li&gt;
&lt;li&gt;Step 2: Create a project&lt;/li&gt;
&lt;li&gt;Step 5: Add Data to the Database&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A fair warning: since this post is building off of Part 1, it assumes you have read the post if you&apos;re closely following along.&lt;/p&gt;
&lt;h2&gt;1. Clone the (Part 2) Starter Code [Optional]&lt;/h2&gt;
&lt;p&gt;Skip this step if you&apos;ve successfully completed Part 1. Otherwise, you can start clone the code by running the following command in a terminal:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;git clone https://github.com/ashleemboyer/react-firebase-blog-starter-part-2.git
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You&apos;ll need to change one file before continuing: &lt;code&gt;src/firebase.js&lt;/code&gt;. If you open it, you&apos;ll see the following &lt;code&gt;config&lt;/code&gt; constant:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const config = {
  apiKey: &quot;&amp;lt;YOUR-API-KEY&amp;gt;&quot;,
  authDomain: &quot;&amp;lt;YOUR-AUTH-DOMAIN&amp;gt;&quot;,
  databaseURL: &quot;&amp;lt;YOUR-DATABASE-URL&amp;gt;&quot;,
  projectId: &quot;&amp;lt;YOUR-PROJECT-ID&amp;gt;&quot;,
  storageBucket: &quot;&amp;lt;YOUR-STORAGE-BUCKET&amp;gt;&quot;,
  messagingSenderId: &quot;&amp;lt;YOUR-MESSAGE-SENDER-ID&amp;gt;&quot;,
  appId: &quot;&amp;lt;YOUR-APP-ID&amp;gt;&quot;
};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The attributes within the constant are used to connect your app to your Firebase project. To find these values, go to your project settings using through the gear icon in the left sidebar of the &lt;a href=&quot;https://console.firebase.google.com&quot;&gt;Firebase console&lt;/a&gt;. Scroll down to the &quot;Firebase SDK snippet&quot; under &quot;Your apps&quot; and copy the attributes from what they&apos;re calling &lt;code&gt;firebaseConfig&lt;/code&gt;. Replace the attributes in your &lt;code&gt;config&lt;/code&gt; constant with these values.&lt;/p&gt;
&lt;p&gt;Now you can run &lt;code&gt;npm install&lt;/code&gt; and then &lt;code&gt;npm run start&lt;/code&gt; to see your project in a browser.&lt;/p&gt;
&lt;h2&gt;2. Add a Page for Creating Posts&lt;/h2&gt;
&lt;p&gt;To get started on implementing a &quot;Create Post&quot; feature, let&apos;s first make a page we&apos;ll use to create posts. Add a &lt;code&gt;create.js&lt;/code&gt; file in &lt;code&gt;src/pages&lt;/code&gt;. We&apos;re going to keep it really simple for now to make sure everything is still working.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Developing code is most easy when you take incremental steps and check your work along the way.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Our &lt;code&gt;Create&lt;/code&gt; component will give a friendly, &quot;Hello,&quot; for now.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import React from &quot;react&quot;;

const Create = () =&amp;gt; {
  return &amp;lt;h1&amp;gt;Hello, from Create!&amp;lt;/h1&amp;gt;;
};

export default Create;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Try navigating to the &lt;code&gt;/create&lt;/code&gt; page. Uh, oh... the page isn&apos;t found?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;No worries! We just need to add a &lt;code&gt;Route&lt;/code&gt; for our new page in &lt;code&gt;src/App.js&lt;/code&gt;. First add an import for the &lt;code&gt;Create&lt;/code&gt; component:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import Create from &quot;./pages/create&quot;;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then, add the following &lt;code&gt;Route&lt;/code&gt; below the one for the &lt;code&gt;/&lt;/code&gt; path:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;Route path=&quot;/create&quot; component={Create} /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The new create page should be working now!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;3. Make Inputs for Describing Posts&lt;/h2&gt;
&lt;p&gt;Now, let&apos;s think about the data structure we have in our Realtime Database. Each of the following are attributes we use to describe a blog post:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;title&lt;/li&gt;
&lt;li&gt;slug&lt;/li&gt;
&lt;li&gt;date&lt;/li&gt;
&lt;li&gt;coverImage&lt;/li&gt;
&lt;li&gt;coverImageAlt&lt;/li&gt;
&lt;li&gt;content&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Consider these two questions: Which of these attributes do we need to create an &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; for? Which ones can we automatically generate with some additional code? Well, ...&lt;/p&gt;
&lt;p&gt;If I were making this blog site for a client, I would auto-generate the &lt;code&gt;slug&lt;/code&gt; and the &lt;code&gt;date&lt;/code&gt;. Dates aren&apos;t that hard to auto-generate, but slugs can be because of punctionation. We&apos;re not going to handle that here, but feel free to give it a try on your own! In addition, I&apos;d likely provide a file upload input for &lt;code&gt;coverImage&lt;/code&gt;, but that&apos;s also a little more complex than I&apos;d like to take this post.&lt;/p&gt;
&lt;p&gt;So, &lt;code&gt;date&lt;/code&gt; is the only thing we&apos;re going to auto-generate. We&apos;ll have inputs for everything except &lt;code&gt;content&lt;/code&gt;, which will get a &lt;code&gt;&amp;lt;textarea&amp;gt;&lt;/code&gt;. Let&apos;s add all of those to our component and handle their values with &lt;code&gt;useState&lt;/code&gt;. Your &lt;code&gt;src/pages/create.js&lt;/code&gt; file should look like this:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If this seems like a lot of redundant code to you, good catch! (And I&apos;m sorry. 😅) We&apos;ll fix that in a &quot;going further&quot; post.&lt;/em&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import React, { useState } from &quot;react&quot;;

const labelStyles = {
  display: &quot;block&quot;,
  marginBottom: 4
};

const inputStyles = {
  width: &quot;100%&quot;,
  height: &quot;2rem&quot;,
  lineHeight: &quot;2rem&quot;,
  verticalAlign: &quot;middle&quot;,
  fontSize: &quot;1rem&quot;,
  marginBottom: &quot;1.5rem&quot;,
  padding: &quot;0 0.25rem&quot;
};

const Create = () =&amp;gt; {
  const [title, setTitle] = useState(&quot;&quot;);
  const [slug, setSlug] = useState(&quot;&quot;);
  const [coverImage, setCoverImage] = useState(&quot;&quot;);
  const [coverImageAlt, setCoverImageAlt] = useState(&quot;&quot;);
  const [content, setContent] = useState(&quot;&quot;);

  const createPost = () =&amp;gt; {
    console.log({ title, slug, coverImage, coverImageAlt, content });
  };

  return (
    &amp;lt;&amp;gt;
      &amp;lt;h1&amp;gt;Create a new post&amp;lt;/h1&amp;gt;
      &amp;lt;section style={{ margin: &quot;2rem 0&quot; }}&amp;gt;
        &amp;lt;label style={labelStyles} htmlFor=&quot;title-field&quot;&amp;gt;
          Title
        &amp;lt;/label&amp;gt;
        &amp;lt;input
          style={inputStyles}
          id=&quot;title-field&quot;
          type=&quot;text&quot;
          value={title}
          onChange={({ target: { value } }) =&amp;gt; {
            setTitle(value);
          }}
        /&amp;gt;

        &amp;lt;label style={labelStyles} htmlFor=&quot;slug-field&quot;&amp;gt;
          Slug
        &amp;lt;/label&amp;gt;
        &amp;lt;input
          style={inputStyles}
          id=&quot;slug-field&quot;
          type=&quot;text&quot;
          value={slug}
          onChange={({ target: { value } }) =&amp;gt; {
            setSlug(value);
          }}
        /&amp;gt;

        &amp;lt;label style={labelStyles} htmlFor=&quot;cover-image-field&quot;&amp;gt;
          Cover image
        &amp;lt;/label&amp;gt;
        &amp;lt;input
          style={inputStyles}
          id=&quot;cover-image-field&quot;
          type=&quot;text&quot;
          value={coverImage}
          onChange={({ target: { value } }) =&amp;gt; {
            setCoverImage(value);
          }}
        /&amp;gt;

        &amp;lt;label style={labelStyles} htmlFor=&quot;cover-image-alt-field&quot;&amp;gt;
          Cover image alt
        &amp;lt;/label&amp;gt;
        &amp;lt;input
          style={inputStyles}
          id=&quot;cover-image-alt-field&quot;
          type=&quot;text&quot;
          value={coverImageAlt}
          onChange={({ target: { value } }) =&amp;gt; {
            setCoverImageAlt(value);
          }}
        /&amp;gt;

        &amp;lt;label style={labelStyles} htmlFor=&quot;content-field&quot;&amp;gt;
          Content
        &amp;lt;/label&amp;gt;
        &amp;lt;textarea
          style={{ ...inputStyles, height: 200, verticalAlign: &quot;top&quot; }}
          id=&quot;content&quot;
          type=&quot;text&quot;
          value={content}
          onChange={({ target: { value } }) =&amp;gt; {
            setContent(value);
          }}
        /&amp;gt;
        &amp;lt;div style={{ textAlign: &quot;right&quot; }}&amp;gt;
          &amp;lt;button
            style={{
              border: &quot;none&quot;,
              color: &quot;#fff&quot;,
              backgroundColor: &quot;#039be5&quot;,
              borderRadius: &quot;4px&quot;,
              padding: &quot;8px 12px&quot;,
              fontSize: &quot;0.9rem&quot;
            }}
            onClick={createPost}
          &amp;gt;
            Create
          &amp;lt;/button&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/section&amp;gt;
    &amp;lt;/&amp;gt;
  );
};

export default Create;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Here&apos;s what your page should look like now:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Briefly fill in all of these fields and see what happens when you click the &quot;Create&quot; button! Is your console open? Then you should see an object printed with the values of all your inputs. Here&apos;s what mine looks like (&lt;em&gt;click to expand&lt;/em&gt;):&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;4. Write a Create Function&lt;/h2&gt;
&lt;p&gt;Neat! This is also what I mean by incremental changes to code. Take it step by step. Let&apos;s get to the exciting part! We&apos;re going to send some stuff back to the database. First, we need to import our &lt;code&gt;getFirebase&lt;/code&gt; function from &lt;code&gt;src/firebase.js&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import { getFirebase } from &quot;../firebase&quot;;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now, add the &lt;code&gt;generateDate()&lt;/code&gt; function, update the &lt;code&gt;createPost&lt;/code&gt; function, and destructure the &lt;code&gt;history&lt;/code&gt; prop from the &lt;code&gt;Create&lt;/code&gt; component params:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const generateDate = () =&amp;gt; {
  const now = new Date();
  const options = { month: &quot;long&quot;, day: &quot;numeric&quot;, year: &quot;numeric&quot; };

  const year = now.getFullYear();

  let month = now.getMonth() + 1;
  if (month &amp;lt; 10) {
    month = `0${month}`; // prepend with a 0
  }

  const day = now.getDate();
  if (day &amp;lt; 10) {
    day = `0${day}`; // prepend with a 0
  }

  return {
    formatted: `${year}-${month}-${day}`,             // used for sorting
    pretty: now.toLocaleDateString(&quot;en-US&quot;, options)  // used for displaying
  };
};
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;const createPost = () =&amp;gt; {
  const date = generateDate();
  const newPost = {
    title,
    dateFormatted: date.formatted,
    datePretty: date.pretty,
    slug,
    coverImage,
    coverImageAlt,
    content
  };
  getFirebase()
    .database()
    .ref()
    .child(`posts/${slug}`)
    .set(newPost)
    .then(() =&amp;gt; history.push(`/`));
};
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;const Create = ({ history }) =&amp;gt; {
  ...
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Fill in your inputs like we did a few minutes ago, click &quot;Create post&quot;, and you should be brought to the home page with your new post at the very top!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;5. Wrapping Up&lt;/h2&gt;
&lt;p&gt;Whew! I thought we&apos;d be able to talk about all 4 CRUD functions in one post, but that was a lot. We&apos;ll continue on this adventure tomorrow. Great job so far. 💪&lt;/p&gt;
&lt;p&gt;If come across any issues or questions, &lt;a href=&quot;mailto:hello@ashleemboyer.com&quot;&gt;send me an email&lt;/a&gt; or &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;DM me on Twitter&lt;/a&gt;! Catch you again tomorrow. 😊&lt;/p&gt;
</content:encoded><category>react</category><category>firebase</category><category>web-development</category></item><item><title>Build a React &amp; Firebase Blog Site Part 1 -- Setup and Read Data</title><link>https://ashleemboyer.com/blog/react-firebase-blog-01</link><guid isPermaLink="true">https://ashleemboyer.com/blog/react-firebase-blog-01</guid><description>Learn how to build a blog site with React and Firebase.</description><pubDate>Mon, 26 Aug 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Welcome! This is the first in a series of posts that will teach you how to build a blog site using React and Firebase. This one will probably be the longest because there are few things to do to set everything up.&lt;/p&gt;
&lt;p&gt;At the end of this post, you&apos;ll have learned how to connect your app to Firebase and pull some data from &lt;a href=&quot;https://firebase.google.com/docs/database&quot;&gt;Firebase&apos;s Realtime Database&lt;/a&gt;. Next time, we&apos;ll start setting up our CRUD functions with a &quot;Create Post&quot; feature. After that, we&apos;ll see what we can do to make an interface on the frontend that will make it easy to call our CRUD functions and easy to create more interesting functions.&lt;/p&gt;
&lt;p&gt;Ready to get started? :)&lt;/p&gt;
&lt;h2&gt;1. Sign up for Firebase&lt;/h2&gt;
&lt;p&gt;This one is easy! Head over to &lt;a href=&quot;https://firebase.google.com/&quot;&gt;Firebase&apos;s website&lt;/a&gt; and click the &quot;Get started&quot; button. The page looks like this:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You&apos;ll be prompted to choose a Google account if you&apos;re not already signed in to one. Once you&apos;re signed in, you can create a project. Here&apos;s what that page will look like if you&apos;re brand-new to Firebase:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;2. Create a Project&lt;/h2&gt;
&lt;p&gt;Click the &quot;Create a project&quot; button to begin the three step process. First, you&apos;ll be prompted for a project name. I&apos;m naming my project &lt;code&gt;react-firebase-blog&lt;/code&gt;. You can change your project ID if you want, but going with the automatically generated one is fine too.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Step 2 asks us if we want to set up Google Analytics for the project. I&apos;m selecting &quot;Not right now&quot;. If you choose this option, the process ends here. Otherwise, there&apos;s another step&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Click &quot;Create project&quot; and you&apos;ll be brought to a loading screen. When it says, &quot;Your new project is ready,&quot; click the &quot;Continue&quot; button.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;3. Clone the Starter Code&lt;/h2&gt;
&lt;p&gt;You can clone the starter code by running the following command in a terminal:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;git clone https://github.com/ashleemboyer/react-firebase-blog-starter.git
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Let&apos;s see what we&apos;ve got! Go ahead and get the project rolling by changing into the &lt;code&gt;react-firebase-blog-starter&lt;/code&gt; directory, running &lt;code&gt;npm install&lt;/code&gt;, and finally running &lt;code&gt;npm run start&lt;/code&gt;. Here&apos;s what you should see:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hooray! Go ahead and explore the project a little. I&apos;ll highlight a few areas for you to begin.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;src/App.js&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;We have 4 &lt;code&gt;Routes&lt;/code&gt;: the home page, a 404, and another for handling blog post slugs (aka URLs). You might be wondering why there&apos;s not one for handling non-matching paths. Good catch! We&apos;re actually handling that in the &lt;code&gt;Post&lt;/code&gt; component (&lt;code&gt;src/pages/post.js&lt;/code&gt;). Let&apos;s go ahead and look at that one.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;src/pages/post.js&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Because we&apos;re using a Router in &lt;code&gt;src/App.js&lt;/code&gt; (comes from &lt;code&gt;react-router-dom&lt;/code&gt;), the components we name in &lt;code&gt;Route&lt;/code&gt; elements will have a &lt;a href=&quot;https://reacttraining.com/react-router/web/api/match&quot;&gt;&lt;code&gt;match&lt;/code&gt;&lt;/a&gt; passed into their props. We can get the slug for a post from the URL bar with &lt;code&gt;match.params.slug&lt;/code&gt;, then compare that to a list of slugs we support on the site. Those are hard-coded into a &lt;code&gt;postSlugs&lt;/code&gt; variable for now. If the slug does not exist, we return a &lt;code&gt;Redirect&lt;/code&gt; to our 404 page. Otherwise, we&apos;ll display the correct post.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;src/pages/home.js&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;First, you&apos;ll se the &lt;code&gt;blogPosts&lt;/code&gt; variable. We&apos;re hard-coding our posts until we connect our app to Firebase. All this page does is return a &lt;code&gt;section&lt;/code&gt; element for every blog post in the &lt;code&gt;blogPosts&lt;/code&gt; array. You shouldn&apos;t need to change anything after the &lt;code&gt;return&lt;/code&gt; statement as we make our way through this series.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;4. Connect Firebase to the application&lt;/h2&gt;
&lt;p&gt;First, install the &lt;a href=&quot;https://www.npmjs.com/package/firebase&quot;&gt;&lt;code&gt;firebase&lt;/code&gt; package&lt;/a&gt; by running &lt;code&gt;npm install firebase&lt;/code&gt; in the root directory of the project.&lt;/p&gt;
&lt;p&gt;Now, create a JavaScript file in the &lt;code&gt;src&lt;/code&gt; directory of the project and call it &lt;code&gt;firebase.js&lt;/code&gt;. This is where we&apos;ll define our Firebase configs and initialize the Firebase objects.&lt;/p&gt;
&lt;p&gt;Before we add some code to this file, let&apos;s get the config data we need about our Firebase project. Go to the Firebase project settings by clicking the settings gear in the left sidebar and selecting &quot;Project settings&quot; from the menu. Scroll down to the &quot;Your apps&quot; section of the page. It&apos;s probably at the bottom. It should say, &quot;There are no apps in your project.&quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Click the circle that looks like &lt;code&gt;&amp;lt;/&amp;gt;&lt;/code&gt; in order to add Firebase to a web app. You&apos;ll be prompted for the App&apos;s nickname. I&apos;m calling mine &lt;code&gt;React Firebase Blog&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Click the &quot;Register app&quot; button, and after the page finishes loading, you&apos;ll see some HTML code that has a variable called &lt;code&gt;firebaseConfig&lt;/code&gt;. Copy the JSON attributes from that variable and hold on to them for our &lt;code&gt;firebase.json&lt;/code&gt; file. Click the &quot;Continue to console&quot; button to get back to your project settings. If you lose the JSON attributes you copied previously, you can find them again here, under the &quot;Your apps&quot; section that now has our app listed.&lt;/p&gt;
&lt;p&gt;Let&apos;s go back to our &lt;code&gt;firebase.js&lt;/code&gt;. Have your config data ready and plug it in to the following code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import firebase from &quot;firebase/app&quot;;
import database from &quot;firebase/database&quot;;

const config = {
  apiKey: &quot;&amp;lt;YOUR-API-KEY&amp;gt;&quot;,
  authDomain: &quot;&amp;lt;YOUR-AUTH-DOMAIN&amp;gt;&quot;,
  databaseURL: &quot;&amp;lt;YOUR-DATABASE-URL&amp;gt;&quot;,
  projectId: &quot;&amp;lt;YOUR-PROJECT-ID&amp;gt;&quot;,
  storageBucket: &quot;&amp;lt;YOUR-STORAGE-BUCKET&amp;gt;&quot;,
  messagingSenderId: &quot;&amp;lt;YOUR-MESSAGE-SENDER-ID&amp;gt;&quot;,
  appId: &quot;&amp;lt;YOUR-APP-ID&amp;gt;&quot;,
};

let firebaseCache;

export const getFirebase = () =&amp;gt; {
  if (firebaseCache) {
    return firebaseCache;
  }

  firebase.initializeApp(config);
  firebaseCache = firebase;
  return firebase;
};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;code&gt;getFirebase()&lt;/code&gt; function will ensure we only call &lt;code&gt;initializeApp&lt;/code&gt; one time.&lt;/p&gt;
&lt;h2&gt;5. Add Data to the Database&lt;/h2&gt;
&lt;p&gt;We can&apos;t read any data from our database until we actually add to it! Go back to your Firebase project and click the &quot;Database&quot; option under the &quot;Develop&quot; heading in the sidebar. You&apos;ll have to scroll down the page a little until you find the &quot;Realtime Database&quot; section.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Click the &quot;Create database&quot; button within this section. You&apos;ll see a modal come up asking you about the security rules for your database.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Select &quot;Start in &lt;strong&gt;test mode&lt;/strong&gt;&quot; and click the &quot;Enable&quot; button. Your database will be empty and read something like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;YOUR-PROJECT-ID&amp;gt;: null
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you didn&apos;t already know, the Realtime Database is just a JSON object. You can read more about that &lt;a href=&quot;https://firebase.google.com/docs/database&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The quickest way to get started is to import data using a JSON file. I&apos;m also providing this for you in case you&apos;re following along closely and want to have the same things show as what I have here. You can find this file in the root directory of the starter project. Click the three dots menu and select &quot;Import JSON&quot; to get to the file upload. Browse for your file, and then click the &quot;Import&quot; button.&lt;/p&gt;
&lt;p&gt;Now you should have some data attributes you can expand and explore!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;6. Read from the Database&lt;/h2&gt;
&lt;p&gt;Finally! The moment we&apos;ve all been waiting for. Let&apos;s head over to &lt;code&gt;src/home.js&lt;/code&gt; and see if we can get some stuff from the database!&lt;/p&gt;
&lt;p&gt;First, add some imports to the top of the file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// You only need to add the `{ useState }` portion here.
import React, { useState } from &quot;react&quot;;

// This is new.
import { getFirebase } from &quot;../firebase&quot;;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now, let&apos;s get &lt;code&gt;blogPosts&lt;/code&gt; into a state and try to read them from the database. You can read more about the &lt;code&gt;useState&lt;/code&gt; hook over &lt;a href=&quot;https://reactjs.org/docs/hooks-state.html&quot;&gt;here&lt;/a&gt;. We&apos;re also going to add a &lt;code&gt;loading&lt;/code&gt; state so we can easily do two things:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Make sure we only call &lt;code&gt;getFirebase&lt;/code&gt; once&lt;/li&gt;
&lt;li&gt;Show the user a loading screen while we wait for data&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Replace the &lt;code&gt;blogPosts&lt;/code&gt; constant with the following code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const [loading, setLoading] = useState(true);
const [blogPosts, setBlogPosts] = useState([]);

if (loading &amp;amp;&amp;amp; !blogPosts.length) {
  getFirebase()
    .database()
    .ref(&quot;/posts&quot;)
    .orderByChild(&quot;dateFormatted&quot;)
    .once(&quot;value&quot;)
    .then(snapshot =&amp;gt; {
      let posts = [];
      const snapshotVal = snapshot.val();
      for (let slug in snapshotVal) {
        posts.push(snapshotVal[slug]);
      }

      const newestFirst = posts.reverse();
      setBlogPosts(newestFirst);
      setLoading(false);
    });
}

if (loading) {
  return &amp;lt;h1&amp;gt;Loading...&amp;lt;/h1&amp;gt;;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Tada! You should see the exact same thing we had before. 🎉&lt;/p&gt;
&lt;h2&gt;7. Wrapping Up&lt;/h2&gt;
&lt;p&gt;There was a ton of stuff here. If you have any questions or concerned, please &lt;a href=&quot;mailto:hello@ashleemboyer.com&quot;&gt;send me an email&lt;/a&gt; or &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;DM me on Twitter&lt;/a&gt;! I&apos;ll try to give you a hand if you&apos;re feeling stuck or overwhelmed. Stay tuned for tomorrow&apos;s post where we will cover writing CRUD functions for our new, fancy blog site! If you&apos;re feeling squirrely and want to give it a go before then, I encourage you to check out the &lt;a href=&quot;https://firebase.google.com/docs/database/web/start&quot;&gt;Firebase documentation&lt;/a&gt;.&lt;/p&gt;
</content:encoded><category>react</category><category>firebase</category><category>web-development</category></item><item><title>Re-Create an Image with Colorful Text</title><link>https://ashleemboyer.com/blog/re-create-an-image-with-colorful-text</link><guid isPermaLink="true">https://ashleemboyer.com/blog/re-create-an-image-with-colorful-text</guid><description>Try some art with your code.</description><pubDate>Sun, 11 Aug 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Hey, friends! It&apos;s been a while, but I&apos;m back with something fun. Yesterday, I tweeted out about an image I analyzed and then re-created with my name. It&apos;s garnered quite a bit of attention so I figured I&apos;d tell everyone how I did it! It involves the HTML &lt;code&gt;canvas&lt;/code&gt; element and a little bit of looping over data from that to get information about the colors within the image. Let&apos;s get started!&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Quick note: There will be a CodeSandbox at the end of every step so you can follow along and check your work as you go.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;1. Set up Your HTML &amp;amp; JS&lt;/h2&gt;
&lt;p&gt;This step is pretty boring. Nothing will be showing on the page after you&apos;re done here. There are two main things to note:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You only need to set the &lt;code&gt;crossorigin&lt;/code&gt; attribute to &lt;code&gt;Anonymous&lt;/code&gt; if you&apos;re working in a code sandbox. A security error comes up otherwise.&lt;/li&gt;
&lt;li&gt;We can&apos;t actually do anything with our image until it loads. Make sure all of the upcoming code is written within the &lt;code&gt;onload&lt;/code&gt; event listener!&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;lt;iframe src=&quot;https://codesandbox.io/embed/step1-fvnqc?fontsize=14&amp;amp;view=editor&amp;amp;module=index.js&quot; title=&quot;step1&quot; allow=&quot;geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media&quot; sandbox=&quot;allow-modals allow-forms allow-popups allow-scripts allow-same-origin&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h2&gt;2. Draw Your Image on the &lt;code&gt;canvas&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;Now that we have our image loaded and the &lt;code&gt;canvas&lt;/code&gt; on the page, we need to get the 2D rendering context for our canvas. We&apos;ll call &lt;code&gt;drawImage()&lt;/code&gt; on the context and pass in three arguments:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the image we want to draw&lt;/li&gt;
&lt;li&gt;the x coordinate to draw at&lt;/li&gt;
&lt;li&gt;the y coordinate to draw at&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We only had to add two lines in this step. Your image should be showing up now! :)&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe src=&quot;https://codesandbox.io/embed/step2-6frr9?fontsize=14&amp;amp;view=split&amp;amp;module=index.js&quot; title=&quot;step2&quot; allow=&quot;geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media&quot; sandbox=&quot;allow-modals allow-forms allow-popups allow-scripts allow-same-origin&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h2&gt;3. Get the &lt;code&gt;ImageData&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;We&apos;re almost to the trickier part of this process, but first we need to get some data from the context. We put this in a &lt;code&gt;try...catch&lt;/code&gt; in case any thing goes wrong. For example, this is where you would see the security error from not setting the &lt;code&gt;crossorigin&lt;/code&gt; attribute of your image.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;getImageData()&lt;/code&gt; function takes 4 arguments:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;x coordinate to start reading from&lt;/li&gt;
&lt;li&gt;y coordinate to start reading from&lt;/li&gt;
&lt;li&gt;width of area to read from&lt;/li&gt;
&lt;li&gt;height of area to read from&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note that we&apos;re reading from the whole canvas because the image is pretty small and that&apos;s how we set everything up. If you want to, you can draw a much bigger image on your canvas and then read data from a smaller area by modifying these 4 arguments.&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe src=&quot;https://codesandbox.io/embed/step3-1b380?fontsize=14&amp;amp;view=split&amp;amp;module=index.js&quot; title=&quot;step2&quot; allow=&quot;geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media&quot; sandbox=&quot;allow-modals allow-forms allow-popups allow-scripts allow-same-origin&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h2&gt;4. Iterate to Get Pixel Colors&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;ImageData&lt;/code&gt; object we get in the previous has 3 properties: &lt;code&gt;data&lt;/code&gt;, &lt;code&gt;width&lt;/code&gt;, and &lt;code&gt;height&lt;/code&gt;. We&apos;re interested in the first one. Here&apos;s where things get a little weird. The &lt;code&gt;data&lt;/code&gt; property is a flat array. Not sure what that means? Here&apos;s a quick example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A flat array: &lt;code&gt;[&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, ...]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Not a flat array: &lt;code&gt;[&quot;a&quot;, &quot;b&quot;, [&quot;c&quot;, &quot;d&quot;], ...]&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For each pixel of the data read from the context, there are 4 pieces of data pushed onto this array having to do with the color of that pixel: the &lt;code&gt;red&lt;/code&gt;, &lt;code&gt;green&lt;/code&gt;, &lt;code&gt;blue&lt;/code&gt;, and &lt;code&gt;alpha&lt;/code&gt; values for the color. So, with our image being &lt;code&gt;200px&lt;/code&gt; wide and &lt;code&gt;200px&lt;/code&gt; high, this array should have 160,000 pieces of data in it (since 200 x 200 x 4 = 160,000).&lt;/p&gt;
&lt;p&gt;With this knowledge, we can loop over &lt;code&gt;ImageData.data&lt;/code&gt; in increments of 4 and grab each piece of color data to put into our own data structure. We&apos;ll be using this newly structured data in the next step. You can reformat this part to whatever makes the most sense to you. Maybe a JSON object is easier to understand. Give it a try! :)&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe src=&quot;https://codesandbox.io/embed/step4-rql19?fontsize=14&amp;amp;view=split&amp;amp;module=index.js&quot; title=&quot;step2&quot; allow=&quot;geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media&quot; sandbox=&quot;allow-modals allow-forms allow-popups allow-scripts allow-same-origin&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h2&gt;5. Append Some Containers&lt;/h2&gt;
&lt;p&gt;Now we&apos;re ready to use our color data! Remember that we&apos;ve stored them in a 2-dimensional array, so we&apos;re going to have to do some nested looping. To continuously display the correct letter of your desired string (I used my name!), we need to keep track of how many letters we&apos;ve already added to the page. We use the remainder (&lt;code&gt;%&lt;/code&gt;) operator to wrap through the string multiple times.&lt;/p&gt;
&lt;p&gt;There&apos;s a bunch of CSS here that makes this code look kind of gross. We &lt;em&gt;could&lt;/em&gt; move it out into a CSS file if we don&apos;t want to make the &lt;code&gt;font-size&lt;/code&gt; to work dynamically like I&apos;ve specified. But for this demonstration, I&apos;ve made it so you can play around with the size of the font in order to &quot;zoom&quot; in or out of your image. The most important attribute in our CSS is &lt;code&gt;color&lt;/code&gt;! We&apos;ll set this to the &lt;code&gt;RGBA&lt;/code&gt; values we got in the previous step.&lt;/p&gt;
&lt;p&gt;This is going to take a few seconds to render. There&apos;s a TON of pixels (160,000)!&lt;/p&gt;
&lt;p&gt;&amp;lt;iframe src=&quot;https://codesandbox.io/embed/step5-xuw2j?fontsize=14&amp;amp;view=split&amp;amp;module=index.js&quot; title=&quot;step2&quot; allow=&quot;geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media&quot; sandbox=&quot;allow-modals allow-forms allow-popups allow-scripts allow-same-origin&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/p&gt;
&lt;h2&gt;6. Resources&lt;/h2&gt;
&lt;p&gt;That&apos;s it! Here are some links for you to read through if you have questions about some of the topics we went through. All of them go to the MDN documentation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Remainder&quot;&gt;Remainder (%) Operator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas&quot;&gt;The Graphics Canvas element&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D&quot;&gt;CanvasRenderingContext2D&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData&quot;&gt;CanvasRenderingContext2D.getImageData()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/API/ImageData&quot;&gt;ImageData&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;p&gt;If you&apos;ve made it this far, congrats!!! 🎉 I hope you found this post helpful and entertaining. If you make something cool out of this, please &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;send me a tweet&lt;/a&gt; so I can see it!&lt;/p&gt;
</content:encoded><category>art</category></item><item><title>My Journey Into Software Engineering</title><link>https://ashleemboyer.com/blog/my-journey-into-software-engineering</link><guid isPermaLink="true">https://ashleemboyer.com/blog/my-journey-into-software-engineering</guid><description>A lot of people have been telling their stories. Here&apos;s mine.</description><pubDate>Tue, 02 Jul 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I started college in the fall of 2013 as a Chemical Engineering major at a small private engineering school in Indiana. That first quarter ended very poorly for me and had me questioning whether or not I could make it at the school. From what I could see, everyone else was so smart and doing so well! (In reality, I think a ton of us were struggling silently and alone.)&lt;/p&gt;
&lt;p&gt;The next two quarters went much better. I loved my chemistry courses and had to work really hard in my math and physics ones. That spring term, I had an Excel programming course. That was my first time ever writing code and I loved it! It was probably the first time outside of the chemistry classes that I really felt like I knew what I was doing. So, I decided to take the introductory programming course the next fall.&lt;/p&gt;
&lt;p&gt;They taught us how to program in Python. (I highly recommend Python for learning to code!) It was amazing to me. Having power over my computer and telling it exactly what I wanted to do gave me such a feeling of accomplishment. For the term project, we had to program an iRobot. I learned how to program a &lt;em&gt;robot&lt;/em&gt;! What a rush. I felt so smart until...&lt;/p&gt;
&lt;p&gt;I got my final grades for all the other courses I was taking. I did terrible in my Chemical Engineering courses. I could handle chemistry and physics individually, but I couldn&apos;t seem to put the two together. I did decent in organic chemistry, but I really didn&apos;t love chemistry anymore. I had a decision to make.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Take the classes over either in the summer or fall, depending on when they&apos;d be offered&lt;/li&gt;
&lt;li&gt;Switch to a different major&lt;/li&gt;
&lt;li&gt;Drop out of the school altogether&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The third wasn&apos;t really an option for me. I&apos;d moved out of my parents&apos; at this point and was completely independent. There&apos;s no way I&apos;d be able to pay off what loans I already had if I didn&apos;t get that degree. The first option was terrifying: there was no guarantee I&apos;d pass the second time around. The material just didn&apos;t make sense to me. With how well I did in the introductory programming course, and how much I enjoyed writing code, I went with the second option.&lt;/p&gt;
&lt;p&gt;The journey from then until I got out of college felt like actual hell, but it wasn&apos;t because of the courses. I enjoyed almost every single Software Engineering course I took. I even took some of them twice. 😉 Being on my own was really hard, and there were a lot of things that got in the way of my education.&lt;/p&gt;
&lt;p&gt;When I look back, I wish I had known about all of my options and not felt so pressured to hurry up and graduate college. I&apos;m not sure I&apos;d recommend the college route to everyone. Especially in the last several months, I don&apos;t see why someone who&apos;s self-taught can&apos;t be as successful as someone with a heckin&apos; expensive piece of paper. It&apos;s all about hard work, which you can&apos;t see at surface level. The same thing is true about GPA, something that might as well have not existed for me.&lt;/p&gt;
&lt;p&gt;Hearing everyone&apos;s stories over the past few days has really opened my eyes. There&apos;s a ton of talent in this industry coming from all backgrounds. Let&apos;s continue to build an inclusive culture in tech! So much possibility awaits.&lt;/p&gt;
</content:encoded><category>about-me</category></item><item><title>Why isn&apos;t our world more accessible?</title><link>https://ashleemboyer.com/blog/why-isn-t-our-world-more-accessible</link><guid isPermaLink="true">https://ashleemboyer.com/blog/why-isn-t-our-world-more-accessible</guid><description>Slow down, look around.</description><pubDate>Tue, 25 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Next time you walk around some city streets, take a look around.&lt;/p&gt;
&lt;p&gt;What&apos;s the sidewalk like? If it&apos;s made out of bricks, does it look very smooth or are probably half of them loose and uneven? When you come to an intersection, does the ramp to the crosswalk smoothly meet the street? And how about the street between sidewalks? Are there potholes or is the road nicely paved?&lt;/p&gt;
&lt;p&gt;If there are stores and restaurants, are they at the ground level or is there a step or two or more to get inside? Are there buttons to activate the doors? When you&apos;re in the seating area, are there any booths or extra sets of tables that have steps to get to? If the restaurant has a patio, how much space is there outside of the railings surrounding that area? Is it large enough for a wheelchair going in one direction and a person walking in the other?&lt;/p&gt;
&lt;p&gt;These are some of the thoughts that have gone through my head over the past few days. It&apos;s actually pretty appalling, the quality of some of our sidewalks and crosswalks. These are just the visible issues most people could see if they&apos;d just stop and look.&lt;/p&gt;
&lt;p&gt;Can you imagine what accessibility issues exist that aren&apos;t as visible?&lt;/p&gt;
</content:encoded><category>a11y</category></item><item><title>Working in Circle City, Day 4 -- Community</title><link>https://ashleemboyer.com/blog/working-in-circle-city-day-4</link><guid isPermaLink="true">https://ashleemboyer.com/blog/working-in-circle-city-day-4</guid><description>This place is so exciting. This series is all about my new adventure.</description><pubDate>Thu, 20 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;The AM&lt;/h1&gt;
&lt;p&gt;The CEO took some time to talk about the company&apos;s vision this morning, but not before we had a tornado drill! 😉 It was an interesting event. Thankfully, we’re only on the fourth floor and didn’t have too far to walk to make it to the basement (which happens to be a cigar bar, by the way 😂).&lt;/p&gt;
&lt;p&gt;The building we’re in is pretty old (finished in 1923), so when I had to walk on the steepest and narrowest steps of my life, I couldn’t help but wonder if people hadn’t micro feet back when the building was built. A fun fact I learned about the building today: when it was built, there was a 150-foot height limit on buildings so they wouldn’t shadow the Soldiers’ and Sailors’ Monument. I’ve lived here my whole life and never knew that!&lt;/p&gt;
&lt;h1&gt;The PM&lt;/h1&gt;
&lt;p&gt;I tried another new restaurant for lunch: Pearl Street Pizzeria and Pub. A major perk of working downtown is having teammates that know of DELICIOUS places to eat. A less than perky thing about working downtown is that there are too many tempting restaurants and my wallet is very stubborn. I should probably start bringing my lunch now that I’m settling in. 😁&lt;/p&gt;
&lt;p&gt;At the end of (my) work day, my hiring class was taken to Pearings Cafe and Frozen Yogurt to celebrate having nearly finished our first week on the job! Let’s just take some time to note that their Buckeye flavored frozen yogurt is amazing. 😍 The place also has great coffee and tea, so I’ll be heading back ASAP for all the yummy treats.&lt;/p&gt;
&lt;h1&gt;The post-PM&lt;/h1&gt;
&lt;p&gt;I went to Powderkeg’s Pitch Night as a volunteer for Women Who Code Indianapolis, a group I’m working to get more deeply involved with in the next several weeks. I found out while at frozen yogurt that someone from my company was no longer able to attend the event, and that we needed someone to walk up after the company name was announced for being one of fifty finalists for the 2019 Indiana Breakout Tech Cultures Awards!&lt;/p&gt;
&lt;p&gt;So on my fourth day I was able to have my picture taken with folx from 49 other awesome companies. The networking at this event was great as well. It quickly became clear to me what this event was about and why a lot of the exhibitors were in attendance. Everyone was there to be a part of building a supportive community. That’s a movement I can 100% support, and I’m jumping in head first.&lt;/p&gt;
</content:encoded><category>circle-city</category></item><item><title>Working in Circle City, Day 3 -- &quot;Do Better Work&quot;</title><link>https://ashleemboyer.com/blog/working-in-circle-city-day-3</link><guid isPermaLink="true">https://ashleemboyer.com/blog/working-in-circle-city-day-3</guid><description>This place is so exciting. This series is all about my new adventure.</description><pubDate>Wed, 19 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;The morning&lt;/h1&gt;
&lt;p&gt;I can&apos;t help but find myself fascinated by everything here. While I&apos;m doing my 10-minute walk from my car to the office, I wonder about the stories other people on the street might have to tell. Where do they work? Do they have kids? How long have they been doing this? People watching is quickly becoming such a fun thing to do when I&apos;m out and about the city streets.&lt;/p&gt;
&lt;h1&gt;The afternoon&lt;/h1&gt;
&lt;p&gt;We were still having some issues with my set up in the system, so we decided it was time to take a lunch. 😅 I tried another new place: Potbelly Sandwich Shop!&lt;/p&gt;
&lt;p&gt;It 👏🏻 was 👏🏻 amazing 👏🏻&lt;/p&gt;
&lt;p&gt;I also met the CEO! He walked up to me right after I had picked up my lunch sandwich, so we fist-bumped instead of shaking hands. 🤣 After lunch, I was expecting to go into a meeting, but it was rescheduled so the team and I continued to look at my setup so I could get coding. We figured it out, and the team lead walked me through my first ticket! I learned about so many things, and am taking note of them to eventually do some further reading:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment&quot;&gt;destructing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://reactjs.org/docs/typechecking-with-proptypes.html&quot;&gt;PropTypes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mobx injectors&lt;/li&gt;
&lt;li&gt;&lt;code&gt;const&lt;/code&gt; vs &lt;code&gt;let&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;The evening&lt;/h1&gt;
&lt;p&gt;Tonight I went to &lt;a href=&quot;https://twitter.com/lessonly/status/1141329976727408641&quot;&gt;the first event of an author series at The Vogue Nightclub in Broad Ripple&lt;/a&gt;. Max Yoder, CEO of Lessonly, talked about his book, &lt;em&gt;Do Better Work&lt;/em&gt;, answered a few questions, and played a few of his songs for us. It was a really great time!&lt;/p&gt;
&lt;p&gt;I paid extra for a guaranteed floor seat and that ticket also came with the book. It&apos;s going to be a good one, especially after hearing Max give an overview of each chapter. What he had to say and how he said it as a CEO was incredibly refreshing. You can 100% tell how passionate he is about making the world a better place.&lt;/p&gt;
&lt;p&gt;I also feel so validated. It’s overwhelming. And while I’m still not sure about the most productive way to talk about the past year, I know I &lt;em&gt;have&lt;/em&gt; to and that it’s part of my story I want to share. I want people to know that they don’t have to roll over and take bad treatment from people in leadership positions just because they sign your paychecks.&lt;/p&gt;
&lt;p&gt;You can get out of bad situations (and you &lt;em&gt;should&lt;/em&gt;). You are not trapped forever. Ask someone you trust for help. Put yourself out there. You &lt;em&gt;will&lt;/em&gt; get out. You &lt;em&gt;will&lt;/em&gt; find where you&apos;re celebrated, not just tolerated.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;If you ever need someone to talk to, please talk to me. I was there just a couple of months ago. I might not have answers for you, but I&apos;m here to listen at the very least.&lt;/p&gt;
</content:encoded><category>circle-city</category></item><item><title>Working in Circle City, Day 2 -- Be Nice to People in Traffic</title><link>https://ashleemboyer.com/blog/working-in-circle-city-day-2</link><guid isPermaLink="true">https://ashleemboyer.com/blog/working-in-circle-city-day-2</guid><description>This place is so exciting. This series is all about my new adventure.</description><pubDate>Tue, 18 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Day 2 was pretty quiet and smooth, but still exciting. I had two on-boarding meetings and will have one or two per day through next week. These are chances to learn more about the start of the company, how things work, and the company&apos;s values. It&apos;s also a great chance to meet people from different teams, which is pretty cool! Everyone is incredibly friendly.&lt;/p&gt;
&lt;p&gt;I tried another new (to me) food place! It&apos;s a cross between Qdoba and Chipotle. I&apos;m really enjoying all the walking involved with working in the middle of a big city. Speaking of which: I purchased a monthly parking pass! The walk is twice as long as the one from today and yesterday, but that&apos;s what I was shooting for. With my bad back, walking is one of the only ways for me to start working out again. 😊&lt;/p&gt;
&lt;p&gt;I&apos;d say the only negative thing about the day was traffic on the way home. I&apos;ve heard that while traffic in this state isn&apos;t nearly as bad as cities with higher populations, the people are excessively rude and full of road rage. I already knew it&apos;d be like this, but it&apos;s still gross. I wish more people would just be kind and realize that everyone on the road has a story.&lt;/p&gt;
&lt;p&gt;Stay tuned for day 3! I&apos;ll get to start looking at the code more closely, so things should get extra interesting. 😀&lt;/p&gt;
</content:encoded><category>circle-city</category></item><item><title>Working in Circle City, Day 1 -- Many Firsts</title><link>https://ashleemboyer.com/blog/working-in-circle-city-day-1</link><guid isPermaLink="true">https://ashleemboyer.com/blog/working-in-circle-city-day-1</guid><description>This place is so exciting. This series is all about my new adventure.</description><pubDate>Mon, 17 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;My new job is downtown Indianapolis. Today was my first day for a whole list of things!&lt;/p&gt;
&lt;p&gt;&amp;lt;ul style={{ listStyle: &quot;none&quot;, paddingLeft: 16 }}&amp;gt;
&amp;lt;li&amp;gt;🚗 Parked in a parking garage all day&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;🚶🏼‍♀️ Walked 5 minutes to work&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;🍳 Had breakfast by myself downtown&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;🛍 Shopped in two stores by myself downtown&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;🍕 Had lunch at Giordano’s&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;💻 Thoroughly used a MacBook Pro&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;&lt;/p&gt;
&lt;p&gt;I’m sure there’ll be lots of firsts in the coming months. I finally feel like I’m in an environment and community where I can grow. Everyone was so friendly and welcoming. They care about your wellbeing. You’re encouraged to learn and educate yourself all the time.&lt;/p&gt;
&lt;p&gt;Supporting your team matters. It makes an entire world of difference.&lt;/p&gt;
</content:encoded><category>circle-city</category></item><item><title>Get Started with HTML Video Captions</title><link>https://ashleemboyer.com/blog/get-started-with-html-video-captions</link><guid isPermaLink="true">https://ashleemboyer.com/blog/get-started-with-html-video-captions</guid><description>Adding captions to an HTML video isn&apos;t hard at all. You can get a mini project together in just a few minutes.</description><pubDate>Fri, 14 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Did you know you can add captions to &lt;code&gt;&amp;lt;video&amp;gt;&lt;/code&gt; elements with a little HTML and a VTT file? I didn&apos;t know until today! It&apos;s really easy to do (so long as you format your VTT file correctly... shout out to &lt;a href=&quot;https://twitter.com/CallMeWuz&quot;&gt;Conlin Durbin&lt;/a&gt; for helping me find that error 😄). At a minimum, you need 3 files:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Video, probably &lt;code&gt;.mp4&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;WebVTT, where the captions are&lt;/li&gt;
&lt;li&gt;HTML&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Let&apos;s get started&lt;/h2&gt;
&lt;h3&gt;The HTML&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;video width=&quot;100%&quot; title=&quot;Puppy&quot; controls&amp;gt;
  &amp;lt;source src=&quot;Puppiness.mp4&quot; type=&quot;video/mp4&quot; /&amp;gt;
  &amp;lt;track src=&quot;transcript.vtt&quot; label=&quot;English captions&quot; default /&amp;gt;
&amp;lt;/video&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is the easiest step. You only need 3 elements. On the &lt;code&gt;&amp;lt;video&amp;gt;&lt;/code&gt; element, make you sure you include the &lt;a href=&quot;https://www.w3schools.com/tags/att_video_controls.asp&quot;&gt;&lt;code&gt;controls&lt;/code&gt;&lt;/a&gt; attribute. This will allow users to toggle captions or switch to a different langue, if applicable.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;&amp;lt;source&amp;gt;&lt;/code&gt; element should be your video. Specify its &lt;code&gt;src&lt;/code&gt; and &lt;code&gt;type&lt;/code&gt; attributes. The &lt;code&gt;&amp;lt;track&amp;gt;&lt;/code&gt; element is for the &lt;code&gt;.vtt&lt;/code&gt; file you&apos;ll create in the next step. There are multiple attributes to include here.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;kind&lt;/code&gt; defaults to &quot;subtitles&quot;, but if you specify it you must also include the &lt;code&gt;srclang&lt;/code&gt; attribute.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;label&lt;/code&gt; is the title of the track and will be displayed in the video controls menu where captions can be toggled.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;default&lt;/code&gt; is included to set a track as enabled.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;WebVTT&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;WEBVTT

1
00:00:00.000 --&amp;gt; 00:00:01.000
SAND? OM NOM

2
00:00:02.000 --&amp;gt; 00:00:04.000
NO, BLEH

3
00:00:04.000 --&amp;gt; 00:00:08.000
LEASH! OM NOM

4
00:00:08.000 --&amp;gt; 00:00:10.000
GIVE IT

5
00:00:10.000 --&amp;gt; 00:00:14.000
IS MINE
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The format for this file is very specific. You must include &quot;WEBVTT&quot; at the top of the file, and then there are sections with white space in between which are called &quot;cues&quot;. In the example file I&apos;ve attached above, the first line of each cue is called the identifier. The next line specifies the timing for the cue. Finally, we have the cue payload. This is where you include the content for each caption. You can do &lt;em&gt;some&lt;/em&gt; styling here.&lt;/p&gt;
&lt;h3&gt;The final product&lt;/h3&gt;
&lt;p&gt;Here&apos;s a GIF preview of the captions I added to a video of a puppy playing on a sandy beach.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;More resources&lt;/h3&gt;
&lt;p&gt;I wasn&apos;t able to find a ton of examples out there, but there are plenty of resources that get into the differences between subtitles and captions, styling abilities, and additional ways to accomplish the same thing as above but with different transcript formats or third-party libraries.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://a11yproject.com/posts/using-caption-services-with-html5-video/&quot;&gt;&quot;How-to: Using captions with HTML&apos;s video element&quot;&lt;/a&gt; (The A11Y Project)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API&quot;&gt;&quot;Web Video Text Tracks Format (WebVTT)&quot;&lt;/a&gt; (MDN)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.w3schools.com/tags/tag_track.asp&quot;&gt;&quot;HTML &lt;code&gt;&amp;lt;track&amp;gt;&lt;/code&gt; Tag&quot;&lt;/a&gt; (w3schools)&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>a11y</category><category>captions</category></item><item><title>How I Get Things Done When I&apos;m Feeling Overwhelmed</title><link>https://ashleemboyer.com/blog/how-i-get-things-done-when-i-m-feeling-overwhelmed</link><guid isPermaLink="true">https://ashleemboyer.com/blog/how-i-get-things-done-when-i-m-feeling-overwhelmed</guid><description>I freeze up when overwhelmed by too many things to do. Here&apos;s how I start to work through the paralyzation.</description><pubDate>Wed, 12 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;https://twitter.com/fionalikes&quot;&gt;Fiona Thomas&lt;/a&gt;, author of &lt;a href=&quot;https://www.amazon.com/Depression-Digital-Age-Highs-Perfectionism/dp/1912478501&quot;&gt;&lt;em&gt;Depression in a Digital Age&lt;/em&gt;&lt;/a&gt;, has a free ebook called &lt;a href=&quot;https://fionalikestoblog.com/2017/09/19/getstuffdone/?fbclid=IwAR3l2_kzCXyUB6SbGbPU9f6p8ga4HOfkB9-ad4eyb0MfgiIAqo3mUhs54jA&quot;&gt;&lt;em&gt;How to Get Stuff Done with Depression&lt;/em&gt;&lt;/a&gt;. In it, I found advice that helped me in my worst times. A little over a year ago, I was still on campus at Rose and was so depressed and anxious I could hardly function. It&apos;s an evil cycle: I felt bad about being unable to be a good student, employee at my part-time job, dog mom to the lovely Trooper, or partner to Zach; then I felt worse because I couldn&apos;t perform pretty simple tasks around our place such as loading the dishwasher.&lt;/p&gt;
&lt;p&gt;At some point, I Googled for any online resource or support group I could find. I was desperate to pick myself back up again. That&apos;s where I found Fiona&apos;s free ebook. There are several good pieces of information in there, but what I&apos;ve found that helps me the most is this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;All you have to do to get stuff done is be productive for ten minutes. Out of your entire day, all you need to do is make a promise to do a little work for ten minutes.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It sounds a bit silly at first, but what just 10 minutes of productivity can do is start to build momentum for the rest of your day. It&apos;s the same concept as what &lt;a href=&quot;https://news.utexas.edu/2014/05/16/mcraven-urges-graduates-to-find-courage-to-change-the-world/&quot;&gt;Naval Adm. William H. McRaven&lt;/a&gt; explains about why you should make your bed every day:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If you make your bed every morning you will have accomplished the first task of the day. It will give you a small sense of pride, and it will encourage you to do another task and another and another. By the end of the day, that one task completed will have turned into many tasks completed.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;What I&apos;ve also learned is that we must be OK with just one 10-minute task. We need to be always gentle with ourselves because this tactic (probably all others, too) is not a fail-safe or it alone will not solve everything. Definitely consult a professional for help when you&apos;re so deep in anxiety and/or depression that you&apos;re unable to function. But this is one thing that continues to help me personally, even as I&apos;m mostly doing better than I was 1 year ago.&lt;/p&gt;
</content:encoded><category>self-care</category><category>mental-health</category></item><item><title>It&apos;s OK to Change Your Mind</title><link>https://ashleemboyer.com/blog/it-s-ok-to-change-your-mind</link><guid isPermaLink="true">https://ashleemboyer.com/blog/it-s-ok-to-change-your-mind</guid><description>I change my mind so often. Maybe it&apos;s a curse, but it&apos;s usually a sign of something bigger.</description><pubDate>Tue, 11 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Last week, I was feeling &lt;a href=&quot;https://youtu.be/5AhRqg0ADbk&quot;&gt;fired up and ready to go&lt;/a&gt;. I wrote a whole post about some exciting things and plans.&lt;/p&gt;
&lt;p&gt;But here&apos;s the thing: I&apos;ve thought some more about my plans for writing, and I&apos;m changing my mind. Let me get into the &quot;why&quot;. The plans I made were way too strict for me. This is probably because of the spontaneous nature of &lt;a href=&quot;https://dev.to/ashleemboyer/after-30-days-of-writing-on-dev-to-a08&quot;&gt;my recent 30-day blogging challenge&lt;/a&gt;, but I think it also has to do with deadlines.&lt;/p&gt;
&lt;p&gt;For more than 80% of my life, I&apos;ve dealt with a whole lot of deadlines. That&apos;s two decades! Don&apos;t get me wrong, I don&apos;t think deadlines aren&apos;t something we can totally get away from. I do think we can dramatically reduce the number of deadlines we encounter, however.&lt;/p&gt;
&lt;p&gt;So, that&apos;s what I&apos;m doing. Here&apos;s my new plan:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I&apos;ll be blogging 4 days a week: Monday through Thursday.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;How&apos;s that different from what I originally planned? Well, I wanted to write a bit more about the things I&apos;m learning in my Software Architecture course, but:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Making half of my posts about it is way too much&lt;/li&gt;
&lt;li&gt;I would love to &quot;teach&quot; technical material, but Software Architecture isn&apos;t where my passion lies&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Today&apos;s post was &quot;supposed&quot; to be about Software Architecture, as a matter of fact, but writing it to my standards was far more stressful than it needed to be. I&apos;d rather save that energy for something I plan to immerse myself in by choice, not because I have to.&lt;/p&gt;
&lt;p&gt;Here&apos;s the moral of the story: you can change your mind whenever you want to. I was a little nervous about changing my mind on this because I really was excited to write about Software Architecture. Some people showed interest in it, and I also don&apos;t want to appear like I&apos;m not holding my word or something.&lt;/p&gt;
&lt;p&gt;But then I remembered: I &lt;em&gt;started&lt;/em&gt; blogging for &lt;em&gt;me&lt;/em&gt;. People finding value in what I write is an added benefit! Of course, I still want people to enjoy reading what I write, but I also need to enjoy what I&apos;m writing or I&apos;ll burn right out.&lt;/p&gt;
&lt;p&gt;You are your primary stakeholder. Keep doing the things you enjoy, and if you&apos;re not enjoying what you&apos;re doing, give it your very best shot to turn that around.&lt;/p&gt;
</content:encoded><category>blogging</category></item><item><title>Why and How You Should Use Twitter for Networking</title><link>https://ashleemboyer.com/blog/why-and-how-you-should-use-twitter-for-networking</link><guid isPermaLink="true">https://ashleemboyer.com/blog/why-and-how-you-should-use-twitter-for-networking</guid><description>I used to think all of Twitter was a dumpster fire. Then I started completely over and it changed my whole life.</description><pubDate>Fri, 07 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;em&gt;Disclaimer: This post isn&apos;t for bragging. I&apos;ve had people ask me whether or not Twitter is worth it.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I joined Twitter less than 60 days ago. As of this writing, I have 358 followers, am following 460 other awesome people, and have written almost 1300 tweets. My tweets have also earned over 600k impressions. (I&apos;m especially proud that my top two tweets hold roughly 20% of those impressions and they both have to do with web accessibility. 😊)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Joining Twitter is also the biggest action I took in April that lead me to my new job I&apos;m about to start.&lt;/p&gt;
&lt;h1&gt;Why should I even bother?&lt;/h1&gt;
&lt;p&gt;There are a lot of inspiring people doing big things on Twitter. For me, it has been so empowering to see successful women in tech. Here are a couple of lists if you&apos;re looking for more people to follow.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://twitter.com/ladyleet/lists/fempire&quot;&gt;fempire&lt;/a&gt;, by &lt;a href=&quot;https://twitter.com/ladyleet&quot;&gt;Tracy Lee&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://twitter.com/dev_avocado/lists/dev-to&quot;&gt;dev.to&lt;/a&gt;, by &lt;a href=&quot;https://twitter.com/dev_avocado&quot;&gt;Developer Avocado&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://twitter.com/TheCodePixi/lists/tech-ladies-master-list&quot;&gt;Tech Ladies Master List&lt;/a&gt;, by &lt;a href=&quot;https://twitter.com/TheCodePixi&quot;&gt;Emily A. Pixi&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Twitter is also a great place to learn about what technology or frameworks are being used by people outside of your bubble. It&apos;s easy for us to get tunnel vision about the stacks we use, so seeing what others are learning &lt;em&gt;and&lt;/em&gt; what they have to say about it is very enlightening. These are some great hashtags to pay attention to if you &apos;re not sure where to start.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://twitter.com/hashtag/CodeNewbie?src=hash&quot;&gt;#CodeNewbie&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://twitter.com/hashtag/100DaysOfCode?src=hash&quot;&gt;#100DaysOfCode&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://twitter.com/hashtag/freeCodeCamp?src=hash&quot;&gt;#freeCodeCamp&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Finally, Twitter is great for job networking and/or meeting people in your area. As I said up top, Twitter is &lt;strong&gt;the&lt;/strong&gt; reason I got my foot in the door at the company I&apos;m about to start working for. About 1 month after creating my profile, I decided to message another woman in tech about any ideas she had on people hiring front end developers focused on accessibility. She introduced me to a developer in my city, and then he introduced me to my future boss. Seriously, social media is like magic. Not only did I end up finding a job from this exchange, but also found some really great friends who are supportive and full of wisdom.&lt;/p&gt;
&lt;h1&gt;Ok, so how do I get started?&lt;/h1&gt;
&lt;p&gt;My biggest is advice is this: just put yourself out there. Be unapologetically authentic. If people like you, great. If not, it&apos;s just the internet. You&apos;re (hopefully) not there just to impress strangers. If you&apos;re not hurting anyone, keep moving forward and being yourself.&lt;/p&gt;
&lt;p&gt;My second piece of advice: go out of your comfort zone. Interact with &quot;famous&quot; people. Ask questions. Answer questions! We&apos;re all learning here. If people make you feel bad about yourself because you&apos;re new to the field or trying something new, that&apos;s not on you. There are plenty of supportive folx who will have your back and don&apos;t mind &lt;em&gt;whatsoever&lt;/em&gt; where you&apos;re at in your career or skillset.&lt;/p&gt;
&lt;p&gt;My final piece of advice: learn out loud. It may seem like no one is listening at first, but that&apos;s what handy hashtags are for! People &lt;em&gt;do&lt;/em&gt; follow those. If you created a static site with Gatsby, @ them. They&apos;ll probably retweet it! This is just one good way to get some exposure and even feedback on what you&apos;re working on.&lt;/p&gt;
</content:encoded><category>twitter</category><category>social-media</category><category>networking</category></item><item><title>Get to Know the People You Pay</title><link>https://ashleemboyer.com/blog/get-to-know-the-people-you-pay</link><guid isPermaLink="true">https://ashleemboyer.com/blog/get-to-know-the-people-you-pay</guid><description>Know who you&apos;re sending your money to, especially when you send them a lot.</description><pubDate>Thu, 06 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I made some shouty tweets on Sunday. &lt;a href=&quot;https://twitter.com/ashleemboyer/status/1135403356506198017&quot;&gt;Here&apos;s the first one&lt;/a&gt;, and the one I want to focus on for this conversation.&lt;/p&gt;
&lt;p&gt;You can go read the other tweets and think whatever you want about them as a whole, but I&apos;m here to elaborate a bit on what I was (and still am) feeling.&lt;/p&gt;
&lt;p&gt;Side note: if you have any inclination to make excuses for the boss in the tweet or anything of the like, please hop out now. This is not a debate. How I feel about being minimized as a disabled person is not up for discussion.&lt;/p&gt;
&lt;p&gt;Another side note: this topic goes beyond people who sign the paychecks. Everyone should know about the identities of their co-workers, but those people way up in the hierarchy should &lt;em&gt;especially&lt;/em&gt; know the people they expect to do a good job.&lt;/p&gt;
&lt;p&gt;So, why should we get to know the people we pay?&lt;/p&gt;
&lt;h1&gt;You can lead them better&lt;/h1&gt;
&lt;p&gt;Knowing how people tick makes it easier for you to lead them. You&apos;ll know what they can and can&apos;t handle, when they can handle it, and how to get them where they need to be to actually handle it. Leadership isn&apos;t just about telling people what to do.&lt;/p&gt;
&lt;h1&gt;You&apos;ll have a chance to understand their perspective&lt;/h1&gt;
&lt;p&gt;It&apos;s not really possible to know *exactly what someone else is going through unless you&apos;ve actually been through it yourself. Even still, every single person is different and copes with life in their own ways. Your best chance at knowing what someone else is going through; however, is by listening and remembering what people tell you.&lt;/p&gt;
&lt;h1&gt;You won&apos;t make them feel isolated&lt;/h1&gt;
&lt;p&gt;Going back to my above-mentioned situation specifically, it&apos;s hard to describe how it felt to learn that my boss didn&apos;t know for 10 months that I have hearing aids. I am a disabled woman. It&apos;s the biggest piece of my identity because it affects my quality of life in every possible way. It&apos;s not a difficult fact to learn. I talk about it daily.&lt;/p&gt;
&lt;p&gt;I keep trying to write the next sentence and they keep coming out wrong. It&apos;s a really strange feeling to know I was sitting for months on end putting in so much effort, and the simplest effort wasn&apos;t being put back into me. It feels lonely and isolating.&lt;/p&gt;
&lt;p&gt;Bottom line, just do the right thing. Don&apos;t let your employees feel like that. All it takes is a few conversations and a little bit of effort towards remembering facts about people. Make the people you pay feel important.&lt;/p&gt;
</content:encoded><category>about-me</category><category>disability</category></item><item><title>I Tried the Top 5 Coding Challenge Websites</title><link>https://ashleemboyer.com/blog/i-tried-the-top-5-coding-challenge-websites</link><guid isPermaLink="true">https://ashleemboyer.com/blog/i-tried-the-top-5-coding-challenge-websites</guid><description>I asked for coding challenge suggestions and briefly tested a few of them out. Here are my results.</description><pubDate>Wed, 05 Jun 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Thank you to everyone who replied to &lt;a href=&quot;https://twitter.com/ashleemboyer/status/1133927062039867392&quot;&gt;my tweet about coding challenges&lt;/a&gt;! It&apos;s an excellent list of sites people like to use.&lt;/p&gt;
&lt;p&gt;I did a quick look over all of these sites and am providing my immediate impressions from them. It&apos;s very possible they might be missing something. :) If a correction needs to be made, or if there&apos;s another really awesome thing about any of these sites that I missed, just drop a comment and I can update this post.&lt;/p&gt;
&lt;h2&gt;1. &lt;a href=&quot;https://www.codewars.com/&quot;&gt;codewars&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;20+ languages available&lt;/li&gt;
&lt;li&gt;Others&apos; solutions are available for review&lt;/li&gt;
&lt;li&gt;You can practice writing your own tests&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;2. &lt;a href=&quot;https://www.hackerrank.com&quot;&gt;HackerRank&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;20+ languages available&lt;/li&gt;
&lt;li&gt;Many skills categories and challenges to explore&lt;/li&gt;
&lt;li&gt;Job board seems like an added benefit :)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;3. &lt;a href=&quot;https://exercism.io/&quot;&gt;exercism&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;50+ languages available&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://exercism.io/mentored-mode-vs-independent-mode&quot;&gt;&quot;Mentored mode&quot;&lt;/a&gt;—the linked page has a ton of information about the structure of this&lt;/li&gt;
&lt;li&gt;There&apos;s a lot of steps for each challenge, with downloading the code and then having to resubmit it. I have a preference for interactive challenge sites.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;4. &lt;a href=&quot;https://www.codingame.com/start&quot;&gt;CodinGame&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Several languages available (I didn&apos;t count, they were in a select)&lt;/li&gt;
&lt;li&gt;Multiple types of challenges of varying skill levels&lt;/li&gt;
&lt;li&gt;A bit overwhelming to me, there&apos;s a lot happening on each screen&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;5. &lt;a href=&quot;https://projecteuler.net/archives&quot;&gt;ProjectEuler&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Not an interactive coding website, BUT&lt;/li&gt;
&lt;li&gt;A lot of &lt;em&gt;great&lt;/em&gt; challenges for writing software solutions to&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>code-games</category></item><item><title>How to Handle touchstart Events with Stacked Elements</title><link>https://ashleemboyer.com/blog/how-to-handle-touchstart-events-with-stacked-elements</link><guid isPermaLink="true">https://ashleemboyer.com/blog/how-to-handle-touchstart-events-with-stacked-elements</guid><description>The touchstart event in mobile web apps is a little different than the click event. Here&apos;s how I solved an issue I&apos;ve run into frequently.</description><pubDate>Fri, 31 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I came across some issues on touch screens where I have a navigation menu expanded and the common &quot;shadow&quot; showing on the non-menu portion of the screen. When I tried tapping on the &quot;shadow&quot; to close the menu, way too many things were happening! Here&apos;s a quick illustration of what sort of screen I&apos;m talking about:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When a user taps on the &quot;shadow&quot; portion of the screen, they expect the menu to close. Nothing else should happen. You can handle this by adding a &lt;code&gt;touchstart&lt;/code&gt; event listener to the element used for the shadow, but there are a couple of things to watch out for. It won&apos;t behave the same as a &lt;code&gt;click&lt;/code&gt; event listener you use for the desktop version of your app.&lt;/p&gt;
&lt;p&gt;It&apos;s all about when events are fired. A &lt;code&gt;click&lt;/code&gt; event doesn&apos;t go until after a click is over and a mouse button is released. So, when a user clicks on the &quot;shadow&quot; with their mouse, there aren&apos;t any side effects. It&apos;s a different story for touchscreens, however.&lt;/p&gt;
&lt;p&gt;If the items &quot;behind&quot; the &quot;shadow&quot; are clickable, a user touching the &quot;shadow&quot; to close the menu will also cause fire off the click events on those items. It&apos;s a pretty simple fix. In your &lt;code&gt;touchstart&lt;/code&gt; listener, all you have to do is call &lt;code&gt;preventDefault&lt;/code&gt; on the event passed into the listener. It might go something like this:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It&apos;s really that easy—a one-line fix. It wasn&apos;t super obvious to me at first, so I hope this helps clear things up for anyone else in the same boat as me. Have you ever run into similar issues? If so, enlighten us in the comments and save us some pain! :)&lt;/p&gt;
</content:encoded><category>web-development</category><category>mobile</category></item><item><title>I Know You&apos;re Tired</title><link>https://ashleemboyer.com/blog/i-know-you-re-tired</link><guid isPermaLink="true">https://ashleemboyer.com/blog/i-know-you-re-tired</guid><description>Life is really hard sometimes. We&apos;re all going through something. You&apos;re not alone.</description><pubDate>Thu, 30 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;em&gt;Life is really hard sometimes. We&apos;re all going through something. You&apos;re not alone.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;What you&apos;re doing is hard work. It&apos;s taking up a lot of your energy. You don&apos;t feel valued for all of your efforts. It&apos;s not fair, I know. But if you&apos;re reading this and strongly relate, chances are you can&apos;t stop just yet. It&apos;s just not the right time.&lt;/p&gt;
&lt;p&gt;So, what now? You have to keep moving. Give it everything you&apos;ve got. It&apos;s OK if that&apos;s not much. Do whatever it takes. We all have our days and need a moment. Some people need more moments than others.&lt;/p&gt;
&lt;p&gt;If you&apos;re not connecting with this article in your life right now, make sure you let other people take their moments. We have no idea what other people are going through in their personal lives. Some people have it really bad. Don&apos;t anyone&apos;s life harder than it has to be.&lt;/p&gt;
</content:encoded><category>self-care</category><category>mental-health</category></item><item><title>After 30 Days of Writing on DEV.to</title><link>https://ashleemboyer.com/blog/after-30-days-of-writing-on-dev-to</link><guid isPermaLink="true">https://ashleemboyer.com/blog/after-30-days-of-writing-on-dev-to</guid><description>This is my 30th post on the DEV Community site. Here&apos;s a summary of my experience.</description><pubDate>Wed, 29 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;This past month of publishing one post per day far exceeded my expectations. I was inspired to do this challenge by the co-hosts of the &lt;a href=&quot;https://discoverpraxis.com/office-hours/&quot;&gt;Office Hours Podcast&lt;/a&gt;, &lt;a href=&quot;https://twitter.com/TK_Coleman&quot;&gt;T.K. Coleman&lt;/a&gt; and &lt;a href=&quot;https://twitter.com/isaacmorehouse&quot;&gt;Isaac Morehouse&lt;/a&gt;. They talk about the challenge a lot, so I decided to just dive in. Here are my results.&lt;/p&gt;
&lt;h1&gt;My top three posts by views&lt;/h1&gt;
&lt;p&gt;Reactions are a bit weird on this site and I don&apos;t really think they consistently express the success of a post. For the following three posts, these are the view counts at the time of this writing: 4595, 2331, &amp;amp; 1623.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://dev.to/ashleemboyer/the-perfect-first-project-for-exploring-any-js-framework-48ip&quot;&gt;The Perfect First Project for Exploring Any JS Framework&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://dev.to/ashleemboyer/yes-you-should-have-hobbies-outside-of-code-4ao9&quot;&gt;Yes, You Should Have Hobbies Outside of Code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://dev.to/ashleemboyer/things-you-shouldn-t-say-to-a-disabled-person-about-why-your-app-isn-t-accessible-eg5&quot;&gt;Things You Shouldn&apos;t Say to a Disabled Person About Why Your App Isn&apos;t Accessible&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;My total reaction and view counts&lt;/h1&gt;
&lt;p&gt;My view count is beyond what I could have guessed it would be. There are a few things I think helped a lot with this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The DEV Community admins are really supportive on Twitter&lt;/li&gt;
&lt;li&gt;A lot of devs read and share posts from this site on Twitter&lt;/li&gt;
&lt;li&gt;I posted every single day (except once, I was sick)—that&apos;s a lot&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;My follower counts&lt;/h1&gt;
&lt;p&gt;Publishing here and sharing my posts on Twitter really spiked my follower counts for both sites. I have 2061 on DEV and 238 on Twitter. I can&apos;t remember exactly how many followers I had on Twitter when my challenge started, but it wasn&apos;t too many. I started the account sometime in mid-April.&lt;/p&gt;
&lt;h1&gt;The unexpected side effects&lt;/h1&gt;
&lt;p&gt;I joined Twitter mainly for networking. I felt like I was missing out on knowing devs in my area, and Twitter seemed like an easy way to see what events were happening as well. Turns out, a lot of really cool and inspiring devs are over there. I think one of the coolest things I&apos;ve seen on Twitter is the #100daysofcode hashtag. I&apos;m so proud of the tech community and the educational environment over there.&lt;/p&gt;
&lt;p&gt;Twitter for networking was a great idea. Interacting in various discussion threads, reading wisdom from experienced devs, and e-meeting all kinds of cool people has literally changed my life.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I discovered my love for web accessibility advocacy&lt;/li&gt;
&lt;li&gt;This summer, I&apos;m attending my first conference in years&lt;/li&gt;
&lt;li&gt;I released textua11y, my first React app&lt;/li&gt;
&lt;li&gt;I&apos;ve found a ton of meetup opportunities in my area&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Overall, this blogging challenge has been one of the best decisions I&apos;ve ever made. If you&apos;re an aspiring writer, my best advice is to just do the damn thing. I don&apos;t know if I&apos;ll be posting on the DEV site every single day, but I plan to continue posting daily on my personal blog site to get out of the tech headspace sometimes.&lt;/p&gt;
&lt;p&gt;Finally, thanks for being here. You&apos;ve helped make this a helluva ride. Hope you&apos;ll stick around for more! I have massive dreams. 😊&lt;/p&gt;
</content:encoded><category>blogging</category></item><item><title>Introducing textua11y - A Color Contrast Tool</title><link>https://ashleemboyer.com/blog/introducing-textua11y-a-color-contrast-tool</link><guid isPermaLink="true">https://ashleemboyer.com/blog/introducing-textua11y-a-color-contrast-tool</guid><description>Looking for a quick way to test foreground and background colors in text-heavy areas of your web application?</description><pubDate>Tue, 28 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Yesterday, I made a post about ideas and going after them. Every idea is a learning experience. There are no dumb ideas.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://dev.to/ashleemboyer/just-make-that-app-59gl&quot;&gt;Just Make That App&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Well, writing that post pushed me to elaborate on a super simple color tool I created for a post about generating Gatsby sites from JSON files. This site shows you whether to use black or white text on a colorful background. All of the colors come from the &lt;a href=&quot;https://material.io/tools/color/#!/&quot;&gt;Material Design color palette&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://dev.to/ashleemboyer/build-a-multi-page-gatsby-site-from-json-3kp&quot;&gt;Build a Multi-Page Gatsby Site from JSON&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&apos;d like to introduce you to &lt;a href=&quot;https://ashleemboyer.github.io/textua11y/&quot;&gt;textua11y&lt;/a&gt;. You can choose a text and background color, then use the Chrome developer tools to hover over the text elements and check your color contrast ratio. There&apos;s a lot to work with here.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have multiple ideas on how to keep going with this, but I also want to hear from you! When you go to the site and click around, what do you feel like is missing? Anything random and cool you&apos;d like to see? I&apos;m excited to keep working on the tool this week.&lt;/p&gt;
&lt;p&gt;Current top todos:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&quot;Go back&quot; between steps in the color pickers&lt;/li&gt;
&lt;li&gt;Display text with the contrast score&lt;/li&gt;
&lt;li&gt;Show the selected color hex values in addition to the names&lt;/li&gt;
&lt;/ol&gt;
</content:encoded><category>textua11y</category></item><item><title>Just Make That App</title><link>https://ashleemboyer.com/blog/just-make-that-app</link><guid isPermaLink="true">https://ashleemboyer.com/blog/just-make-that-app</guid><description>Like questions, there are no dumb ideas. Every single idea you have leads to a learning experience.</description><pubDate>Mon, 27 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;As someone who&apos;s new to the web dev game, I find it hard to accept all my ideas as good ones. Yes, you read that right, &lt;em&gt;all&lt;/em&gt; ideas are good ideas. Ideas are similar to questions, it&apos;s all about the timing. Every single idea you have leads to a learning experience.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://dev.to/ashleemboyer/don-t-be-afraid-to-ask-questions-5g99&quot;&gt;Don&apos;t be Afraid to Ask Questions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There&apos;s a lot of pressure to make something &lt;em&gt;cool&lt;/em&gt; or &lt;em&gt;super useful&lt;/em&gt; and &lt;em&gt;profitable&lt;/em&gt;. You don&apos;t have to do that right now, especially if you&apos;re learning a new framework. You can make any app you want to, for whatever reason you want to. If no one is getting hurt, just do it!&lt;/p&gt;
&lt;p&gt;There are no dumb ideas. Some ideas are better than others obviously, but all ideas keep our creative juices flowing. Once you get started, it&apos;ll be hard to stop. Eventually, you&apos;ll find the best idea to suit your current situation. All you have to do is sit and listen to your thoughts without judgment. Let them all pour out freely.&lt;/p&gt;
&lt;p&gt;Now, let&apos;s hear those app ideas! Maybe you&apos;ll find someone with a similar idea. Maybe get in touch and think about collabing. :)&lt;/p&gt;
</content:encoded><category>web-development</category></item><item><title>Minimalism and Habits</title><link>https://ashleemboyer.com/blog/minimalism-and-habits</link><guid isPermaLink="true">https://ashleemboyer.com/blog/minimalism-and-habits</guid><description>Good habits not only keep us on track, but they save us time and energy.</description><pubDate>Sun, 26 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;https://twitter.com/cduhigg&quot;&gt;Charles Duhigg&lt;/a&gt;&apos;s &lt;a href=&quot;https://www.amazon.com/Power-Habit-What-Life-Business/dp/B007EJSMC8/ref=tmm_aud_swatch_0?_encoding=UTF8&amp;amp;qid=&amp;amp;sr=&quot;&gt;&lt;em&gt;The Power of Habit&lt;/em&gt;&lt;/a&gt; is an awesome book that gets into the science of decision-making and forming habits. My favorite takeaway from the book is that habits are things we end up doing automatically, meaning we don&apos;t even have to use as much energy to think about doing them.&lt;/p&gt;
&lt;p&gt;If you&apos;re like me, you think waaay too much.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thinking isn&apos;t inherently a bad thing. People tend to associate overthinking with being emotional, and that&apos;s fine. There&apos;s nothing wrong with being an emotional person. Accept it; run with it. :)&lt;/p&gt;
&lt;p&gt;But there a lot of things we tend to overthink that can be easily simplified. For example, some people wear the same jeans and shirts every day so they don&apos;t have to think about what to wear. Some eat the same breakfast, drive the same commute, or walk their dogs on the same path. I get bored with super rigid routines, so it takes practice finding what works.&lt;/p&gt;
&lt;p&gt;Where does minimalism come into creating habits? Well, think of the first example: wearing the same outfit every day. That requires minimizing your closet and getting rid of all your clothing that doesn&apos;t align with that outfit. I like to see minimalism as a tool in addition to a lifestyle. Usually, it helps me set myself up for even bigger forward steps.&lt;/p&gt;
&lt;p&gt;Think of it as clearing mental space for doing what&apos;s most important. If you need some help getting started, I recommend cleaning out your email subscriptions. I&apos;ve been needing to do this for weeks and I&apos;ll probably avoid checking my inbox as often as I should until it&apos;s done. 🙈&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://dev.to/ashleemboyer/throw-all-of-your-email-subscriptions-in-the-garbage-25ah&quot;&gt;Throw All of your Email Subscriptions in the Garbage&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What habits are you working on or wanting to get started? Where could spend time minimizing things to make room for the habits you want to create?&lt;/p&gt;
</content:encoded><category>minimalism</category><category>habits</category></item><item><title>Yes, You Should Have Hobbies Outside of Code</title><link>https://ashleemboyer.com/blog/yes-you-should-have-hobbies-outside-of-code</link><guid isPermaLink="true">https://ashleemboyer.com/blog/yes-you-should-have-hobbies-outside-of-code</guid><description>Hobbies give us a break from the real world. Take all you can get.</description><pubDate>Sat, 25 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I came across an excellent tweet last night by Twitter user &lt;a href=&quot;https://twitter.com/AmarachiAmaechi&quot;&gt;Amycruz&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;To be a good developer you don’t have to spend 99% of your time writing, reading about coding. Do other activities. it helps to be more creative and to enrich your knowledge.&lt;/p&gt;
&lt;p&gt;What other activities do you engage in aside coding 🤔🤔&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a href=&quot;https://twitter.com/AmarachiAmaechi/status/1132018328988454912&quot;&gt;link to tweet&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is such a great point. I see many devs talking about how hard it is to cope with the insane amount of information online. On the one hand: &lt;em&gt;it feels a little bit competitive&lt;/em&gt;. Who can learn the newest framework the fastest and build a super cool app and start making money? On the other hand: it&apos;s hard to choose which things to learn in what order because you&apos;re scared of falling behind.&lt;/p&gt;
&lt;p&gt;Let&apos;s start by acknowledging we&apos;ll never learn everything. First of all, it&apos;s impossible. Second of all, it&apos;s not necessary. Learn the skills you need for the job you want. Then, you can fill in the gaps as needed. However, all of you learnaholics like myself might be wondering how to fit your extra learning into that mindset. The answer is balance.&lt;/p&gt;
&lt;p&gt;You &lt;em&gt;must&lt;/em&gt; balance learning with other activities. Without balance, you risk burnout, as is the case with most things. So, find some hobbies! I personally enjoy knitting, crocheting, cross-stitching, and reading memoirs. Creative hobbies are very beneficial. You can meet new people who share the same hobby, have interesting things to talk about yourself in job interviews, and clear your mind for a while from stressful things.&lt;/p&gt;
&lt;p&gt;Have any non-code hobbies you&apos;d like to share? Drop a comment! :)&lt;/p&gt;
</content:encoded><category>hobbies</category><category>habits</category><category>self-care</category></item><item><title>A Haiku About Pausing</title><link>https://ashleemboyer.com/blog/a-haiku-about-pausing</link><guid isPermaLink="true">https://ashleemboyer.com/blog/a-haiku-about-pausing</guid><description>Sometimes we just need to pause.</description><pubDate>Thu, 23 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Still feeling under the weather, but I mustered up the brain energy to write this little haiku:&lt;/p&gt;
&lt;p&gt;“I’m not really sure
If it is against the rules
Blog challenge is paused”&lt;/p&gt;
&lt;p&gt;Hopefully I’ll be back at it again tomorrow with some more exciting content, but no promises.&lt;/p&gt;
&lt;p&gt;Until then, keep pushing! Unless you get sick, of course. :) Either way, you’ve got this.&lt;/p&gt;
</content:encoded><category>self-care</category></item><item><title>Sometimes You Have no Choice but to Pause</title><link>https://ashleemboyer.com/blog/sometimes-you-have-no-choice-but-to-pause</link><guid isPermaLink="true">https://ashleemboyer.com/blog/sometimes-you-have-no-choice-but-to-pause</guid><description>Listen to your body. It’s very honest about how it’s feeling.</description><pubDate>Wed, 22 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I’ve said this before, and I’ll say it forever: your health is more important than anything else. Take care of your body. Feed it good things. Rest it when it hurts. You’re not a bad person if you need a break or to step back from something. Sacrifice your well-being for no one.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This post is short because&lt;/em&gt; I &lt;em&gt;need a break. Hope to be back tomorrow with our regularly-lengthed posts. 💕&lt;/em&gt;&lt;/p&gt;
</content:encoded><category>self-care</category><category>mental-health</category></item><item><title>What You Can Learn from Your Dog about Mindfulness</title><link>https://ashleemboyer.com/blog/what-you-can-learn-from-your-dog-about-mindfulness</link><guid isPermaLink="true">https://ashleemboyer.com/blog/what-you-can-learn-from-your-dog-about-mindfulness</guid><description>My dog has nothing to worry about, but it&apos;s not like he could do it if that wasn&apos;t true.</description><pubDate>Mon, 20 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Since I&apos;ve lived in apartments for the entire 3 years I&apos;ve had my dog, Trooper, Zach and I have always had to walk him with a leash. Our current apartment has a nice bark park, which helps him get some energy out, but for the most part, he&apos;s on a leash.&lt;/p&gt;
&lt;p&gt;It&apos;s easy to get bored while walking your dog on a leash. Sometimes, I pull my phone out to take a quick peek at an app (this is a whole separate issue, really 😜) while he&apos;s staring off into space or letting out little huffs at other dogs/humans.&lt;/p&gt;
&lt;p&gt;After a while of him standing still, I think (rather impatiently), &lt;em&gt;&quot;What are you&lt;/em&gt; looking &lt;em&gt;at? Can you just do your business already?&quot;&lt;/em&gt;. Here&apos;s the thing: he has no choice but to be present in every single moment. Their brains aren&apos;t wired like ours to think about the future.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Bonus! Here&apos;s another picture of Trooper. :)&lt;/p&gt;
&lt;p&gt;Trooper can really only think about what&apos;s right in front of him. Who knows if nature intended this, but I assume that animals are like this for a reason. &lt;em&gt;Wild&lt;/em&gt; animals don&apos;t have time to worry about things that aren&apos;t even happening—they&apos;re too busy trying to survive predators and starvation.&lt;/p&gt;
&lt;p&gt;Most of us don&apos;t really have to do that, at least not to the same degree. Trooper doesn&apos;t have to do that either since we take care of him, but what&apos;s the coolest side effect about him still having a limited perception? He&apos;s an extremely happy pup. He&apos;s content watching birds, sniffing flowers and poles, and sunbathing.&lt;/p&gt;
&lt;p&gt;So, what can we learn about mindfulness from our dogs? You&apos;ll be a lot happier if you practice it. Try not to worry too much about things until they&apos;re actually a problem. Try to use your phone a little less. Look up. Look around. See the beauty in your surroundings.&lt;/p&gt;
</content:encoded><category>self-care</category><category>mental-health</category></item><item><title>How to Study for a Test by Making a Website</title><link>https://ashleemboyer.com/blog/how-to-study-for-a-test-by-making-a-website</link><guid isPermaLink="true">https://ashleemboyer.com/blog/how-to-study-for-a-test-by-making-a-website</guid><description>I have a final a in a few days, but have also been itching to write code outside of work. So, I&apos;m making a site to study for my final!</description><pubDate>Sun, 19 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;With my wild schedule of driving 1.5 hours one-way for a class four days a week, I haven&apos;t had as much time to write code outside of work. I also see tons of people on Twitter talking about React or Gatbsy, which makes me want to dig into them even more.&lt;/p&gt;
&lt;p&gt;So, I&apos;m making an informational website on Discrete and Combinatorial Mathematics II to study &lt;em&gt;and&lt;/em&gt; practice my Gatsby skills. 😉 The course material is separated very nicely already: 7 advanced topics and 6 core topics. So far, there&apos;s one page for each which are linked from the home page with a little summary description.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;On each page, I plan on showing a list at the top of the important terms and definitions the relevant textbook section and I&apos;m also inserting the examples most helpful to me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Finally, I&apos;m also creating a glossary page where all of the important terms and definitions will be formally described and linked to from any of the other site pages.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I feel extremely nerdy for doing this and it&apos;s &lt;em&gt;actually&lt;/em&gt; incredibly fun. I&apos;m trying to pick up on little things along the way too, such as practicing semantic HTML. I found this really cool post while looking up the differences between &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;article&amp;gt;&lt;/code&gt; elements called &lt;a href=&quot;https://dev.to/zac_heisey/7-alternatives-to-the-div-tag-in-html-62i&quot;&gt;7 Alternatives to the div Tag in HTML&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I hope this post inspires you to do whatever it takes to accomplish your goals. Figure out what tactics work for you, and &lt;a href=&quot;https://ashleemboyer.com/blog/just-do-the-thing-10el&quot;&gt;just get it done&lt;/a&gt;.&lt;/p&gt;
</content:encoded><category>learning</category></item><item><title>Aim to Never Stop Learning</title><link>https://ashleemboyer.com/blog/aim-to-never-stop-learning</link><guid isPermaLink="true">https://ashleemboyer.com/blog/aim-to-never-stop-learning</guid><description>It&apos;s OK to not know everything. It&apos;s OK to be wrong.</description><pubDate>Sat, 18 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;You will never know everything. There&apos;s too much information out there and not enough time to learn it all. What this means is, sometimes we&apos;re wrong because we just don&apos;t know all of the answers. And that&apos;s fine—it&apos;s 100% OK to be wrong!&lt;/p&gt;
&lt;p&gt;If you&apos;re wrong about something, it&apos;s not a big deal. It&apos;s an opportunity to do better, to learn something new, and grow. Your teammate &lt;em&gt;will&lt;/em&gt; know more about a topic than you, just like you know more about a topic than them. That&apos;s the great thing about working on a team! You can teach each other about these topics, and your skills will probably compliment one another to the benefit of everyone.&lt;/p&gt;
&lt;p&gt;My brain is pretty tired today and words are hard, so I&apos;d like to open the comments for people to share their favorite resources for learning new things. Where do you like to learn about productivity? What books do you recommend on philosophy or ethics? Who&apos;s your favorite author of UI/UX books? Whatever you got, I want to hear it. :)&lt;/p&gt;
</content:encoded><category>learning</category></item><item><title>Don&apos;t be Afraid to Ask Questions</title><link>https://ashleemboyer.com/blog/don-t-be-afraid-to-ask-questions</link><guid isPermaLink="true">https://ashleemboyer.com/blog/don-t-be-afraid-to-ask-questions</guid><description>I&apos;m an engineer and a natural-born master of asking questions. I used to be afraid of it, but there&apos;s really no reason to be.</description><pubDate>Fri, 17 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;There&apos;s no such thing as a stupid question. There may be stupid timing for it, such as a student asking when an exam is 5 minutes after the teacher already announced that information. But that was still a good question, they just asked it at a horrible time.&lt;/p&gt;
&lt;p&gt;In general, there are not too many restrictions on asking questions. It&apos;s a lot about timing them. For example, you don&apos;t want to ask too many specific questions about implementation details if you&apos;re still trying to find out what a client needs in a potential product. Their needs are &lt;em&gt;probably&lt;/em&gt; going to change every time you talk to them at this point and planning the implementation too rigorously could be a waste of time.&lt;/p&gt;
&lt;p&gt;So, what are the benefits of breaking out of your fear of asking questions and just doing it?&lt;/p&gt;
&lt;h2&gt;Learning, learning, learning&lt;/h2&gt;
&lt;p&gt;To an extent, who cares how they feel about you asking a bunch of questions? Your career is yours and only you can be responsible for taking it to the next level.&lt;/p&gt;
&lt;h2&gt;Making new friends&lt;/h2&gt;
&lt;p&gt;I can&apos;t tell you how many people I&apos;ve met through the DEV Community site and Twitter over this past month. It&apos;s really exciting how much support you can find in this industry if you put yourself out there.&lt;/p&gt;
&lt;h2&gt;Building your confidence&lt;/h2&gt;
&lt;p&gt;Sometimes the scariest part about asking questions is knowing &lt;em&gt;how&lt;/em&gt; to ask them. You can make 10 attempts at Googling something and Google isn&apos;t going to judge you for doing it. Re-wording a question to a human a few times to make sure you&apos;re getting the right information? That can potentially be frustrating for both of you. But good news! The more you ask questions, the better you get at wording them.&lt;/p&gt;
&lt;p&gt;Have any insight on questions that you&apos;d like to share? Leave a comment or &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;send me a tweet&lt;/a&gt;! :)&lt;/p&gt;
</content:encoded><category>learning</category><category>questions</category></item><item><title>Throw All of your Email Subscriptions in the Garbage</title><link>https://ashleemboyer.com/blog/throw-all-of-your-email-subscriptions-in-the-garbage</link><guid isPermaLink="true">https://ashleemboyer.com/blog/throw-all-of-your-email-subscriptions-in-the-garbage</guid><description>Who cares about inbox zero? Just get rid of all the crap you don&apos;t even read.</description><pubDate>Thu, 16 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I do. not. care. about inbox zero. :) Too often, it becomes less about efficiently managing your inbox and more about rushing to have no emails for any reason. I prefer to make sure I&apos;m adequately handling messages instead of emptying my box. But still, my number one tip for a clean inbox?&lt;/p&gt;
&lt;h3&gt;Get rid of all of your subscriptions.&lt;/h3&gt;
&lt;p&gt;Yes. I mean &lt;strong&gt;&lt;em&gt;all&lt;/em&gt;&lt;/strong&gt; of them. Start over. You know for a fact you have too many. Just take an hour and do it. It&apos;s a huge step, but what you&apos;ll gain is learning which subscriptions you actually love and want to hold on to. If it&apos;s worth the work to go find it again, it&apos;s worth the space it takes up in your inbox.&lt;/p&gt;
&lt;p&gt;For fun, here are a few things I love that I currently subscribe to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://www.theminimalists.com/start/&quot;&gt;The Minimalists&lt;/a&gt; - Life and minimalism&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://discoverpraxis.com/newsletter/&quot;&gt;Praxis Newsletter&lt;/a&gt; - Professional advice&lt;/li&gt;
&lt;li&gt;My local knit shop - One of my favorite places to go for fun&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This post is short, but seriously, it&apos;s that simple. Unsubscribe from everything. Throw it all in the garbage. Once you&apos;ve figured out what you&apos;re re-subscribing to, share them with us in the comments or &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;send me a tweet&lt;/a&gt;. :)&lt;/p&gt;
</content:encoded><category>organization</category></item><item><title>Don&apos;t be Afraid to Admit Your Weaknesses</title><link>https://ashleemboyer.com/blog/don-t-be-afraid-to-admit-your-weaknesses</link><guid isPermaLink="true">https://ashleemboyer.com/blog/don-t-be-afraid-to-admit-your-weaknesses</guid><description>Listing out your flaws can feel awkward and uncomfortable, but guess what? We all have them, so let&apos;s bond with that discussion.</description><pubDate>Wed, 15 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Do you know what it means when you can admit your weaknesses? It means you&apos;ve probably recognized the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You are less afraid to be wrong&lt;/li&gt;
&lt;li&gt;You aren&apos;t perfect&lt;/li&gt;
&lt;li&gt;You have things to work on&lt;/li&gt;
&lt;li&gt;You are working on the things&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Other people figure these things &lt;em&gt;about&lt;/em&gt; you when you openly admit your weaknesses. On Mother&apos;s Day, I was having dinner with my mom and grandma and we were talking about air fryers and cooking. &lt;em&gt;My grandma is an&lt;/em&gt; &lt;strong&gt;&lt;em&gt;exceptional&lt;/em&gt;&lt;/strong&gt; &lt;em&gt;cook so it&apos;s a common topic of discussion.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I haven&apos;t cooked in nearly 3 months because of my long commute, so they asked what I&apos;ve been eating. I said something along the lines of, &quot;Mostly microwave dinners, but I have a problem with impulsively buying fast-food during my drives.&quot; To that, my mom said, &quot;You&apos;re openly admitting that???&quot; And then my grandma swooped in with, &quot;No, it&apos;s good she can admit it!&quot;&lt;/p&gt;
&lt;p&gt;I get that they are my family and the dynamic is different than that of one in the professional workplace, so I&apos;ll give you another example if you&apos;re still feeling skeptical.&lt;/p&gt;
&lt;p&gt;A few years ago, I attended a weekend-long leadership workshop at my school. At one of the follow-up dinners, we went around the room and named something we wanted to spend 30 days improving. I named &quot;road rage&quot; because that&apos;s something I can be pretty bad about. The speaker was very surprised and we all laughed about it because it was relieving to hear such an honest answer.&lt;/p&gt;
&lt;p&gt;People appreciate honesty and vulnerability. Good people will thank you for being open. It&apos;s how we relate.&lt;/p&gt;
</content:encoded><category>vulnerability</category><category>self-care</category></item><item><title>Just do The Thing</title><link>https://ashleemboyer.com/blog/just-do-the-thing</link><guid isPermaLink="true">https://ashleemboyer.com/blog/just-do-the-thing</guid><description>We all procrastinate from time to time at varying degrees. Sometimes you just have to go do whatever it is that you&apos;re avoiding.</description><pubDate>Tue, 14 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I don&apos;t know where &lt;a href=&quot;https://twitter.com/JFM&quot;&gt;Joshua Fields Millburn&lt;/a&gt; was inspired by his advice, but &lt;a href=&quot;https://twitter.com/SPressfield&quot;&gt;Steven Pressfield&lt;/a&gt;, Nike, and he all have roughly the same thing to say: &quot;Just do it.&quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;JFM said in &lt;em&gt;&lt;a href=&quot;https://www.theminimalists.com/how-to-improve-writing/&quot;&gt;&quot;How to Improve Your Writing: 3 Tips&quot;&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I didn’t become a writer until I developed a writing habit. People don’t learn how to write via osmosis; it takes work. So forget word count or page count, and don’t worry about creating the perfect writing space—focus instead on &lt;strong&gt;sitting in the chair&lt;/strong&gt; [emphasis mine] distraction-free, writing for at least an hour a day. Do this for a month and you will improve more than you thought possible.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In &lt;em&gt;&lt;a href=&quot;https://www.amazon.com/War-Art-Steven-Pressfield-ebook/dp/B007A4SDCG/ref=tmm_kin_swatch_0?_encoding=UTF8&amp;amp;qid=&amp;amp;sr=&quot;&gt;The War of Art&lt;/a&gt;&lt;/em&gt;, Pressfield talks about Resistance numerous factors surrounding it. I haven&apos;t gotten too deep in it yet, but Resistance is what we have to fight every time we want to do something meaningful. You could be avoiding doing The Thing out of fear, worry, sheer boredom, whatever. At the very beginning of his book, he says&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;There&apos;s a secret that real writers know about that wannabe writers don&apos;t, and the secret is this: It&apos;s not the writing that&apos;s hard. What&apos;s hard is sitting down to write.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;What keeps us from sitting down is Resistance.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is the 15th day of my 30-day blogging challenge, so I&apos;m over halfway there. I have to agree that the hardest part about it all was sitting down to write and get started. There&apos;s always something to be distracted by: watching &lt;a href=&quot;https://twitter.com/nbcbrooklyn99&quot;&gt;Brooklyn Nine-Nine&lt;/a&gt; on Hulu, playing with my dog, scrolling through the Twitter, ...&lt;/p&gt;
&lt;p&gt;But all of those things will be there &lt;em&gt;after&lt;/em&gt; The Thing is done. You might also find that The Thing wasn&apos;t so bad or it didn&apos;t take as long as you thought it would. Just sit down and do it. You&apos;ve got this!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</content:encoded><category>writing</category><category>blogging</category></item><item><title>GPA Isn&apos;t Everything</title><link>https://ashleemboyer.com/blog/gpa-isn-t-everything</link><guid isPermaLink="true">https://ashleemboyer.com/blog/gpa-isn-t-everything</guid><description>Employers put far too much weight on GPA as an indicator of work ethic, intelligence, and capability when really, it has almost nothing to do with it.</description><pubDate>Mon, 13 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I&apos;m finishing up my degree at one of the top undergraduate engineering schools in the country. Applicants are typically at the very top of their high school class and have great SAT and ACT scores. I did pretty well during the last few years of high school and worked extremely hard to get into the school.&lt;/p&gt;
&lt;p&gt;My first quarter, I took Calculus II (out of III), Rhetoric and Composition, General Chemistry I (I started out as a Chemical Engineering major &lt;em&gt;gasp&lt;/em&gt;), and College and Life Skills. Calc II was a nightmare for me. I &quot;skipped&quot; Calc I because of my AP Calc score, and there seemed to be this insane assumption that I was a calculus expert at this point. I got lost so fast.&lt;/p&gt;
&lt;p&gt;As for Rhetoric and Composition, I did fairly well for most of the class. The very last paper was supposed to be Wikipedia-style, but I honestly had no idea how to write a research paper. Small, country high schools don&apos;t really prepare you to write a college-level paper. 😳 Even after the professor questioned me about my ability to write the paper, he still reported me for plagiarism and I got a 0 on the paper.&lt;/p&gt;
&lt;p&gt;Know what the next part of the story is? I failed both of those classes and got a D letter grade, meaning I had to retake them at some point. This was absolutely devasting at the time. My GPA was a 2.0 after only 1 quarter at this school where I was expected to perform much, MUCH higher. I questioned whether or not I should be there because who knew if I could even make the grades?&lt;/p&gt;
&lt;p&gt;That was the fall of 2013. Since then, I&apos;ve had internships every single summer and have also been working full-time since last summer while finishing up my last few classes. This isn&apos;t typical for graduates from my school. Most people finish &quot;on time&quot; (4 years), and some even do it in &lt;strong&gt;&lt;em&gt;three years&lt;/em&gt;&lt;/strong&gt; or with &lt;strong&gt;&lt;em&gt;two majors&lt;/em&gt;&lt;/strong&gt;. Bravo to y&apos;all, there&apos;s no way I could have done that.&lt;/p&gt;
&lt;p&gt;So, how did I manage to still lock-in great opportunities? First of all, I feel very fortunate for the number of companies that come to the fall career fair on campus—somewhere around 300 of them.&lt;/p&gt;
&lt;p&gt;Second and most importantly, in my opinion, is that I&apos;ve always been honest about my situation. For whatever reason, my personal life outside of classes was regularly a living hell. I&apos;m mostly grateful for those times, because they led me to get help with my mental health and I would not be where I am today without the things I learned back then.&lt;/p&gt;
&lt;p&gt;Anyways, I always made sure to be transparent with people about my life. I wouldn&apos;t go into every single detail, but just enough to let them know that I came from a different background than most of the other students and had to fight harder for what I wanted.&lt;/p&gt;
&lt;p&gt;I also always emphasized the fact that I had a plan for correcting my path. When I failed a class (it happened quite a few times), I made sure to tell them exactly when I was taking it over again. This had a huge impact on how I got my third internship. The HR gentleman flat-out said, &quot;Good, you have a plan for fixing this and you&apos;ve already begun.&quot;&lt;/p&gt;
&lt;p&gt;My GPA never even reached a 3.0. I tried &lt;em&gt;so hard&lt;/em&gt; to get it there. But things just kept happening. Life got in the way over and over again, but you know what? I&apos;m almost there, and I&apos;m doing just fine. GPA is not the only factor to the kind of person someone is, and if a company filters you out based on what that number is? Forget them. There&apos;s a 90% chance they aren&apos;t the kind of company you want to work for anyways.&lt;/p&gt;
&lt;p&gt;You have a &lt;strong&gt;story&lt;/strong&gt;. It is &lt;strong&gt;important&lt;/strong&gt;. Anyone who isn&apos;t willing to listen to it before shrugging you off isn&apos;t &lt;strong&gt;worth your time&lt;/strong&gt;.&lt;/p&gt;
</content:encoded><category>job-search</category></item><item><title>Build a Multi-Page Gatsby Site from JSON</title><link>https://ashleemboyer.com/blog/build-a-multi-page-gatsby-site-from-json</link><guid isPermaLink="true">https://ashleemboyer.com/blog/build-a-multi-page-gatsby-site-from-json</guid><description>Looking for the next thing to try after generating your site with markdown? Try it out with a static JSON file.</description><pubDate>Sun, 12 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I decided to take this approach when I made &lt;a href=&quot;https://blackbirthdays.com&quot;&gt;https://blackbirthdays.com&lt;/a&gt;. Originally, for the month of February, it showed a different person each day for their birthday. So, since there was very static data for the site, I decided to just feed the information into it with a JSON file. I wanted to practice something with Gatsby, so I got to practice &lt;a href=&quot;https://www.gatsbyjs.org/tutorial/part-seven/&quot;&gt;programmatically creating pages from data&lt;/a&gt; and &lt;a href=&quot;https://www.gatsbyjs.org/tutorial/part-four/&quot;&gt;using GraphQL for getting data&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I couldn&apos;t remember exactly every step for doing this, so &lt;a href=&quot;https://ashleemboyer.github.io/colors/&quot;&gt;I made a new site&lt;/a&gt; for this post specifically. No worries, I plan on making it way better soon. I hope it can become a helpful tool for looking at text color/background color contrasts eventually. Anyways, here we go!&lt;/p&gt;
&lt;h3&gt;1. Create your project&lt;/h3&gt;
&lt;p&gt;The easiest step. :) Head over to the &lt;a href=&quot;https://www.gatsbyjs.org/docs/quick-start/&quot;&gt;Gatsby tutorials&lt;/a&gt; if you have any issues or need help setting things up.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;2. Create the JSON file&lt;/h3&gt;
&lt;p&gt;Put a new JSON file in the root directory of your project. I had a little bit of issue with the data structure itself, but I think it just takes practice. It&apos;s easier to read data from GraphQL with arrays, so try to put your data into that sort of format.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;3. Create a template file&lt;/h3&gt;
&lt;p&gt;This template file defines how all of your dynamically created pages will be displayed. Cool, huh??! You can read a bit more about this &lt;a href=&quot;https://www.gatsbyjs.org/blog/2019-05-02-how-to-build-a-blog-with-wordpress-and-gatsby-part-3/#creating-a-page-template&quot;&gt;on Gatsby&apos;s site&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;4. Make the &lt;code&gt;gatsby-node.js&lt;/code&gt; file create all the pages&lt;/h3&gt;
&lt;p&gt;This file should already be in your root directory from the &lt;code&gt;gatsby new&lt;/code&gt; command from step 1. This is where you implement the &lt;code&gt;createPages&lt;/code&gt; API function and tell the site about the template file you created in the previous step. On the second line of the screenshot below, I specify the JSON file from step 2.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;5. Restart the development server and preview your site&lt;/h3&gt;
&lt;p&gt;Everything should be good to go at this point and you can start styling. Have at it! Share your results if you give this a try, or let me know if something seems off in any of the steps. Enjoy! :)&lt;/p&gt;
</content:encoded><category>gatsby</category><category>web-development</category></item><item><title>How to Accept Rejection in Your Professional Life</title><link>https://ashleemboyer.com/blog/how-to-accept-rejection-in-your-professional-life</link><guid isPermaLink="true">https://ashleemboyer.com/blog/how-to-accept-rejection-in-your-professional-life</guid><description>Rejection can be really painful, but there are a few things you can try to move forward in a healthy and positive direction.</description><pubDate>Sat, 11 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Rejection sucks, and for some reason, rejection from acquaintances and strangers &lt;em&gt;especially&lt;/em&gt; sucks. Maybe you submitted a proposal to give a talk at an event and weren&apos;t selected for it. Maybe you applied for a job and they didn&apos;t give you an interview. Maybe you asked for a promotion or salary raise and couldn&apos;t get what you needed. How do we move on from rejection like this?&lt;/p&gt;
&lt;p&gt;First of all, don&apos;t immediately take it personally. You&apos;re definitely awesome, but let&apos;s take a breather and analyze the situation more closely. There are more than likely some good reasons for the rejection from the other person&apos;s perspective. Your talk topic may not have aligned closely enough for the event&apos;s purpose. Another applicant may have been more qualified for the job. Your company might not have an open position to promote you to or enough money to raise your salary.&lt;/p&gt;
&lt;p&gt;Before you ask any follow-up questions, make sure you genuinely &lt;strong&gt;thank&lt;/strong&gt; the person who rejected you for their time. Doing so will increase your chances of them keeping you mind for future opportunities.&lt;/p&gt;
&lt;p&gt;Once you&apos;ve thanked them, then consider some potential questions for feedback. You want to make sure they don&apos;t sound bitter, so if you want to double-check your wording and tone, see if you can find someone to review them before you move forward. You can ask what would have made your talk proposition more desirable, what skills or qualifications you were missing from your application, or what you can do at your job to be more seriously considered for a promotion/raise next time.&lt;/p&gt;
&lt;p&gt;This is where you can take the answers to these questions and run with them. Hopefully, you receive positive, helpful feedback. Build on it and make yourself an even stronger candidate. If the feedback wasn&apos;t helpful or you get shrugged off, however, it might be time to look deeper into the situation. In this case, find an outside perspective to talk to about it. They may see something you don&apos;t.&lt;/p&gt;
&lt;p&gt;Regardless, keep in mind that you are not alone in being rejected. It happens to everyone, every day. Don&apos;t be afraid to put yourself out there. You might come across the opportunity of a lifetime.&lt;/p&gt;
</content:encoded><category>job-search</category></item><item><title>Let People Have Emotions</title><link>https://ashleemboyer.com/blog/let-people-have-emotions</link><guid isPermaLink="true">https://ashleemboyer.com/blog/let-people-have-emotions</guid><description>I think it&apos;s time to stop making people hide in bathrooms in fear of looking unstable for healthy and normal behaviors.</description><pubDate>Fri, 10 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Work (hopefully) doesn&apos;t consume our entire lives. Every single one of us comes from a different background and we&apos;re also all in very different stages. Despite this obvious fact, there&apos;s still a ridiculous stigma against people expressing emotions at work. We aren&apos;t robots, so what&apos;s the deal?&lt;/p&gt;
&lt;p&gt;Let&apos;s first think about what people consider &quot;emotional&quot; behavior based on gender biases—I think it&apos;s important. If someone says a woman is being emotional at work, they might think she&apos;s angry or aggressive when disagreeing with a statement or correcting someone if they interrupt her. These same people think this is normal behavior for men and don&apos;t call them emotional for it. Come to think of it, do men ever degradingly get called emotional for any of their behavior at work? I&apos;ve never seen it in my own personal experiences.&lt;/p&gt;
&lt;p&gt;But what if we all could show some emotions at work without it being seen as a bad thing? Our jobs are frustrating. Software is frustrating. Clients are frustrating. &lt;em&gt;So what&lt;/em&gt; if someone gets mad at their desk for 30 seconds because the bug they&apos;ve been working on for a few days or a week is still not fixed? As long as they aren&apos;t being disruptive to their teammates, I don&apos;t see a problem.&lt;/p&gt;
&lt;p&gt;If someone is going through something in their personal life, such as losing a loved one, let them have some space when for a while. They&apos;re probably going to be really quiet for a few days. They might cry at their desk or hide in the bathroom. If you see them do either, just be supportive. It&apos;s not hard and it doesn&apos;t have to be awkward. Also, keep it to yourself if they confide in you. It&apos;s not your place to chit-chat about someone else&apos;s situation.&lt;/p&gt;
&lt;p&gt;So, let&apos;s normalize people being human at work. I get that it&apos;s a society-wide issue, but I can&apos;t think of a better place to start fixing it than at your work, with people you interact with on a daily basis.&lt;/p&gt;
</content:encoded><category>self-care</category><category>mental-health</category></item><item><title>What it Means to Learn Out Loud</title><link>https://ashleemboyer.com/blog/what-it-means-to-learn-out-loud</link><guid isPermaLink="true">https://ashleemboyer.com/blog/what-it-means-to-learn-out-loud</guid><description>You don&apos;t have to know all of the answers right now.</description><pubDate>Thu, 09 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I first heard the phrase &quot;learn out loud&quot; from the &lt;a href=&quot;https://discoverpraxis.com/office-hours/&quot;&gt;Office Hours podcast&lt;/a&gt;. In &lt;a href=&quot;https://discoverpraxis.com/3-reasons-learn-loud/&quot;&gt;this article&lt;/a&gt;, podcast co-host T.K. Coleman gives us three reasons to do so. I&apos;d like to focus on the first reason he gives and show you how to apply it to the job search.&lt;/p&gt;
&lt;p&gt;Say you&apos;re in an interview and they ask you a difficult question you&apos;re not sure of the answer to. The pressure to immediately respond and sound smart is on and it builds as the awkward silence grows between you and the interviewer. You get more and more uncomfortable and your mind goes blank. No answer is coming to mind.&lt;/p&gt;
&lt;p&gt;It doesn&apos;t have to turn out like that. You can, and I believe most would interviewers appreciate it, think and learn out loud instead. T.K. made two key points relevant to this.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Knowing what a person knows is very different from knowing what it’s like to work with that person when they don’t know. The latter is far more important to the people who have to work with you. And since everyone has things they need to learn, it’s highly valuable when you can signal your ability to do that very thing with patience and persistence.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;When people can watch you learn, they’ll still get to see how effective you can be when you’re in the know. But more importantly, they’ll get to see how consistent and composed you can be when you have no clue.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Some days, you&apos;re going to be visiting Google and Stack Overflow dozens of times. Others, you may only need to go there once or twice. Both are fine. No sensible person is going to expect you to have every single thing about your job memorized. There&apos;s just &lt;em&gt;too much&lt;/em&gt; information out there so we have to keep our minds tidy with only the most important bits.&lt;/p&gt;
&lt;p&gt;Since learning is the expectation of any job, what &lt;em&gt;should&lt;/em&gt; be important to interviewers is how someone learns, not whether or not they have every Big O notation memorized. The best way for you to showcase your learning skills is by doing so out loud. When you get a difficult question during your whiteboard pseudocode test, step through your thought process. If you get stuck, say so! Then proceed by explaining what you would do next.&lt;/p&gt;
&lt;p&gt;What will your search terms be? Have you seen this kind of problem before? What questions would you ask a fellow teammate? Answer these questions well by &lt;em&gt;doing&lt;/em&gt;, and your chances of impressing the interviewer are huge.&lt;/p&gt;
</content:encoded><category>learning</category><category>job-search</category></item><item><title>The Top Five Books on my TBR</title><link>https://ashleemboyer.com/blog/the-top-five-books-on-my-tbr</link><guid isPermaLink="true">https://ashleemboyer.com/blog/the-top-five-books-on-my-tbr</guid><description>Let&apos;s be honest, my TBR is endless. While they do switch around periodically, I do have a few top books that I plan to read first.</description><pubDate>Wed, 08 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I hate reading more than one book at a time, but here I am, reading three. I think? I can&apos;t even be sure. This is why I should practice self-control and only do one at a time.&lt;/p&gt;
&lt;p&gt;Since discovering how much I love studying user experience and accessibility, I&apos;ve come across &lt;strong&gt;several&lt;/strong&gt; books that had to be added to my list of books to read. Some are about UX and design, others are about creation and productivity.&lt;/p&gt;
&lt;p&gt;For each, I&apos;ve linked the Amazon listing and also pasted the synopsis. I love, love, LOVE reading, so if you have any recommendations or lists of your own, &lt;em&gt;please&lt;/em&gt; share them! My already-full bookshelf won&apos;t appreciate it, but I sure will. 😊&lt;/p&gt;
&lt;h1&gt;1. Mike Monteiro&apos;s &lt;a href=&quot;https://www.amazon.com/Ruined-Design-Designers-Destroyed-World/dp/1090532083/ref=sr_1_1?keywords=ruined+by+design&amp;amp;qid=1557279824&amp;amp;s=gateway&amp;amp;sr=8-1&quot;&gt;&lt;em&gt;Ruined by Design&lt;/em&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;The world is working exactly as designed. The combustion engine which is destroying our planet’s atmosphere and rapidly making it inhospitable is working exactly as we designed it. Guns, which lead to so much death, work exactly as they’re designed to work. And every time we “improve” their design, they get better at killing. Facebook’s privacy settings, which have outed gay teens to their conservative parents, are working exactly as designed. Their “real names” initiative, which makes it easier for stalkers to re-find their victims, is working exactly as designed. Twitter’s toxicity and lack of civil discourse is working exactly as it’s designed to work. The world is working exactly as designed. And it’s not working very well. Which means we need to do a better job of designing it. Design is a craft with an amazing amount of power. The power to choose. The power to influence. As designers, we need to see ourselves as gatekeepers of what we are bringing into the world, and what we choose not to bring into the world. Design is a craft with responsibility. The responsibility to help create a better world for all. Design is also a craft with a lot of blood on its hands. Every cigarette ad is on us. Every gun is on us. Every ballot that a voter cannot understand is on us. Every time social network’s interface allows a stalker to find their victim, that’s on us. The monsters we unleash into the world will carry your name. This book will make you see that design is a political act. What we choose to design is a political act. Who we choose to work for is a political act. Who we choose to work with is a political act. And, most importantly, the people we’ve excluded from these decisions is the biggest (and stupidest) political act we’ve made as a society. If you’re a designer, this book might make you angry. It should make you angry. But it will also give you the tools you need to make better decisions. You will learn how to evaluate the potential benefits and harm of what you’re working on. You’ll learn how to present your concerns. You’ll learn the importance of building and working with diverse teams who can approach problems from multiple points-of-view. You’ll learn how to make a case using data and good storytelling. You’ll learn to say NO in a way that’ll make people listen. But mostly, this book will fill you with the confidence to do the job the way you always wanted to be able to do it. This book will help you understand your responsibilities.&lt;/p&gt;
&lt;h1&gt;2. Erika Hall&apos;s &lt;a href=&quot;https://www.amazon.com/Just-Enough-Research-Erika-Hall/dp/1937557103/ref=sr_1_fkmr0_1?crid=225WHYZ7RCHMQ&amp;amp;keywords=erika+hall+just+enough+research&amp;amp;qid=1557280061&amp;amp;s=gateway&amp;amp;sprefix=erika+hall+just+enou%2Caps%2C165&amp;amp;sr=8-1-fkmr0&quot;&gt;&lt;em&gt;Just Enough Research&lt;/em&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Design research is a hard slog that takes years to learn and time away from the real work of design, right? Wrong. Good research is about asking more and better questions, and thinking critically about the answers. It&apos;s something every member of your team can and should do, and which everyone can learn, quickly. And done well, it will save you time and money by reducing unknowns and creating a solid foundation to build the right thing, in the most effective way. In Just Enough Research, co-founder of Mule Design Erika Hall distills her experience into a brief cookbook of research methods. Learn how to discover your competitive advantages, spot your own blind spots and biases, understand and harness your findings, and why you should never, ever hold a focus group. You&apos;ll start doing good research faster than you can plan your next pitch. Erika Hall has been working in web design and development since the late 20th century. In 2001, she co-founded Mule Design Studio where she directs the research, interaction design, and strategy practices. Erika speaks and writes frequently about cross-disciplinary collaboration and the importance of natural language in user interfaces. In her spare time, she battles empty corporate jargon at Unsuck It. She also co-hosts Running from the Law, a weekly podcast on business law and endurance fitness, and can probably outrun you.&lt;/p&gt;
&lt;h1&gt;3. Steven Pressfield&apos;s &lt;a href=&quot;https://www.amazon.com/War-Art-Steven-Pressfield-ebook/dp/B007A4SDCG/ref=tmm_kin_swatch_0?_encoding=UTF8&amp;amp;qid=&amp;amp;sr=&quot;&gt;&lt;em&gt;The War of Art&lt;/em&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Think of The War of Art as tough love... for yourself. Since 2002, The War of Art has inspired people around the world to defeat &quot;Resistance&quot;; to recognize and knock down dream-blocking barriers and to silence the naysayers within us. Resistance kicks everyone&apos;s butt, and the desire to defeat it is equally as universal. The War of Art identifies the enemy that every one of us must face, outlines a battle plan to conquer this internal foe, then pinpoints just how to achieve the greatest success. Though it was written for writers, it has been embraced by business entrepreneurs, actors, dancers, painters, photographers, filmmakers, military service members and thousands of others around the world.&lt;/p&gt;
&lt;h1&gt;4. Laura Klein&apos;s &lt;a href=&quot;https://www.amazon.com/UX-Lean-Startups-Experience-Research/dp/1449334911/ref=sr_1_2?crid=1ZYI5TIDLFFFJ&amp;amp;keywords=ux+for+lean+startups&amp;amp;qid=1557280161&amp;amp;s=gateway&amp;amp;sprefix=ux+for+lean+start%2Caps%2C177&amp;amp;sr=8-2&quot;&gt;&lt;em&gt;UX for Lean Startups&lt;/em&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Great user experiences (UX) are essential for products today, but designing one can be a lengthy and expensive process. With this practical, hands-on book, you’ll learn how to do it faster and smarter using Lean UX techniques. UX expert Laura Klein shows you what it takes to gather valuable input from customers, build something they’ll truly love, and reduce the time it takes to get your product to market.&lt;/p&gt;
&lt;p&gt;No prior experience in UX or design is necessary to get started. If you’re an entrepreneur or an innovator, this book puts you right to work with proven tips and tools for researching, identifying, and designing an intuitive, easy-to-use product.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Determine whether people will buy your product before you build it&lt;/li&gt;
&lt;li&gt;Listen to your customers throughout the product’s lifecycle&lt;/li&gt;
&lt;li&gt;Understand why you should design a test before you design a product&lt;/li&gt;
&lt;li&gt;Get nine tools that are critical to designing your product&lt;/li&gt;
&lt;li&gt;Discern the difference between necessary features and nice-to-haves&lt;/li&gt;
&lt;li&gt;Learn how a Minimum Viable Product affects your UX decisions&lt;/li&gt;
&lt;li&gt;Use A/B testing in conjunction with good UX practices&lt;/li&gt;
&lt;li&gt;Speed up your product development process without sacrificing quality&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;5. Jeremy Baines&apos;s &amp;amp; Clive Howard&apos;s &lt;a href=&quot;https://www.amazon.com/UX-Lifecycle-business-implementing-experiences/dp/1522768300&quot;&gt;&lt;em&gt;UX Lifecycle&lt;/em&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;This book is for organisations starting their UX journey. It will help to address the basics such as defining what UX is; the importance of research; how UX is a process and not a job title; and where business value comes from improving efficiency, effectiveness, and satisfaction. There is practical guidance for building a business case and identifying the key investments required in people and process that will bring about the change needed to deliver success. Implementing UX is brought to life through the UX Lifecycle, a methodology framework that was born out of real life successes. At the heart of the UX process is the most important stakeholder - the user! Clive and Jeremy have helped businesses from start-ups to enterprises derive value from UX. While running their own UX consultancy they created and applied the UX Lifecycle. Since then they have both continued to grow their knowledge through implementing UX solutions and learning from others. This book will answer the questions that they have been asked time and again by businesses seeking to embrace and leverage UX.&lt;/p&gt;
</content:encoded><category>reading</category><category>books</category></item><item><title>The Perfect First Project for Exploring Any JS Framework</title><link>https://ashleemboyer.com/blog/the-perfect-first-project-for-exploring-any-js-framework</link><guid isPermaLink="true">https://ashleemboyer.com/blog/the-perfect-first-project-for-exploring-any-js-framework</guid><description>Do you ever feel stumped on what project to create in a new framework after you finish your first tutorial? This one is simple and also a productive use of your time.</description><pubDate>Tue, 07 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;The worst part of finishing a tutorial is not knowing what to do next. You &lt;em&gt;could&lt;/em&gt; go look up some app ideas online, but aren&apos;t you tired of making to-do lists and calculators you probably won&apos;t use? It probably feels like there&apos;s nothing left to make.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What about a resume? I spent today coding mine up using Gatsby (I really needed to use the typography and icon plugins), then I did a swift little &lt;code&gt;ctrl-p&lt;/code&gt; &amp;gt; &quot;Save to PDF&quot;. It was much easier for me to do it this way than to make something in LibreOffice Draw. The program always seems to distort colors and such anyways.&lt;/p&gt;
&lt;p&gt;So... what makes a resume the &lt;em&gt;perfect&lt;/em&gt; project?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It&apos;s only one page—that&apos;s not too much work.&lt;/li&gt;
&lt;li&gt;You can practice laying things out with CSS if you do what I did and use two columns.&lt;/li&gt;
&lt;li&gt;There&apos;s all types of elements you can practice with: headers, paragraphs, links, and lists.&lt;/li&gt;
&lt;li&gt;Again, if you use two columns, you can practice placing your elements in the correct order for accessibility.&lt;/li&gt;
&lt;li&gt;You can use get some extra practice with tools like &lt;a href=&quot;https://developers.google.com/web/tools/lighthouse/&quot;&gt;Lighthouse&lt;/a&gt; that test accessibility, performance, and best practices.&lt;/li&gt;
&lt;li&gt;After it&apos;s done, you can add it to your personal/portfolio site(s) and have something great-looking to brag about. 😉&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Still feeling a little uninspired about design? Take a look at these sites for some resume examples:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://piktochart.com/blog/well-designed-resume-examples-inspiration/&quot;&gt;Piktochart&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://dribbble.com/search?q=resume&quot;&gt;Dribbble&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.awwwards.com/inspiration/search?text=resume&quot;&gt;Awwwards&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have any other ideas, or would like to share your work, please do leave it in the comments below or &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;send me a tweet&lt;/a&gt;! I love seeing what other people create. 😊&lt;/p&gt;
</content:encoded><category>web-development</category><category>javascript</category></item><item><title>Things You Shouldn&apos;t Say to a Disabled Person About Why Your App Isn&apos;t Accessible</title><link>https://ashleemboyer.com/blog/things-you-shouldn-t-say-to-a-disabled-person-about-why-your-app-isn-t-accessible</link><guid isPermaLink="true">https://ashleemboyer.com/blog/things-you-shouldn-t-say-to-a-disabled-person-about-why-your-app-isn-t-accessible</guid><description>I&apos;m a disabled woman and have a few thoughts about how able-bodied people speak to people like me about accessibility.</description><pubDate>Mon, 06 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Not that I feel the need to explain myself, but I want to share that I&apos;m hard-of-hearing. It&apos;s genetic and just about everyone on my family&apos;s maternal side suffers significant hearing loss. I&apos;ve had hearing aids since I was 10 years old, and as I&apos;ve grown up, it becomes more and more clear to me how little people understand about the importance of accessibility.&lt;/p&gt;
&lt;p&gt;This post is a bit of a rant since all of the below have been said to me personally (all in one conversation, actually 🤦🏼‍♀️). These are all the things I wish I could&apos;ve said at the time, but you don&apos;t always get to speak out when you&apos;re like me. It&apos;s exhausting, and I&apos;m writing this post as an ask to &lt;strong&gt;please be more aware of the things you say and how you say them&lt;/strong&gt;. You might mean well, but your words can still be incredibly hurtful.&lt;/p&gt;
&lt;h2&gt;&quot;It&apos;s low priority.&quot;&lt;/h2&gt;
&lt;p&gt;That&apos;s pretty clear at this point, but why is that? What&apos;s your excuse? Is it too hard? Do you not want to spend the time learning about it? Are there not enough of us that exist for you to be concerned about our needs?&lt;/p&gt;
&lt;h2&gt;&quot;We need to beat competitors to market.&quot;&lt;/h2&gt;
&lt;p&gt;Based on my experience in this industry, I wonder if &lt;em&gt;they&lt;/em&gt; are even concerned about accessibility. Consumers value companies that value them. You should be trying to stand out beyond having a large number of software features.&lt;/p&gt;
&lt;h2&gt;&quot;I get it, but...&quot;&lt;/h2&gt;
&lt;p&gt;No, you obviously don&apos;t. If you did, you wouldn&apos;t be saying any of these things to my face. You either think you&apos;re super woke &lt;em&gt;or&lt;/em&gt; you completely forgot that you&apos;re talking to a disabled person. I&apos;m kind of afraid of how you talk about disabled people when you&apos;re away from us.&lt;/p&gt;
&lt;h2&gt;&quot;There&apos;s no point if no one is using it.&quot;&lt;/h2&gt;
&lt;p&gt;So, when people start using it, how do you plan on figuring out how many of them need a more accessible tool if we can&apos;t actually use it to tell you? We don&apos;t have the time for you to play catch up. We&apos;ll just go somewhere else.&lt;/p&gt;
</content:encoded><category>a11y</category><category>about-me</category><category>disability</category></item><item><title>I Wrote Zero Lines of Code Today</title><link>https://ashleemboyer.com/blog/i-wrote-zero-lines-of-code-today</link><guid isPermaLink="true">https://ashleemboyer.com/blog/i-wrote-zero-lines-of-code-today</guid><description>There are a ton of projects on my to-do list, but it&apos;s just been one of those days.</description><pubDate>Sun, 05 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Sometimes, you need a day. When you have a job in tech, the amount of available knowledge to us can both incredible and staggering. We fear to look unintelligent to our peers and colleagues, so feel obligated to learn everything we can. The desire to learn is not the issue here, though. What&apos;s important to remember, is that it&apos;s impossible to learn &lt;em&gt;everything&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;You can spend hours on end reading up on the newest frameworks and testing them out, but you know what? That framework will still be there tomorrow. You don&apos;t have to spend every waking or free hour writing code. I&apos;m &lt;em&gt;not&lt;/em&gt; saying you should procrastinate learning or &lt;a href=&quot;https://www.amazon.com/gp/product/B007A4SDCG/ref=ppx_yo_dt_b_d_asin_title_o00?ie=UTF8&amp;amp;psc=1&quot;&gt;give in to Resistance&lt;/a&gt;. All I&apos;m saying is, really listen to your body. If you&apos;re falling asleep while sitting at your desk or on the couch, it&apos;s probably time to take a nap or go to bed. If it&apos;s taking you 3 or 4 times as long to complete a task because you&apos;re feeling anxious, it&apos;s probably time to step away.&lt;/p&gt;
&lt;p&gt;Don&apos;t be afraid to put some things down for a minute. Your best work is done when you&apos;re feeling your best. But if you can&apos;t put the things down right now, make sure you are &lt;a href=&quot;https://ashleemboyer.com/don-t-forget-to-take-breaks&quot;&gt;taking breaks&lt;/a&gt;. Please don&apos;t put your own health on the line for this. One day will not put you behind. Care for yourself. You deserve it.&lt;/p&gt;
</content:encoded><category>self-care</category><category>mental-health</category></item><item><title>Don&apos;t Forget to Take Breaks</title><link>https://ashleemboyer.com/blog/don-t-forget-to-take-breaks</link><guid isPermaLink="true">https://ashleemboyer.com/blog/don-t-forget-to-take-breaks</guid><description>You and your health are important. If you want to do your job effectively, make sure you&apos;re taking breaks.</description><pubDate>Sat, 04 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Do you want to know what I most often forget to do when I&apos;m working really hard? &lt;em&gt;I forget to eat.&lt;/em&gt; That&apos;s a funny thought at first. Like, how do you forget something so vital to your existence? (I have zero ideas, so please tell me if you know the answer. My stomach will appreciate it.)&lt;/p&gt;
&lt;p&gt;My point is, I get it. It&apos;s hard to take breaks and for various reasons. We often feel a ton of pressure to get all of our work done as quickly as possible. Guess what? It&apos;s never done. Ever. If you work in a food service business, there are always people wanting food. If you work on a support call line, there are always people needing help. If you write software for a living, there are always people asking for more features or telling you how you need to do better.&lt;/p&gt;
&lt;p&gt;What do these examples have in common? They&apos;re focused on other people. Most of us are happy giving our time and effort to others and we don&apos;t want to let them down. If you&apos;re like me, you try your hardest to keep everyone happy, and might even put others&apos; happiness and well-being before your own.&lt;/p&gt;
&lt;p&gt;Let&apos;s do less of that. Take care of yourself too. It&apos;s not one bit selfish to take the time you need to do whatever it is that&apos;ll help you refresh (as long as you aren&apos;t hurting anyone or yourself!). You&apos;ll be in much better shape to do you your job effectively.&lt;/p&gt;
&lt;p&gt;Here are a few of my own suggestions you might want to try when you need a break:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Take a 5-minute walk outside or around the office&lt;/li&gt;
&lt;li&gt;Stand up and do a few stretches by your desk&lt;/li&gt;
&lt;li&gt;Have a snack (or the meal you forgot about 😅)&lt;/li&gt;
&lt;li&gt;Spend a few minutes just focusing on your breathing&lt;/li&gt;
&lt;li&gt;Drink a glass of water or a cup of tea&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have any of your own suggestions you&apos;d like to share, please do leave them in the comments or &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;send me a tweet&lt;/a&gt;.&lt;/p&gt;
</content:encoded><category>self-care</category><category>mental-health</category></item><item><title>Why I&apos;m Converting my Blog and Portfolio to Gatsby</title><link>https://ashleemboyer.com/blog/why-i-m-converting-my-blog-and-portfolio-to-gatsby</link><guid isPermaLink="true">https://ashleemboyer.com/blog/why-i-m-converting-my-blog-and-portfolio-to-gatsby</guid><description>I just published my new sites less than 2 weeks ago. Yeah, we devs and designers tend to redo our sites a lot, but isn&apos;t this a bit excessive?</description><pubDate>Fri, 03 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Why, yes, I would love to be done with the set up of my sites so I could focus more on the side projects I want to post on my portfolio.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Didn&apos;t you&lt;/em&gt; just &lt;em&gt;&lt;a href=&quot;https://ashleemboyer.com/neither-you-nor-your-work-has-to-be-perfect&quot;&gt;post about perfectionism&lt;/a&gt; yesterday?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Sure did! But this is different. Software will forever be a road with many twists, turns, and hills. 😉&lt;/p&gt;
&lt;p&gt;In all seriousness, I hadn&apos;t tried Gatsby out before publishing the current Angular version of my sites. I finally gave in over this past weekend and decided to give it a go. It was SO. FUN. &lt;strong&gt;First of all&lt;/strong&gt;, their documentation is excellent. They explain things well enough that people with any level of coding experience can work out what to do.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Second of all&lt;/strong&gt;, the framework is just incredibly easy to use. Make some files in a well-named directory, and you have some magical pages. You can make pages &lt;em&gt;dynamically&lt;/em&gt; too, which is one of the reasons I&apos;m switching.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Finally&lt;/strong&gt;, it&apos;s just too easy to do everything you want using their plugins. For example, with the &lt;a href=&quot;https://www.gatsbyjs.org/packages/gatsby-plugin-react-helmet&quot;&gt;&lt;code&gt;gatsby-plugin-react-helmet&lt;/code&gt;&lt;/a&gt; plugin, you can handle SEO &lt;em&gt;and&lt;/em&gt; Open Graph metadata dynamically. Which means you can have cool Twitter cards with images when you share your posts in a tweet. Which blows my mind! &lt;em&gt;(Is this possible in Angular? Too late for me, but maybe someone else could use that knowledge.)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;And let&apos;s be honest, I just want to play around with Gatsby some more. You see a ton of people who use it for their blog sites, so I want to take that information and use it to challenge myself to make something that&apos;ll really stand out. 💪🏻&lt;/p&gt;
&lt;p&gt;So, what about you? Do you use Gatsby for your sites, or do you plan to? I&apos;d love to hear about your projects in the comments or &lt;a href=&quot;https://twitter.com/ashleemboyer&quot;&gt;on Twitter&lt;/a&gt;.&lt;/p&gt;
</content:encoded><category>gatsby</category><category>blogging</category><category>portfolios</category></item><item><title>Neither You nor Your Work Has to be Perfect</title><link>https://ashleemboyer.com/blog/neither-you-nor-your-work-has-to-be-perfect</link><guid isPermaLink="true">https://ashleemboyer.com/blog/neither-you-nor-your-work-has-to-be-perfect</guid><description>We all feel pressure to make things perfect, but don&apos;t let it crush you. There are alternatives we can work with.</description><pubDate>Thu, 02 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Let&apos;s face it: nothing you make will ever be absolutely perfect. Some people may not like the final product. Maybe you could remove a paragraph or two from your blog post or reword a few sentences. Your code could probably be refactored in a few different places. That drawing might look cleaner if you erase a couple of smudges.&lt;/p&gt;
&lt;p&gt;We all know what happens to projects once we start falling down these rabbit holes. &quot;I&apos;ll just spend a couple of minutes fixing this little thing,&quot; can turn into a few hours or longer if you&apos;re not careful. In my experience with code, it could take even longer because you might accidentally break something totally different while trying to clean up a few functions.&lt;/p&gt;
&lt;p&gt;Obviously, there&apos;s a time and a place for everything. Projects put you through various phases of pressure. Sometimes, you don&apos;t have the chance to make the code as beautiful as you want. Functionality is almost always more important because your client probably won&apos;t ever see your code. All they care about is that their product works well. So, when it comes time to punch, try not to worry too much about making the code perfect.&lt;/p&gt;
&lt;p&gt;Rather, make some quick notes about where the code needs some help and what you might to do make it better. Hopefully, you can go back later and make the improvements, but if that isn&apos;t the case, you can either pass those notes along to the next person or use them to explain what you learned about the project experience. People expect you to learn more than anything. They will value the experience you have to share.&lt;/p&gt;
</content:encoded><category>learning</category><category>perfectionism</category><category>self-care</category><category>mental-health</category></item><item><title>It&apos;s OK to Be Scared</title><link>https://ashleemboyer.com/blog/it-s-ok-to-be-scared</link><guid isPermaLink="true">https://ashleemboyer.com/blog/it-s-ok-to-be-scared</guid><description>The unknown is absolutely terrifying, probably because we can&apos;t control what we don&apos;t know. But that&apos;s OK.</description><pubDate>Wed, 01 May 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;em&gt;Originally written in late February 2019&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The unknown is absolutely terrifying, probably because we can&apos;t control what we don&apos;t know. But have you ever taken the time to think about how it feels to have all the information you need about something and still know you can&apos;t control it? It&apos;s terrifying &lt;em&gt;and&lt;/em&gt; infuriating.&lt;/p&gt;
&lt;p&gt;Next week is the beginning of a totally new challenge for me. I&apos;ll be taking a class ~2 hours away from my job, and I have to change my work schedule to accommodate for the commute. 4 days per week, I&apos;ll be working from 6am - 2pm and then traveling to a lecture that lasts less than an hour.&lt;/p&gt;
&lt;p&gt;Most of my fear about how the next 3 months will go has manifested as anger at the past. I think a lot about all the things that could and &lt;em&gt;should have&lt;/em&gt; gone differently for me. When I went to campus a few weeks ago in preparation for the term, I couldn&apos;t help but walk the hallways feeling sad for my younger self. She deserved so much better than she got at the time.&lt;/p&gt;
&lt;p&gt;Then I think about where I am now. I live with my best friend and the life we&apos;ve built together is something beyond I ever dreamed. We have a lovely home and handsome pup we share it with. The past year has involved so much growth in our relationship and I&apos;ve never connected with another human more.&lt;/p&gt;
&lt;p&gt;What if just one thing had gone differently while I was in college? Would I still be where I am? I probably wouldn&apos;t be the same person. All I know about right now is that am completely content with my life and my relationship with myself.&lt;/p&gt;
&lt;p&gt;It took a while for everything to feel OK. But it got there, and I made it too. I have arrived and I am resting for the next trip. Nearly a year of rest has given me the space to realize that it was definitely OK to be scared all those times.&lt;/p&gt;
&lt;p&gt;Fear keeps us moving, whether or not it&apos;s in the right direction. What&apos;s important is that we look at our surroundings periodically to make sure we&apos;re on the right track. When you see something scary looking you dead in the eyes, just keep faith that you &lt;em&gt;will&lt;/em&gt; be OK.&lt;/p&gt;
&lt;p&gt;Everything will turn out exactly as it should.&lt;/p&gt;
</content:encoded><category>self-care</category><category>mental-health</category></item><item><title>How to Identify Your Knowledge Gaps in Under an Hour</title><link>https://ashleemboyer.com/blog/how-to-identify-your-knowledge-gaps-in-under-an-hour</link><guid isPermaLink="true">https://ashleemboyer.com/blog/how-to-identify-your-knowledge-gaps-in-under-an-hour</guid><description>Whether you&apos;re looking to move up in your career or are simply interested in learning more about your field, finding the gaps in your knowledge is a lot easier than you think.</description><pubDate>Tue, 30 Apr 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;The vast knowledge of the tech world can be so overwhelming. People throw out buzzwords all the time on Twitter: Kubernetes, Rails, React, Angular, Elixir, etc. What are all of these things and how does everyone else know about them?&lt;/p&gt;
&lt;p&gt;If you&apos;re like me and don&apos;t know that many people in your area who are part of the same industry, it can be hard to figure out what frameworks everyone is hyping up through regular discussion. It doesn&apos;t have to be that hard, though. The internet is &lt;em&gt;right here&lt;/em&gt;! You might be wondering, &quot;But how am I supposed to know what words to Google for results about things I have no clue about?&quot;&lt;/p&gt;
&lt;p&gt;It&apos;s so easy, you already have the answer in your head. Just go over to a job search site (I&apos;m recommending &lt;a href=&quot;www.glassdoor.com&quot;&gt;Glassdoor&lt;/a&gt; because it helps you get a good idea of salaries and whether or not companies are credible), search for either your current job title or the one you&apos;re interested in getting, then grab some good job listings.&lt;/p&gt;
&lt;p&gt;You&apos;ll want to look at listings for positions that are higher than your current one. For example, being a junior-level front-end web developer, I might look at some senior-level positions. As another example, I&apos;m really interested in learning more about web UI/UX, but don&apos;t know any of the terminology or what jobs with that focus even look like. I might search for &quot;UX Researcher&quot;, &quot;UX Designer&quot;, or &quot;UX Intern&quot; in that case.&lt;/p&gt;
&lt;p&gt;Use all of these flashy and intimidating job listings to your benefit. The more buzzwords, the better. Also, don&apos;t be afraid to dream big. Who knows what you may come across?&lt;/p&gt;
</content:encoded><category>skills</category><category>job-search</category></item></channel></rss>