We can't leave before one final dev joke. Who won the debate for the best wearable? Say that again? I won! Thank you so much, everybody. You've been great. Thank you so much, Rudy. Would you like to take a seat? I promise not to hold you too long or ask too difficult questions, mainly because we're a little bit over time and people want their coffee.
But let's do the top-rated question here, which I think is a really good question and I don't know the answer to this. With alt attributes or ARIA labels, is there such thing as too much information? How do you decide what to actually put in? That's a great question. So I think one of the things and one of the most common mistakes people may make is especially if you're using semantic HTML like buttons, you may add a role to it. You could do that. Technically, it's not breaking anything, but it's just useless work to do. You don't need to do that if you're using semantic HTML, so. Yeah.
Great, that was so quick, let's do another one. There are many accessibility testing tools available. In your opinion, what's the best phase to test your code? Is it on the component level or is it on the end-to-end when it comes to accessibility? Oh, great question. I think both of them are really important, but at the end of the day, I think once your code lands in the hands of the users, it's very important to do accessibility testing there. You can make sure you have semantic HTML, your code looks great. But if it's not usable for the user and they can't access the information, I think it's worth for nothing. That's very true. And in my personal practice, I only do end-to-end testing for accessibility because I usually accessible component libraries that do their own testing on the primitive level. Pro tip. Use Radix.
All right. And then final question. How would we pitch accessible implementation to stakeholders? Is there some sort of argumentation that tends to work well? Oh, great question again. One thing that you can tell them that it's a legal requirement, so if they don't take care of it, they're going to have to pay for it, heavily. Another thing to remember is that, I don't know, if you have a use case experience from your own experience, if you have a use case from your own experience, but in my experience I've noticed that we build web applications and then finally we realize that it's not accessible, we go back and refactor the entire component. And that happened to me as well, and it wasted like a month of my time, so it's better to start accessibility from the get-go and design level itself instead of coming back to it and refactoring it. Wise words. And that's all we have time for. Thank you so much, Ruti, for your talk and the jokes. Thank you so much. I hope to hear some more later.
Comments