<?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: GLADWELL MUTHONI</title>
    <description>The latest articles on DEV Community by GLADWELL MUTHONI (@gladwell_wathuti).</description>
    <link>https://dev.to/gladwell_wathuti</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%2F4006840%2F89ff238d-e41a-439a-9592-536124a1a628.webp</url>
      <title>DEV Community: GLADWELL MUTHONI</title>
      <link>https://dev.to/gladwell_wathuti</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gladwell_wathuti"/>
    <language>en</language>
    <item>
      <title>Why Semantic HTML is a Superpower for Your Website.</title>
      <dc:creator>GLADWELL MUTHONI</dc:creator>
      <pubDate>Sun, 28 Jun 2026 18:23:54 +0000</pubDate>
      <link>https://dev.to/gladwell_wathuti/why-semantic-html-is-a-superpower-for-your-website-1hoh</link>
      <guid>https://dev.to/gladwell_wathuti/why-semantic-html-is-a-superpower-for-your-website-1hoh</guid>
      <description>&lt;p&gt;Why Semantic HTML is a Superpower for Your Website&lt;/p&gt;

&lt;p&gt;As I’ve been building my personal portfolio during the IYF Season 11 program, I realized that writing code is about more than just making things look "right"—it’s about making them accessible for everyone. The secret is Semantic HTML.&lt;/p&gt;

&lt;p&gt;What is Semantic HTML?&lt;/p&gt;

&lt;p&gt;Semantic HTML uses tags that provide meaning to the web page rather than just layout instructions. Tags like &lt;/p&gt;, , , , and  tell the browser and screen readers exactly what content they are interacting with.

&lt;p&gt;If you use &lt;/p&gt; for everything, you are handing a screen reader a blank map. Semantic tags act like a GPS, allowing users with visual impairments to navigate your site efficiently.

&lt;p&gt;Before vs. After&lt;/p&gt;

&lt;p&gt;The difference is clear when comparing structure:&lt;/p&gt;

&lt;p&gt;Before (Non-Semantic):&lt;/p&gt;

&lt;p&gt;HTML&lt;/p&gt;

&lt;p&gt;My Portfolio&lt;/p&gt;

&lt;p&gt;Home | About | Contact&lt;/p&gt;

&lt;p&gt;Welcome to my site...&lt;/p&gt;

&lt;p&gt;After (Semantic):&lt;/p&gt;

&lt;p&gt;HTML&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Home&lt;/li&gt;
&lt;li&gt;About&lt;/li&gt;
&lt;li&gt;Contact&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Welcome to my site...&lt;/p&gt;


&lt;p&gt;Fixing Accessibility Issues&lt;/p&gt;

&lt;p&gt;During my accessibility audit (Task 2.3), I identified three key areas to improve:&lt;/p&gt;

&lt;p&gt;Missing alt Attributes: I had images without descriptions. I fixed this by adding context, such as alt="Portrait of Gladwell Muthoni, web development student", ensuring screen readers can describe images to visually impaired users.&lt;/p&gt;

&lt;p&gt;Lack of Semantic Structure: My initial gallery relied on generic containers. Switching to &lt;/p&gt; and  tags organized my project list logically, helping assistive technology categorize the content.

&lt;p&gt;Heading Hierarchy: I was using &lt;/p&gt;
&lt;h3&gt; tags for visual styling rather than logical structure. I corrected this to follow a strict &lt;/h3&gt;
&lt;h1&gt; to &lt;/h1&gt;
&lt;h2&gt; hierarchy, which helps screen readers outline the page properly.&lt;/h2&gt;


&lt;p&gt;My portfolios URL&lt;/p&gt;

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



</description>
      <category>coding</category>
      <category>css</category>
      <category>html</category>
      <category>a11y</category>
    </item>
  </channel>
</rss>
