@PhoenixDev22
Posted
Hi Paula Rodrigues,
Congratulation on completing another frontend mentor challenge. Excellent work! I have some suggestions regarding your solution:
- Page should contain a level-one heading. To tackle the accessibility issues in this challenge , as it’s not a whole page, you can have
<h1>
visually hidden withsr-only
.
- What would happen when the user click those learn more? In my opinion, clicking those "learn more" would likely trigger navigation not do an action so button elements would not be right. So you should use the <a>. For future use , it's a good habit of specifying the type of the button to avoid any unpredictable bugs.
- In my opinion, the images are much likely to be decorative. For any decorative images, each img tag should have empty
alt=""
andaria-hidden="true"
attributes to make all web assistive technologies such as screen reader ignore those images.
- Add
border-radius
andoverflow hidden
to the main container that wraps the three cards so you don't have to setborder-radius
to individual corners.
- Adding
rel="noopener"
orrel="noreferrer"
totarget="_blank"
links. When you link to a page on another site usingtarget=”_blank”
attribute, you can expose your site to performance and security issues.
line-height: 25px
Use a unitless line-height value to Avoid unexpected results. You can read more in mdn
Hopefully this feedback helps.
Marked as helpful