DEV Community

NITIN YADAV
NITIN YADAV

Posted on

Make Your Website Accessible with a Single Attribute

Enhance accessibility by adding the aria-label attribute to interactive elements without visible text. This improves screen reader support and makes your site more inclusive.

<button aria-label="Close">✕</button>

Enter fullscreen mode Exit fullscreen mode

This tiny change can make a big difference. How do you ensure your site is accessible?

Top comments (0)