Post

💡 aria-label is cool but remember the first rule of ARIA: Do not use ARIA. When possible, consider using a native HTML element visually hidden with CSS (also known as ".sr-only"). Know more reasons why, in this article by @cferdinandi.bsky.social

gomakethings.comRevisting aria-label versus a visually hidden classLast week, I wrote about the [aria-label] attribute, and when you should use aria. In the posts, I recommended that, generally speaking, [aria-label] is the better choice when you want the text read a...

0 reposts5 likes

No replies yet.