Accessible, Semantic HTML Website Requirements

Add these requirements when asking ChatGPT to generate a website, to encourage semantic, accessible, maintainable code.

Виктория | Сайты через ИИ Republished on Oct 11 0 Bookmarks 0 Copies
Bookmark 0

Prompt template

Format
Text
Outputs
Website_code (code)
When generating a website, use semantic HTML5 elements such as <header>, <main>, <section>, and <footer>. Maintain a logical heading hierarchy from H1 to H3, and add an aria-label attribute to every icon and button. Produce clean code that is ready for further development and supports search engines and screen readers.

What you'll create

A website brief specifies HTML5 landmarks, H1-to-H3 hierarchy and accessible labels, aiming for clean code suitable for further development.

Frequently asked questions

Which page landmarks are named?

The source lists header, main, section and footer elements.

Comments

Tried this prompt? Share what you made, compare results, or ask a question

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each