{"id":7566,"date":"2025-04-02T14:01:00","date_gmt":"2025-04-02T12:01:00","guid":{"rendered":"https:\/\/blog.bart.sk\/en\/?p=7566"},"modified":"2025-08-06T09:07:05","modified_gmt":"2025-08-06T07:07:05","slug":"how-we-made-the-dr-max-prescription-website-more-accessible-and-what-you-can-learn-from-it","status":"publish","type":"post","link":"https:\/\/blog.bart.sk\/en\/how-we-made-the-dr-max-prescription-website-more-accessible-and-what-you-can-learn-from-it\/","title":{"rendered":"How We Made the Dr.Max Prescription Website More Accessible \u2013 And What You Can Learn From It"},"content":{"rendered":"\n<p>Web accessibility isn&#8217;t just about checking legal boxes \u2013 it&#8217;s about making sure everyone, regardless of their abilities, can use digital content without barriers. Creating an accessible site is a challenge, but also an opportunity to show your users that you truly care.<\/p>\n\n\n\n<p>In this blog, we&#8217;ll walk you through how we improved accessibility on one of our health-related platforms, what tools we used, and which best practices you can apply to your own projects to make them more inclusive and user-friendly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why accessibility matters \u2013 and why it should matter to you<\/strong><\/h2>\n\n\n\n<p>An accessible website can be used by people with visual, hearing, physical, or cognitive impairments. Starting in June 2025, accessibility won&#8217;t just be best practice \u2013 it will be legally required under the European Accessibility Act (EAA). You can read more about that in our <a href=\"https:\/\/blog.bart.sk\/en\/web-accessibility-as-the-new-standard-what-awaits-you-starting-june-28-2025\/\">blog<\/a> dedicated to the topic.<\/p>\n\n\n\n<p>For this project, we focused on a website where accessibility truly matters \u2013&nbsp;<a href=\"https:\/\/drmaxnapredpis.sk\/\">drmaxnapredpis.sk<\/a>. Health-related platforms must be accessible to everyone, especially older users or people with disabilities who rely on digital access to vital information.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Accessibility in action<\/strong><\/h2>\n\n\n\n<p>It all started with an accessibility audit. This gave us a clear picture of where we needed to improve and pointed us toward the first concrete steps. We focused on four key areas: semantic HTML structure, keyboard navigation, ARIA attributes, and color contrast.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Semantic HTML structure<\/strong><\/h3>\n\n\n\n<p>First, we improved the HTML structure to make it more meaningful \u2013 not just for users, but also for assistive technologies like screen readers. We used semantic HTML5 tags to improve context and help both users and search engines better understand the content.<\/p>\n\n\n\n<p><strong>How to do it:<\/strong><\/p>\n\n\n\n<ul>\n<li>Replace generic&nbsp;<code>&lt;div&gt;<\/code>&nbsp;and&nbsp;<code>&lt;span&gt;<\/code>&nbsp;tags with semantic HTML5 tags like&nbsp;<code>&lt;header&gt;<\/code>,&nbsp;<code>&lt;nav&gt;<\/code>,&nbsp;<code>&lt;main&gt;<\/code>,&nbsp;<code>&lt;article&gt;<\/code>, or&nbsp;<code>&lt;footer&gt;<\/code>&nbsp;based on content type.<\/li>\n\n\n\n<li>Ensure each page has a single&nbsp;<code>&lt;h1&gt;<\/code>&nbsp;followed by logical heading levels (<code>&lt;h2&gt;<\/code>,&nbsp;<code>&lt;h3&gt;<\/code>, etc.).<\/li>\n\n\n\n<li>Use&nbsp;<code>&lt;label&gt;<\/code>&nbsp;tags with the&nbsp;<code>for<\/code>&nbsp;attribute in forms for clarity.<\/li>\n<\/ul>\n\n\n\n<p>These changes create a clearer structure and enhance the experience for users relying on assistive tools.<\/p>\n\n\n\n<p>\u274c\u00a0<strong> Before:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1092\" height=\"768\" src=\"https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon.png\" alt=\"\" class=\"wp-image-7570\" srcset=\"https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon.png 1092w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-300x211.png 300w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-768x540.png 768w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-512x360.png 512w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-1024x720.png 1024w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-920x647.png 920w\" sizes=\"(max-width: 1092px) 100vw, 1092px\" \/><\/figure>\n\n\n\n<p>\u2705\u00a0 <strong>After:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"774\" src=\"https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-3.png\" alt=\"\" class=\"wp-image-7567\" srcset=\"https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-3.png 708w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-3-274x300.png 274w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-3-512x560.png 512w\" sizes=\"(max-width: 708px) 100vw, 708px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. ARIA attributes<\/strong><\/h3>\n\n\n\n<p>Dynamic elements like modals and dropdowns can be difficult for screen readers to interpret. ARIA attributes add extra layers of meaning that standard HTML doesn\u2019t provide.<\/p>\n\n\n\n<p><strong>How to do it:<\/strong><\/p>\n\n\n\n<ul>\n<li>Use&nbsp;<code>role=\"navigation\"<\/code>&nbsp;or&nbsp;<code>&lt;nav&gt;<\/code>&nbsp;to define main navigation.<\/li>\n\n\n\n<li>Add&nbsp;<code>aria-live=\"polite\"<\/code>&nbsp;to notify users about dynamic changes (like updates in the shopping cart).<\/li>\n\n\n\n<li>Use&nbsp;<code>aria-expanded<\/code>&nbsp;and&nbsp;<code>aria-hidden<\/code>&nbsp;to indicate whether elements are visible or collapsed.<\/li>\n\n\n\n<li>When clarity is needed, add\u00a0<code>aria-label<\/code>\u00a0for a more descriptive label.<\/li>\n<\/ul>\n\n\n\n<p>\u274c\u00a0<strong> Before:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"414\" src=\"https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-4.png\" alt=\"\" class=\"wp-image-7568\" srcset=\"https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-4.png 1080w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-4-300x115.png 300w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-4-768x294.png 768w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-4-512x196.png 512w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-4-1024x393.png 1024w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-4-920x353.png 920w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><\/figure>\n\n\n\n<p>\u2705\u00a0 <strong>After:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1736\" height=\"666\" src=\"https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-5.png\" alt=\"\" class=\"wp-image-7569\" srcset=\"https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-5.png 1736w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-5-300x115.png 300w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-5-768x295.png 768w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-5-1536x589.png 1536w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-5-512x196.png 512w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-5-1024x393.png 1024w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-5-920x353.png 920w, https:\/\/blog.bart.sk\/en\/wp-content\/uploads\/2025\/03\/carbon-5-1600x614.png 1600w\" sizes=\"(max-width: 1736px) 100vw, 1736px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Keyboard usability<\/strong><\/h3>\n\n\n\n<p>Keyboard navigation is essential for users who can&#8217;t use a mouse. Ensuring that all interactive elements are accessible via the keyboard greatly improves usability.<\/p>\n\n\n\n<p><strong>How to do it:<\/strong><\/p>\n\n\n\n<ul>\n<li>Make sure all interactive elements (buttons, links, form fields) are reachable with the TAB key. Use proper tags or&nbsp;<code>tabindex<\/code>&nbsp;as needed.<\/li>\n\n\n\n<li>For modals, shift focus to the modal when it opens, and back to the page when it closes. Use JavaScript to keep the focus contained within the modal.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. Color contrast<\/strong><\/h3>\n\n\n\n<p>Strong color contrast is crucial for users with low vision or color blindness. If the contrast is too weak, content becomes hard to read and navigate.<\/p>\n\n\n\n<p><strong>How to do it:<\/strong><\/p>\n\n\n\n<ul>\n<li>Maintain a minimum contrast ratio of 4.5:1 (WCAG 2.2 AA standard).<\/li>\n\n\n\n<li>Avoid pastel or low-saturation color combinations.<\/li>\n\n\n\n<li>Visually differentiate links and buttons on hover.<\/li>\n\n\n\n<li>Keep text sizes readable \u2013 at least between 9px and 12px.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. Testing matters<\/strong><\/h3>\n\n\n\n<p>To ensure that our changes actually worked, we tested them using several tools. Here are the ones that helped us the most:<\/p>\n\n\n\n<ul>\n<li><a href=\"https:\/\/www.mozilla.org\/en-US\/firefox\/new\/\"><strong>Firefox Accessibility Inspector:<\/strong>\u00a0<\/a>A fast and easy way to check accessibility directly in the browser.<\/li>\n\n\n\n<li><strong><a href=\"https:\/\/chromewebstore.google.com\/detail\/aria-devtools\/dneemiigcbbgbdjlcdjjnianlikimpck\">ARIA DevTools:<\/a><\/strong>\u00a0Offers a view of your site structure from the ARIA perspective.<\/li>\n\n\n\n<li><a href=\"https:\/\/chromewebstore.google.com\/detail\/silktide-accessibility-ch\/mpobacholfblmnpnfbiomjkecoojakah\"><strong>Silktide:<\/strong>\u00a0<\/a>A comprehensive tool covering everything from color contrast to section structure.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Accessibility is a journey, not a destination<\/strong><\/h2>\n\n\n\n<p>Improving the Dr.Max prescription website taught us that accessibility isn\u2019t a one-time task \u2013 it\u2019s a continuous process. From semantics to testing, every step brought us closer to a website that truly serves everyone. We see accessibility as a core part of building high-quality digital products, and we\u2019ll continue integrating it into all our projects to make sure they&#8217;re usable and inclusive by design.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ: Web Accessibility in Practice<\/h2>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>What does it mean for a website to be accessible?<\/summary>\n<p>An accessible website is one that can be used by everyone \u2014 including people with visual, auditory, physical, or cognitive disabilities. It includes proper HTML structure, keyboard navigation, readable color contrast, and well-implemented ARIA attributes.<\/p>\n<\/details>\n\n<details class=\"wp-block-details\"><summary>Why should I care about accessibility if I don\u2019t work in the public sector?<\/summary>\n<p>Starting June 2025, the European Accessibility Act (EAA) will apply to many commercial websites \u2014 including e-commerce, banking, and healthcare portals. Accessibility also improves UX and expands your reach to a wider audience.<\/p>\n<\/details>\n\n<details class=\"wp-block-details\"><summary>What are the first steps to improve accessibility on my website?<\/summary>\n<p>Start with an accessibility audit to identify critical issues. Then focus on improving semantic HTML, enabling full keyboard navigation, enhancing color contrast, and adding ARIA attributes for dynamic elements like modals or dropdowns.<\/p>\n<\/details>\n\n<details class=\"wp-block-details\"><summary>What tools can I use to test accessibility?<\/summary>\n<p>Commonly used tools include Firefox Accessibility Inspector, ARIA DevTools, Silktide, and axe DevTools. Each one helps detect different accessibility issues \u2014 from structure to contrast to dynamic behavior.<\/p>\n<\/details>\n\n<details class=\"wp-block-details\"><summary>What if I don\u2019t have an accessibility expert on my team?<\/summary>\n<p>Start with small improvements \u2014 clear HTML structure, tab navigation, and visible contrast already make a big difference. You can also rely on external audits or consultations to set a good foundation for your team.<\/p>\n<\/details>\n","protected":false},"excerpt":{"rendered":"Web accessibility isn&#8217;t just about checking legal boxes \u2013 it&#8217;s about making sure everyone, regardless of their abilities,&hellip;","protected":false},"author":51,"featured_media":7571,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":""},"categories":[199],"tags":[802,811,809,806,810,804,801,807,330,590,805,800,803,808,215,604,592],"_links":{"self":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7566"}],"collection":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/users\/51"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/comments?post=7566"}],"version-history":[{"count":2,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7566\/revisions"}],"predecessor-version":[{"id":7632,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7566\/revisions\/7632"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/media\/7571"}],"wp:attachment":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/media?parent=7566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/categories?post=7566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/tags?post=7566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}