Design comparison
Solution retrospective
Any feedback will be appreciated ✌
Community feedback
- @tnamdevnotePosted 11 months ago
Great work! I think you nailed down the accessibility portion. One question that I have is, do you know what aria-controls in the button element used for? I saw that in ARIA guidelines as well but I couldn't really figure out what it actually does in terms of accessibility.
Marked as helpful1@lumiukoPosted 11 months ago@tnamdevnote Hey Luke, thanks!
The aria-controls attribute is mostly used for buttons. When a user interacts with a button that has aria-controls, it signals to assistive technologies which part of the content or UI is affected or triggered by that button. Screen readers can then convey this information to users, providing a clearer understanding of the relationship between the button and the controlled content.
1@tnamdevnotePosted 11 months ago@lumiuko Sweet! That make sense. Thanks for the explanation.
1
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