<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Purity Komer</title>
    <description>The latest articles on DEV Community by Purity Komer (@purity_komer_95557f0323a2).</description>
    <link>https://dev.to/purity_komer_95557f0323a2</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4000746%2F78aea658-2957-4c2d-b4be-24c62ad380a0.png</url>
      <title>DEV Community: Purity Komer</title>
      <link>https://dev.to/purity_komer_95557f0323a2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/purity_komer_95557f0323a2"/>
    <language>en</language>
    <item>
      <title>why Semantic Html and Accessibility Matter</title>
      <dc:creator>Purity Komer</dc:creator>
      <pubDate>Wed, 24 Jun 2026 15:08:43 +0000</pubDate>
      <link>https://dev.to/purity_komer_95557f0323a2/why-semantic-html-and-accessibility-matter-5co3</link>
      <guid>https://dev.to/purity_komer_95557f0323a2/why-semantic-html-and-accessibility-matter-5co3</guid>
      <description>&lt;h2&gt;
  
  
  Why Semantic HTML and Accessibility Matter
&lt;/h2&gt;

&lt;p&gt;Initially, when I was learning web development, I aimed to create aesthetically pleasing sites. But with time, I realized that an aesthetically pleasing site needs to be accessible and user-friendly to everybody, even to the differently abled people. That’s where the need arises for semantic HTML and accessibility.&lt;br&gt;
Semantic HTML means using HTML tags that clearly describe their purpose. Instead of using many &lt;/p&gt; tags, we can use tags like , , , and . These tags help browsers, search engines, and screen readers understand the structure of a webpage.

&lt;h2&gt;
  
  
  Before: Non-Semantic HTML
&lt;/h2&gt;


&lt;h1&gt;My Portfolio&lt;/h1&gt;

&lt;p&gt;About&lt;br&gt;
  Projects&lt;/p&gt;

&lt;h3&gt;
  
  
  After: Semantic HTML
&lt;/h3&gt;


&lt;h1&gt;My Portfolio&lt;/h1&gt;

&lt;p&gt;About&lt;br&gt;
  Projects&lt;/p&gt;

&lt;p&gt;The second example is easier to understand and makes the website more accessible.&lt;br&gt;
While checking my portfolio website, I found a few accessibility issues and fixed them.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Missing Image Descriptions&lt;br&gt;
Some images did not have alternative text (alt). Screen readers use this text to describe images to users.&lt;br&gt;
Before&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/profile.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/profile.jpg" width="800" height="400"&gt;&lt;/a&gt;&lt;br&gt;
After&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/profile.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/profile.jpg" alt="Profile photo of the website owner" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Poor Heading Structure**&lt;br&gt;
There were also some issues with headings being out of order. This may be confusing for people who use screen readers.&lt;br&gt;
I fixed this by using headings in the correct order, such as &lt;/p&gt;
&lt;h1&gt;, &lt;/h1&gt;
&lt;h2&gt;, and &lt;/h2&gt;
&lt;h3&gt;.&lt;/h3&gt;

&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Keyboard Navigation**&lt;br&gt;
Some elements on the website were not accessible through the keyboard alone. I ensured that all the links and buttons were accessible by using the Tab key.&lt;br&gt;
All these improvements increased the accessibility of my website, making it more user-friendly.&lt;br&gt;
Semantic HTML and accessibility are important because they allow us to build websites that are understandable, easy to maintain, and accessible to everyone. In all future projects, accessibility will be an integral part of my web development journey.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://github.com/pkomer/iyf-s11-week-01-pkomer" rel="noopener noreferrer"&gt;https://github.com/pkomer/iyf-s11-week-01-pkomer&lt;/a&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>a11y</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
