semantic-html

Replace non-semantic div wrappers with semantic HTML elements in JSX and static pages.

3|1|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/ncaq/konoka --skill semantic-html-ncaq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: semantic-html
Source: https://github.com/ncaq/konoka/tree/main/plugins/web-tasuke/skills/semantic-html
Command: npx skills add https://github.com/ncaq/konoka --skill semantic-html-ncaq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing markup with non-semantic wrappers like divs can hinder accessibility and make maintenance harder. Semantic HTML provides clear roles and structure that assistive technology and humans can understand.

Core Features & Use Cases

  • Use semantic elements such as main, article, section, header, footer, nav, and aside to convey meaning and improve accessibility.
  • Improve code readability and component composition in JSX/HTML for React, web components, and static pages.
  • Audit and refactor existing markup to replace non-semantic wrappers with appropriate elements, improving SEO and user experience.

Quick Start

Replace non-semantic div wrappers with the appropriate semantic elements (for example, replace a page header group with header and a main content area with main).

Frequently Asked Questions about semantic-html

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replace div wrappers with semantic HTML for better accessibility?

To replace div wrappers with semantic HTML, apply elements like main, header, nav, section, article, aside, and footer to convey meaning. This improves accessibility, SEO, and code maintainability for assistive technologies and humans.

Why does writing non-semantic markup hinder accessibility and maintenance?

Writing non-semantic markup hinders accessibility because div wrappers lack clear roles for assistive technology to understand. Semantic HTML solves this by providing meaningful structure that improves readability, user experience, and component composition.

Can I use semantic HTML elements to refactor existing React JSX components?

Yes, you can use semantic HTML elements to refactor existing React JSX components. Auditing and replacing non-semantic div wrappers with appropriate elements improves code readability, component composition, and accessibility across web components and static pages.

What is the best way to structure a web page using semantic elements?

The best way to structure a web page using semantic elements is replacing generic wrappers with header for page groups, main for content areas, and nav, section, article, aside, or footer to ensure meaningful structure and better SEO.

Does improving HTML accessibility affect SEO and code readability?

Improving HTML accessibility directly affects SEO and code readability by applying semantic elements. Replacing non-semantic div wrappers with meaningful tags ensures clear roles that assistive technology, search engines, and human developers can easily understand.