<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anastasiia Rudych on Medium]]></title>
        <description><![CDATA[Stories by Anastasiia Rudych on Medium]]></description>
        <link>https://medium.com/@anastasijkar?source=rss-19c0e086a625------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*s48-97qXMwiKExiy3HP2hw.jpeg</url>
            <title>Stories by Anastasiia Rudych on Medium</title>
            <link>https://medium.com/@anastasijkar?source=rss-19c0e086a625------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 15:20:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anastasijkar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Make Accessibility Great Again: Fair web experience for people with disabilities]]></title>
            <link>https://medium.com/@anastasijkar/make-accessibility-great-again-fair-web-experience-for-people-with-disabilities-8033856b68d0?source=rss-19c0e086a625------2</link>
            <guid isPermaLink="false">https://medium.com/p/8033856b68d0</guid>
            <category><![CDATA[accessibility]]></category>
            <category><![CDATA[wcag]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Anastasiia Rudych]]></dc:creator>
            <pubDate>Sat, 13 Jun 2020 13:12:15 GMT</pubDate>
            <atom:updated>2020-06-13T13:23:42.737Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="A woman wearing black framed glasses, sitting in a wheelchair and using a laptop." src="https://cdn-images-1.medium.com/max/1024/1*cVDf-0Fq0oKl3moCcj3mxw.jpeg" /><figcaption>Photo by <a href="https://www.pexels.com/@marcus-aurelius?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels">Marcus Aurelius</a> from <a href="https://www.pexels.com/photo/photo-of-woman-using-laptop-4063619/?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels">Pexels</a></figcaption></figure><p>What comes to mind first, when the topic of web accessibility arises? Well, despite common stereotype, <em>accessibility</em> — it’s not only about making a webpage available for screen readers. In fact, there are much wider range of constant or temporary disabilities, and people who have them are daily internet users too. Official accessibility guidelines for web are now regulated by WCAG 2.1 standard, which can be found on <a href="https://w3.org/">w3.org</a> website.</p><p>In this article I collected important points, each frontend developer should remember to make the web a better place for everyone.</p><h3>Color Contrast</h3><p>People with low vision can be uncomfortable with reading text, which does not contrast well with the background.</p><blockquote>According to the WCAG recommendation, <strong>contrast should be kept at the ratio 4.5:1</strong> — this is the general rule. For headings or large text it can be 3:1.</blockquote><p>To check, if two colours match this criterion, you can use various online tools, for example: <a href="http://juicystudio.com/services/luminositycontrastratio.php.">http://juicystudio.com/services/luminositycontrastratio.php.</a> However, this rule is related more to important content or defining parts of user interface, but not for elements, which have just a decorative role. Also there are no contrast requirements for logotypes.</p><p>There is also another approach — you can allow users to view your website in separate high-contrast mode. This is commonly used by governmental websites (you can check an <a href="https://www.intercity.pl/">example</a>). Of course, this approach requires writing additional css, but may be useful, if you don’t feel like changing the initial colour scheme of your design a lot.</p><h3>Flashing &amp; Blinking</h3><p>You should be careful when coming up with animations, which are used to shift user’s attention quickly, and keep them not too aggressive, let’s say. This can be uncomfortable and even dangerous for people with certain disabilities. For people with diseases like epilepsy, fast flashing effects can even cause a seizure. So, as it’s mentioned in standard, there are two things to know:</p><blockquote>First — blinking or flashing <strong>animation shouldn’t blink faster than 3 times in a second</strong>. Second — for any visual effect of such kind, which lasts more than 5 seconds, <strong>there should be a mechanism for the user to pause it</strong>.</blockquote><h3>Pinch to zoom</h3><p>Sometimes changing the scale of a webpage can unexpectedly break the styling. Another bunch of CSS bugs to fix, right? It may seem very tempting to put maximum-scale=1.0 in the viewport meta tag, but keep in mind that there are some people who will definitely need to be able to enlarge the website contents.</p><p>Also, better not to use user-scalable=no. Some people use browsers with a built-in zoom feature, and this attribute will disable zoom setting.</p><h3>Large touch targets</h3><p>Actually, trying to click or tap a very small interactive element can be annoying for everyone. And for people, who have motor control issues, it can ruin a good user experience even more. Therefore, another point to remember is to keep such elements as buttons, links or inputs large enough.</p><blockquote>Official recommendation says that the interactive area of <strong>any important clickable element should be not less than 44 x 44 pixels</strong>. Please note that <strong>interactive area and element’s size aren’t the same thing!</strong></blockquote><p>If in the HTML markup the button is presented as a div with a text element inside, make sure to keep the whole block reacting to the click event. But there are exceptions for this rule, of course: for example, if the link comes as part of a text.</p><h3>Screen readers</h3><p>Screen readers, used by people with sight issues, should be the most well-known within devices, which provide special accessibility features. A screen reader represents webpage content as speech or Braille, and we need to keep in mind, that content here is not just a text — but all the menus, icons and other important elements.</p><blockquote>HTML semantics is a big topic, and one of the beneficial ones, when talking about accessibility. For example, placing proper headings on pages can help a screen reader users to quickly understand, where on the website did they land.</blockquote><p>alt attribute for &lt;img /&gt; tag is sometimes understood by developers like “alternative text, which is shown in case something went wrong with a picture”. In fact this is only one side of its usage.</p><blockquote>In means of accessibility, content of alt is where the screen reader goes to tell a user about what this image displays. Therefore, when adding this attribute, <strong>try to compose it as a short description and keep it suitable to overall context</strong>. <strong>And don’t start </strong><strong>alt contents like “Picture of…” </strong>—<strong> the screen reading device is able to identify an element as an image,</strong> and will let the user know by itself.</blockquote><p>If an image had purely decorative purpose — just keep alt empty (though, you still need to add this attribute to keep the markup valid).</p><p>Similar rule applies to audio or video content — a person with sight issues simply won’t have access to this part of a webpage, unless it has a caption or subtitles are available.</p><blockquote><strong>For displaying so-called synched text tracks, files with WebVTT (Web Video Text Tracks) files are commonly used</strong>. Such file, containing audio or video descriptions separated by timecode, can be attached to corresponding media elements using &lt;track&gt; tag<strong>.</strong></blockquote><h3>Keyboard navigation</h3><p>Some people are using their computers only with the help of a keyboard interface. And it’s not even only about permanent disabilities. For example, having an arm injury it may be impossible to use a mouse.</p><p>Navigating through a webpage using a TAB key is possible in modern browsers by default: focus will be put on elements in a consecutive order, according to the source code. You can affect this behaviour by setting tabindex numbers in your HTML, or set it to tabindex: -1 for these elements, which aren’t significant enough to be focused on.</p><blockquote>When navigating by tab index, the browser puts an outline on a focused element. Even though default outline styles may make your webpage look not like you wanted it to look, make sure to <strong>not use </strong><strong>outline: none — it can make keyboard navigation impossible at all. Better play with </strong><strong><em>outline-style</em> and </strong><strong><em>outline-color</em></strong>— and make them fit the design.</blockquote><h3>Text readability</h3><p>No, this is not about contrast level between text and background colours again. In this section we talk about making the meaning of text comprehensive enough. People with cognitive disabilities can experience difficulties when reading text on the internet: struggles can be caused by such factors as use of complicated words (with 3 or more syllables), very long sentences, etc. So, to keep your content comprehensible, you need to know the target audience of the website.</p><blockquote>If you are not sure about how to determine your audience correctly, then <strong>write your content to be understandable for young teenagers, i.e. 12–15 years old.</strong></blockquote><p>Though, it may be quite hard to look at the text from others perspective. For this purpose you can use online test tools (for example, <a href="https://www.webfx.com/tools/read-able/).">https://www.webfx.com/tools/read-able/).</a> These tools can analyse contents of a website via url or direct input. It uses several algorithms to determine readability indices. To give you some more understanding what these values mean, for example, Gunning-Fog Score 6 will correspond to an average TV Show or The Bible, or 20 — to academic papers. For sure, if you are curious — you can find more detailed definitions of these on the web.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8033856b68d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>