Design comparison
Solution retrospective
Any feedback on updating any part of the solution will be appreciated.
Community feedback
- @grace-snowPosted about 3 years ago
Hi
I think the accessibility of this is actually pretty good. You just need to
- sort out that sr-only class
- and add hover and focus-visible styles to the interactive elements
In your styles I suggest adding a max width in rem rather than %. Then you wouldn’t need to change as much in media queries.
Also, I’m not sure you understand the difference between em and rem(?) Be very careful with how much you are using em. As those sizes can inherit from their parent you could get some unintended consequences, especially in larger projects. Using rem may be more consistent and then em would be useful when you intentionally want a size to inherit from the parent’s font size. It’s just an idea though, lots of people prefer using em and that’s ok as long as you are aware of the potential downsides.
Good luck
0
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