huddle-landing-page-with-curved-sections-master
Design comparison
Solution retrospective
all feedback is welcomed
Community feedback
- @vanzasetiaPosted over 1 year ago
Hi there! 👋
All
<svg>
elements should havefocusable="false"
attribute to prevent them from getting focused.Make sure decorative images that are using inline SVG should have
aria-hidden="true"
to prevent them from getting pronounced by screen readers. Then, meaningful SVG should haverole="img"
and<title>
as to give alternative text.Learn more about SVG and images: Contextually Marking up accessible images and SVGs
For your information, decorative images are images that don't add any information and serve only aesthetic purposes.
Even better, I recommend using
<img>
elements that reference the SVGs. You only need to use inline SVG if you want to change its color.<a href="#"><button>Get Started For Free</button></a>
is invalid HTML. Choose either it should be a button or a link.For your information, anchor tags are for navigation. The
<button>
element is for an action like opening a modal, submitting a form, toggling an element, etc. It is essential to use the correct elements.If there is no heading tag inside a
<section>
or an<article>
, you should use<div>
instead.Use
<input>
element instead of<textarea>
for the email input.I hope this helps. Happy coding! 👍
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord