@DavidCasanova83
Posted
Hey, very good job ! Your design matches perfectly ā ā
Some tips about web accessibility :
Use HTML5 semantic tags to improve the document structure.
-
Image Container:
- Replace
<div class="image-container">
with<figure class="image-container">
and add a caption if needed using<figcaption>
.
- Replace
-
Header:
- Add a
<header>
tag to group the title and description of the recipe.
- Add a
-
Sections:
- Use
<section>
for different parts such as ingredients, instructions, and nutritional information.
- Use
Ensure that your CSS colors provide good contrast for visually impaired users. Use tools like the Colour Contrast Analyser to check the contrast.
Add ARIA elements to improve navigation with screen readers. For example, use aria-label
or aria-labelledby
for important sections.
Ensure that links have descriptive text to clearly indicate their destination.
- For example, replace "Coded by Jesse Gile" with "Coded by Jesse Gile - Visit my website" to be more explicit.
Marked as helpful
@jessegile
Posted
@DavidCasanova83 Thanks! I refactored with your suggestions.